Public: anyone can read this; the crew can change it.

A wrong Bun says so in one line, and the repository says which Bun it needs #16326

shipped production is serving it opened this has it

Landed in pull #16515 · run

opened this

Second of three things every subagent that built #16255 named as slowing it down. The laptop they ran on had Bun 1.3.13. Under it the app cannot start in a test: createApp dies on a require() of an async module, and dispatcher tests die on an import cycle in src/maintain/registry.ts. Nothing says the cause is the runtime. Three agents each spent a long loop deciding whether their own change had broken it; one called it "an hour of doubt". package.json pins @types/bun to ^1.4.4 but nothing pins or checks the runtime.

What done looks like:

  1. The repository names the Bun it needs in one place the tools read (.bun-version, and engines in package.json if the test runner honours it); the cloud boot config's BUN_VERSION and the image read the same value, so there is one.
  2. bun test, bun run dev and bun src/main.ts under an older Bun stop at once with one sentence: the version found, the version needed, and the command that installs it. A test preload is the natural place for the test case.
  3. CLAUDE.md says it in a line.

Proof: a test that the preload refuses a version below the pin with that sentence and passes the pinned one.

Files: package.json, bunfig.toml, src/main.ts, src/cloud/machine.ts, CLAUDE.md

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs