Skip to content

feat(practical): add build-endpoints-workers on a stock create-hono Workers fixture - #43

Merged
yusukebe merged 1 commit into
mainfrom
feat/practical-workers-fixture
Sep 8, 2026
Merged

yusukebe merged 1 commit into
mainfrom
feat/practical-workers-fixture

Conversation

@yusukebe

@yusukebe yusukebe commented Sep 8, 2026

Copy link
Copy Markdown
Member

Every existing fixture has only a typecheck script, so an agent never has a dev server to start — across 100 runs this week none did, and the failure mode the Hono CLI was built for (start wrangler dev in the foreground to verify, never get the shell back) could not appear.

This adds hono-workers, the create-hono cloudflare-workers template as-is (npm run dev = wrangler dev, no typecheck script, no AGENTS.md; only typescript added so the hidden typecheck can run), and build-endpoints-workers, the same users CRUD task on it. Measured before merging (n=5): Haiku baseline ran npm run dev & sleep 3 as its second command in 5/5 runs and hung until the timeout (0/5), cli+skill 5/5 in 24–37s with no server; Sonnet 5 baseline 4/5 but 6–12 server-wrangling commands per run (port hopping, pkill, nohup), cli+skill 5/5 in 14–28s.

Note for local runs: baseline agents may pkill -f wrangler, which also kills any wrangler dev you have open.

  • Add tests
  • Run tests
  • pnpm format && pnpm lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

…orkers fixture

Every existing fixture has only a typecheck script, so an agent never has a dev server to start; across 100 runs this week none did. On the create-hono Workers template as-is (npm run dev = wrangler dev, no typecheck script, no AGENTS.md) Haiku baseline ran npm run dev on its second command in 5/5 runs and hung until the timeout (0/5), while cli+skill passed 5/5 in about 30 seconds; Sonnet 5 baseline passed 4/5 but spent 6-12 commands per run wrestling wrangler. This is the failure mode the CLI was built for, measured for the first time.
@yusukebe
yusukebe merged commit 3dc16f9 into main Sep 8, 2026
1 check passed
@yusukebe
yusukebe deleted the feat/practical-workers-fixture branch September 8, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant