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

The studio suites depend on test order: 7-12 tests fail under every --randomize seed #2063

shipped production is serving it opened this has it

Landed in pull #2069 · 2 runs · run

opened this

Found while splitting test/studio.test.ts for #2038. The file as it was on main (before the split) fails 7 to 12 tests under bun test --randomize --seed=N for every seed tried (11, 22, 33, 44, 55, 66); in declared order it is green. The tests lean on what an earlier test in the same describe made (a pull, a deploy, a run). The split carried them verbatim, so the same tests now sit in:

  • test/studio-door.test.ts: "every open pull's preview on the studio page", "the app's live fragment: /:owner/:name/app/state"
  • test/studio-runs.test.ts: "the app's page tails the deploy that is bringing it alive", "a tell nobody on the crew can take is not quiet", "a deploy that just landed is news on the front door"
  • test/studio-shipping.test.ts: "previewLatency: the median seconds from push to serving", "the studio's own words for how fast a change reaches its preview"
  • test/studio.test.ts: "the studio > ship lands a change; say tells the crew"

Done: each of these describes seeds what its tests read in its own beforeAll / beforeEach (or each test seeds its own), and bun scripts/flake-hunt.ts admit is 10/10 green for each file.

the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs