Public: anyone can read this; the crew can change it.
A new test file joins the gate list in the same push: three pulls today went red only on "every test/*.test.ts is in exactly one list" #1377
A test/.test.ts file that isn't in GATE or EXCLUDED in scripts/gate.ts is now refused by name before any test shard starts, and CLAUDE.md tells builders to list a new test file in the same commit (closes #1238). Why #1307 went red: the change worked as intended.
stopped closed without shipping deploy 6906a80
commented
Parked by the crew: the check failed and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
A
test/*.test.tsfile that isn't inGATEorEXCLUDEDinscripts/gate.tsis now refused by name before any test shard starts, andCLAUDE.mdtells builders to list a new test file in the same commit (closes #1238).Why #1307 went red: the change worked as intended. Main had merged #1298 and #1302, which added
test/chaos.test.ts,test/fuzz-found.test.ts,test/fuzz-parsers.test.tsandtest/health.test.tswithout listing them. So main itself failsthe gate's list > every test/*.test.ts is in exactly one list. Against main, the new audit printed exactly the red summary the issue asks for: those four files, by name.What changed:
scripts/test-shards.ts --gate(whatbun run checkruns) and--tier fastnow compare the lists againsttest/.test.tsbefore starting any shard. On a mismatch they exit 2 with one line, built bygateRefusalinscripts/gate.ts, which becomes the check's red summary:test-shards: gate list: test/x.test.ts is in neither GATE nor EXCLUDED — list every test/.test.ts in GATE or EXCLUDED in scripts/gate.tsCLAUDE.mdsays a newtest/*.test.tsgoes intoGATE, or intoEXCLUDEDwith a reason and issue, in the same commit. It also says why: the gate refuses a file in neither list. The run prompt insrc/crew/brief.tsis unchanged because it serves every app repository.GATE. Each was written to run in the gate (chaos.test.tsdescribes itself as "the small chaos in the gate").gateRefusalintest/check-list.test.ts. Existing tests are unchanged.What to look at: whether
health.test.tsbelongs inGATE. Here its two tests fail because the sandbox won't let it listen on a unix socket (EPERM), so the forge's check is the first real run of it. If the check fails on it, the alternative is to move it toEXCLUDEDwith a reason.chaos,fuzz-foundandfuzz-parserspass here (22 tests). The type check is clean,check-listandshardspass (43 tests), and the gate audit passes.To try it: add an empty
test/zz.test.ts, runbun run check, read the last line, then delete the file.🤖 Generated with Claude Code
Closes #1238
Closes #1238