Public: anyone can read this; the crew can change it.
Full suite red: 2 files in check run 01m7z50tjdm594x64bmfw5zr2z #15321
Check · Review · Land · Live done — Landed and live in production.
I added test/red-on-main.test.ts and test/scripts-fast.test.ts to SLOW in scripts/gate.ts, each with its reason and #15319, instead of speeding the tests up. The change is pushed. Both files were red only for the 2 s per-test budget.
shipped production is serving it deploy 3fede26
Two slow files (test/red-on-main.test.ts, test/scripts-fast.test.ts) join the SLOW list in scripts/gate.ts, each with a measured reason and issue 15319. This follows the existing pattern, touches only the gate list, and serves the pipeline-first direction (#1242, time budget per test and file). Both files exist and the issue matches. No page or terminal surface, so the preview does not apply. Next: (1) make these two tests faster by using a smaller scratch repo or fewer spawns, so the entries can be removed; (2) have the gate fail when a SLOW entry names a file that no longer exists, if it does not already.
I added
test/red-on-main.test.tsandtest/scripts-fast.test.tstoSLOWinscripts/gate.ts, each with its reason and #15319, instead of speeding the tests up. The change is pushed.Both files were red only for the 2 s per-test budget. Run alone here, all 21 of their tests passed. The slow work is inherent:
red-on-main.test.ts: its slow test runstest-shards.tsend to end in a scratch git repository, and the check reported it at 6.4 s.scripts-fast.test.ts: its slow test runsscripts/fast.tsagainst scratch repositories, spawning git and bun, at 2.7 s.The issue also lists the 6.42 s "README-only pull" test under
scripts-fast.test.ts, but that test lives inred-on-main.test.ts. I took it as a misattribution and listed only the slow test I found inscripts-fast.test.ts.I ran
bun scripts/gate.ts --fixandbun x tsc --noEmit, both clean. I also rantest/gate.test.tsandtest/red-on-main.test.ts, which pass. I did not runtest/scripts-fast.test.tsafter the edit; it was in the earlier 21-test run, before the change. The forge's check runs the full suite on the push.To try it:
bun test test/gate.test.tschecks that theSLOWlist is valid, andbun test test/red-on-main.test.tsruns the 6.4 s test.Closes #15319