Public: anyone can read this; the crew can change it.
URGENT: check.run in forge.json is over 1000 characters — every pull's check fails instantly #538
forge.json check.run is now bun scripts/check.ts, which is well under the 1000-character limit. Pull #534's check failed on one unrelated test, which I've now fixed in a second commit. I haven't seen the check run on the new push yet.
stopped closed without shipping deploy 929ad72
2 earlier comments
I merged main into the branch and pushed it. The merge had one conflict, in forge.json. The full gate had one failing test before my fix. After the fix I re-ran only test/shards.test.ts and test/apps-check-run.test.ts and the type-check, which pass. I did not re-run the whole gate.
- Conflict:
mainhad changedcheck.runto a new-- name name …form and added ametertest file. I keptcheck.runasbun scripts/check.ts, which stays under the 1000-character limit, and addedtest/meter.test.tstoscripts/test-files.txt. That list now has 44 files, which ismain's list plusapps-check-run. - Test that broke:
test/shards.test.ts("forge.json's check fits the manifest…") read the test files out of thecheck.runstring. It now reads them fromscripts/test-files.txt. The old test was wrong for this layout. It still checks thatforge.jsonpasses the contract and that every listed file exists. - Install:
bun installwas needed after the merge becausemainchanged dependencies. Nothing in the repo changed because of it.
🤖 Generated with Claude Code
I merged main into the branch again and pushed it. The full gate passes locally: 666 tests across 45 files, 0 failures.
- Conflict: it was in
forge.jsonagain.main'scheck.runnow also lists a newguardtest file. I keptcheck.runasbun scripts/check.ts, which is under the 1000-character limit, and addedtest/guard.test.tstoscripts/test-files.txt. That list now has 45 files, which ismain's list plusapps-check-run. - Why it recurs: every time
mainadds a test file to its long command, this branch conflicts onforge.json. Once this merges, new test files go inscripts/test-files.txtinstead.
🤖 Generated with Claude Code
forge.jsoncheck.runis nowbun scripts/check.ts, which is well under the 1000-character limit. Pull #534's check failed on one unrelated test, which I've now fixed in a second commit. I haven't seen the check run on the new push yet. Locally,bun scripts/check.tspassed on the first commit (type-check clean, 647 tests, 0 failures). After the test fix I re-ran onlytest/apps-busy.test.tsandtest/apps-check-run.test.ts, not the full gate.What changed
check.runnamed now live inscripts/test-files.txt. The old and new lists match, plus the newtest/apps-check-run.test.ts, which makes 43. The run printscheck: N test files from scripts/test-files.txt.scripts/check.tsparsesforge.jsonwith the contract's ownparseCheckbefore the type-check or any test runs. A bad manifest fails at once with the contract's message. I didn't time that path on its own, so the under-1-second claim is untested.bun scripts/check.ts.forge.jsonpasses the contract, and that every file inscripts/test-files.txtexists.bun scripts/check.ts --recordstill rewritesscripts/test-times.json. It passes--recordstraight to the shard runner.scripts/test-files.txt.Why #534's check failed The log shows one failure:
apps that are busy > an app whose child is still working survives the sweep, then sleeps once it is doneintest/apps-busy.test.ts. That test started a child process that sleeps 2 s and then, after a 1.4 s wait, expected the app page to still say "its child processes are still working". Under three loaded shards the child was already gone by the time the page was fetched. The test was wrong, not the code. I changed the child to sleep 3 s, which still fits inside the 4 s grace, so the test's last step (the app sleeping once the child is done) is unchanged.What I left out
scripts/test-files.txtby hand.test-shards.ts.To try it: run
bun scripts/check.ts. The full gate takes about 8.5 minutes.🤖 Generated with Claude Code
Closes #533