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

test/prompts.test.ts and test/snapshot-destination.test.ts pass in any order and run in the gate #11097

shipped production is serving it opened this has it

Landed in pull #11100 · run

opened this

Intent: both files pass in file order but are red under bun test --randomize (2026-11-10, found on #11085), so they stay in scripts/gate.ts EXCLUDED.

  • test/prompts.test.ts: 11-12 of 23 fail under --randomize (a Reel id, a removed prompt, 404s where the settings page and API expected 200/403): tests read rows earlier tests made.
  • test/snapshot-destination.test.ts: 2 of 7 fail under --randomize ("precedence: sealed over the directory over the environment", "the service follows a saved or cleared destination without a restart"): a destination one test saves is still there for the next.

Done:

Files: test/prompts.test.ts, test/snapshot-destination.test.ts, scripts/gate.ts

commented

Reviewed pull #11100 at its head: ticked each test makes the state it reads; bun scripts/flake-hunt.ts admit <file> is ten green for both, and their EXCLUDED entries are deleted.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs