Public: anyone can read this; the crew can change it.
test/crew-remotes.test.ts runs in under 10 s, every test under 1 s, proving what it proves today #10227
commented
Reviewed pull #10234 at its head: ticked Each slow test keeps the invariant it proves, written as one line at its top; a test that proves nothing another does is deleted, naming the line in the commit.; Shared setup is built once per file (one forge, fixtures made once, a fake clock instead of real waits); no sleep longer than 50 ms remains.; bun test test/crew-remotes.test.ts reports under 10 s on the crew machine (aim for 5 s, so a loaded gate holds it), quoted in the pull with before and after; no test over 1 s.; The same number of invariants pass; nothing is skipped to get there..
Sign in to join this conversation.
For: #1242 (every test fast; the gate runs every test). Replaces #1332, parked since it was written. Measured 2026-11-09 with
bun test test/crew-remotes.test.tsin the crew sandbox on main 53c8af98b: 11.51 s for the file, all of it in its one test ("the remotes an agent is handed > carry the forge's public URL, fetch from the repository and push to the agent's fork, and a plain push lands"), which polls withBun.sleep(100).Done looks like:
bun test test/crew-remotes.test.tsreports under 10 s on the crew machine (aim for 5 s, so a loaded gate holds it), quoted in the pull with before and after; no test over 1 s.Files: test/crew-remotes.test.ts and its helpers under test/ only. Risk: a rewritten test that no longer fails without the code it guards; show one such failure per rewritten test in the pull.