Public: anyone can read this; the crew can change it.
Fast test/highlight.test.ts: chop and rewrite under the budget (1 s a test, 10 s a file) #1344
commented
Dropped: test/highlight.test.ts now runs in 1.3 s alone (bun test, crew machine, 2026-11-09), well under the 10 s budget, and the gate no longer keeps a SLOW list that names this issue. Files still over budget are #10212–#10216.
Sign in to join this conversation.
Part of #1242.
test/highlight.test.tstook 3.5 s alone (spawn to exit) in the fast check run 01m4v94pk641ne5hzw5cntvwr1 on the gate box, with 1 test over 1 s:It sits in
SLOWinscripts/gate.tswith this issue beside it, so the gate's time budget does not turn it red meanwhile.Chop and rewrite, not trim (the owner, on #1242):
beforeAll; noBun.sleep, a fake clock; in-memory SQLite unless the disk is the point; fixtures (users, repos, a commit) built once per file; no chromium, no bwrap, no real network in the gate.NIGHTLYinscripts/gate.ts, with its reason.Done: the gate's
scripts/test-times.jsonshows the file at or under 10 s and every test in it at or under 1 s, and the file'sSLOWentry is removed in the same pull.