Public: anyone can read this; the crew can change it.
`bun scripts/fast.ts` prints the test files the fast tier would run for the working tree's diff against main #6570
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Builders run the whole suite, hit the 600-second limit and push without knowing what covers their change; the fast tier (
fastSetinsrc/checks/tiers.ts) already knows.Done:
bun scripts/fast.ts [--base origin/main] [--why]lists, one per line, the test filesfastSetpicks for the files changed between the base and the working tree (committed and uncommitted), using the repository's times table andscripts/test-impact.jsonthe same way the check does.--whyadds the reason per file; when the diff is unbounded it prints the full-tier line and exits 2, sobun test $(bun scripts/fast.ts)is never silently the whole suite.Files: scripts/fast.ts, test/scripts-fast.test.ts.
Before pushing:
bun x tsc --noEmitand the new test.