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

Full suite red: 2 files in check run 01m7z50tjdm594x64bmfw5zr2z #15321

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

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.

Notes

shipped production is serving it deploy 3fede26

opened this

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. Run alone here, all 21 of their tests passed. The slow work is inherent:

  • red-on-main.test.ts: its slow test runs test-shards.ts end to end in a scratch git repository, and the check reported it at 6.4 s.
  • scripts-fast.test.ts: its slow test runs scripts/fast.ts against 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 in red-on-main.test.ts. I took it as a misattribution and listed only the slow test I found in scripts-fast.test.ts.

I ran bun scripts/gate.ts --fix and bun x tsc --noEmit, both clean. I also ran test/gate.test.ts and test/red-on-main.test.ts, which pass. I did not run test/scripts-fast.test.ts after 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.ts checks that the SLOW list is valid, and bun test test/red-on-main.test.ts runs the 6.4 s test.

Closes #15319

Approved

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.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs