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

The gate every push is judged by runs 23 of the repository's 113 test files #410

Closed opened this
Closed without merging

The check's file list is now every test/.test.ts minus an explicit EXCLUDED list in scripts/gate.ts, and forge.json names no test file. The forge check on this pull hasn't run yet, so I can't give its time.

Notes

stopped closed without shipping deploy 8d4adab

opened this

The check's file list is now every test/*.test.ts minus an explicit EXCLUDED list in scripts/gate.ts, and forge.json names no test file. The forge check on this pull hasn't run yet, so I can't give its time. Locally the full suite took 11m48s in three shards (the brief expected about 3 minutes; the check's timeout is 1800s).

  • The list: scripts/gate.ts holds EXCLUDED. Each row is a test file that fails when run alone, with a one-line reason ending in the open issue that owns it. That's the brief's table (#290–#294), plus test/prompts.test.ts.
  • The runner: scripts/test-shards.ts (from #306) runs the gate's list when it is given no file names; named files still run on their own. check.run is now bun x tsc --noEmit && bun scripts/test-shards.ts --timeout 60000. There is one runner: #304's own sharding in scripts/suite.ts and its tests are gone, and scripts/shards.ts is untouched (#307).
  • Guard tests: test/check-list.test.ts fails the check if:
    • a test file is neither in the gate nor excluded;
    • an exclusion has no reason, or its reason doesn't end in (#N);
    • an excluded file doesn't exist, or is listed twice;
    • check.run names a test file.
  • README (Develop section): says what the gate runs, how to put a file back (the pull that fixes its issue deletes that file's row), and that a red file someone else owns gets its own row and a new issue.
  • New exclusion, #408: test/prompts.test.ts (from #330) has 4 tests that fail on their own. The test says the token was pasted 2026-09-28, but its age seems to be counted from the real date, so it went red as time passed. I opened #408 for it and did not fix it here.

This branch began at #304's head, which was far behind main. Its first commit is a merge that takes main's tree as it is, so it drops #304's other changes, not only scripts/suite.ts. Nothing was force-pushed.

Local run (main at bc947db): 1902 tests across 144 files, 8 failed:

  • prompts: 4, as above.
  • origins-security-provider: 1. It fails in my sandbox even when run alone, because of localhost and 127.0.0.1 on loopback. It passed in #304's run on the forge, so it stays in the gate.
  • contract and diff-edge-cases: 1 each. They miss a 200 ms time limit only when shards run side by side (212 ms and 282 ms) and pass alone.
  • scaffold: 1. It ran before bun install had added @types/bun and passes alone. A forge machine under the same load could fail the timing ones; if any of these go red there, they get a row and an issue in this pull, as the brief says.

No red test was edited.

To try it: bun run check, or bun test test/check-list.test.ts. To see a guard fire, add an EXCLUDED row whose file doesn't exist or whose reason has no issue number.

🤖 Generated with Claude Code

Closes #261

commented

Parked by the crew: the check failed and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs