Public: anyone can read this; the crew can change it.
Check time under 2 minutes for a typical pull: Bun-native affected tests, real timings, split the two slowest files, fast git and SQLite in tests #2038
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Probe 2026-10-16: check median 697 s, p90 1307 s; scripts/test-times.json times 52 of 385 test files (the rest weigh by bytes); test/studio.test.ts 196.9 s and test/apps-adversarial.test.ts 145.9 s set the floor of any full run (one file per process); SHARDS_MAX = 8 while the cell has 16 CPUs. Bun 1.3.13 (our version) has
bun test --changed=<ref>(only tests that import a changed file),--parallel[=N],--isolate,--shard=i/n(verified with bun test --help;--timingsis NOT in 1.3.13).Done, measured before/after on this repo in the pull:
bun test --changed=$FORGE_CHECK_BASEwith our impact map on the last 50 pulls; use whichever picks the smaller set that never missed a red the full gate found (non-import triggers - fixtures, forge.json, scripts/, bun.lock - stay run-all).bun scripts/test-shards.ts --recordon the vxrail; commit the full table (every file timed).git clone --localinstead of init+commit per test.Database.deserialize(db.serialize())per test; synchronous=OFF, journal_mode=MEMORY except the durability tests.