bun test v1.4.4 (38afee6c8)

student-tests/runtime-preparation.test.ts:
(pass) canonical runtime invokes its build exactly once [0.20ms]
(pass) checked cache verifies existing runtime without an implicit build [0.04ms]
(pass) failed cache verification preserves its error and never falls back to a build [0.07ms]
(pass) unknown runtime mode fails before either operational port [0.20ms]
(pass) constructor requires both explicit ports [0.03ms]

student-tests/browser-lifecycle.test.ts:
(pass) newPage rejection closes the already acquired context exactly once [0.21ms]
(pass) listener setup failure closes the already acquired context exactly once [0.04ms]
(pass) normal browser work returns its result and closes exactly once [0.03ms]
(pass) cleanup failure is separately reported without replacing the primary error [0.03ms]
(pass) cleanup failure after successful work remains a failure [0.02ms]
(pass) missing ports reject before any browser can be acquired [0.02ms]

student-tests/sealed-shutdown.test.ts:
(pass) fresh running processes with post-seal cause and exit prove all three shutdowns [1.76ms]
(pass) unrelated restart without freshness cause cannot pass sealed acceptance [0.12ms]
(pass) old pre-seal events cannot explain a later unrelated restart [0.23ms]
(pass) future cause events are not accepted [0.23ms]
(pass) cause event alone does not prove process exit or restart [0.16ms]
(pass) malformed baseline freshness fails before seal [0.24ms]
(pass) future baseline freshness fails before seal [0.01ms]
(pass) stale baseline freshness fails before seal [0.02ms]
(pass) all baseline processes must be running before seal [0.04ms]
(pass) freshness read I/O error preserves its primary identity and never seals [0.05ms]
(pass) baseline ages are rechecked after reads immediately before sealing [0.03ms]
(pass) a replaced container cannot satisfy the original process baseline [0.15ms]

student-tests/failover-proof.test.ts:
(pass) read current receipt contents and bind its stopped replica to the current attempt baseline [0.15ms]
(pass) reject old operation receipt even when a file exists [0.04ms]
(pass) reject foreign attempt receipt even when a file exists
(pass) reject wrong alias receipt even when a file exists
(pass) reject wrong container receipt even when a file exists
(pass) reject still running receipt even when a file exists
(pass) reject not initially running receipt even when a file exists
(pass) reject foreign service receipt even when a file exists
(pass) missing receipt preserves reader error instead of accepting older stable files [0.04ms]
(pass) required read port has no live filesystem fallback [0.01ms]

 33 pass
 0 fail
 56 expect() calls
Ran 33 tests across 4 files. [22.00ms]
