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

The probe verdicts and an app's wake from sleep are the same every run: probe, probes and apps-sleep leave the quarantine #11084

shipped production is serving it opened this has it
opened this

Intent: three suites red alone under --randomize for timing, not order: make the verdict deterministic and the wake bounded. Split from #11049.

Done:

  • [x] test/probe.test.ts "a scaffolded app obeys every cell" and test/probes.test.ts "the first clean probe after closes the issue" pass with an injected clock or a fake prober, not wall time
  • [x] test/apps-sleep.test.ts "an environment nobody asks for sleeps, and the next request wakes it" finishes under 10 s (today it times out at 30 s): sleep and wake are driven by a seam, not a real idle wait
  • [x] each passes three times in a row under bun test --randomize <file>; their EXCLUDED entries are gone from scripts/gate.ts
  • [x] if the fix shows a real bug in src/, the fix is in this pull with its test

Files: test/probe.test.ts, test/probes.test.ts, test/apps-sleep.test.ts, at most one seam in the module each tests, scripts/gate.ts Suits: torque

commented

Reviewed pull #11095 at its head: ticked test/probe.test.ts "a scaffolded app obeys every cell" and test/probes.test.ts "the first clean probe after closes the issue" pass with an injected clock or a fake prober, not wall time; test/apps-sleep.test.ts "an environment nobody asks for sleeps, and the next request wakes it" finishes under 10 s (today it times out at 30 s): sleep and wake are driven by a seam, not a real idle wait; each passes three times in a row under bun test --randomize <file>; their EXCLUDED entries are gone from scripts/gate.ts; if the fix shows a real bug in src/, the fix is in this pull with its test.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs