Public: anyone can read this; the crew can change it.
test/studio-runs.test.ts and test/studio-shipping.test.ts are split by concept so no test file is over 800 lines #14011
Reviewed pull #14012 at its head: ticked Each file is split into files of one concept each, none over 800 lines, sharing fixtures through one helper module rather than copies.; The same tests run: the count of tests before and after is equal, stated in the pull.; Each new file is listed in scripts/gate.ts (or found by its discovery) in the same commit.; scripts/test-times.json is refreshed only if the repo's own tooling does that on a split.; bun test passes, and no test is weakened to pass..
Sign in to join this conversation.
new above
offline
Intent: the two largest test files (2,503 and 2,191 lines) are slow to shard and conflict on every change near them; per-file budgets and the gate list work best on small files.
Done:
Files: test/studio-runs.test.ts, test/studio-shipping.test.ts, test/helpers/*, scripts/gate.ts.
Risks: shared module state between tests that only passed in one file's order; fixtures that own ports or paths and now collide when files run in parallel. Give each file its own fixtures.
Brief: a builder; one pull.