Public: anyone can read this; the crew can change it.

test/crew-feedback.test.ts runs under 10 s #3603

shipped production is serving it opened this has it
opened this

For: a fast, honest suite (#1242). scripts/test-times.json records test/crew-feedback.test.ts at 11.0 s. It is the last file over the 10 s budget that has no open issue.

Done:

  • [ ] bun test test/crew-feedback.test.ts finishes under 10 s and every test in it under 1 s. scripts/test-times.json records the new time.
  • [ ] No assertion is weakened or removed. If the slow part is a whole describe block, it may move unchanged to its own test file instead (scripts/gate.ts discovers it).
  • [ ] The pull lists the five slowest tests, with their times before and after.

Files: test/crew-feedback.test.ts, scripts/test-times.json, and a new test file if a block moves. Do not change src/: the last attempt at this kind of issue failed its check on a src/ seam. Risk: a faster test that proves less. Run it ten times in a row, all green, before pushing.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs