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:
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.
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.
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.
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:
createAppdies on arequire()of an async module, and dispatcher tests die on an import cycle insrc/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.jsonpins@types/bunto ^1.4.4 but nothing pins or checks the runtime.What done looks like:
.bun-version, andenginesin package.json if the test runner honours it); the cloud boot config'sBUN_VERSIONand the image read the same value, so there is one.bun test,bun run devandbun src/main.tsunder 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.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