Running as unit: run-p3141220-i28055114.scope; invocation ID: 0e70d098ddc949e6ac47850cbee85c37
bun test v1.4.4 (38afee6c8)

student-tests/incident-readback.test.ts:
(pass) recognizes firing while the same accepted backlog is recovering after process start [0.33ms]
(pass) accepts firing during worker stop and requires the complete owned late-job cohort [0.04ms]
(pass) rejects an unrelated later alert or timely successful workload [0.03ms]
(pass) queue drain needs actual finite samples rather than empty NoData [0.06ms]

student-tests/grafana-credential.test.ts:
(pass) archives and verifies a new owner credential before publishing the runtime file [0.26ms]
(pass) does not publish a credential when encrypted archival fails [0.13ms]
(pass) preserves the existing owner and archives it without rotating or rewriting [0.07ms]

student-tests/openobserve-bootstrap.test.ts:
(pass) first received credential survives a second account creation failure [0.50ms]
(pass) resume reuses one persisted credential instead of repeating its account POST [0.09ms]
(pass) resume recovers a valid captured response without repeating account POST [0.12ms]
(pass) uncertain intent without recoverable native JSON fails closed without POST retry [0.10ms]
(pass) stale search token401 prevents derived publication and successful continuation [0.16ms]
(pass) unavailable ingest503 prevents derived publication and successful continuation [0.03ms]
(pass) rotation401 is not the required403 denial prevents derived publication and successful continuation [0.02ms]
(pass) healthy initial bootstrap checkpoints ingest before starting query creation [0.08ms]
(pass) healthy saved index revalidates both native identities without new account POST [0.05ms]

student-tests/grafana-scheduler.test.ts:
(pass) rejects actual provisioning failure1s under native13.3.1 scheduler10s [0.11ms]
(pass) rejects zero and nonmultiple intervals before native startup [0.05ms]
(pass) accepts native10s and its20s multiple [0.04ms]

student-tests/openobserve-account-http.test.ts:
(pass) malformed one-time response is captured before JSON decoding fails [2.32ms]
(pass) partial response is retained as uncertain when body reading fails [0.16ms]
(pass) oversized response retains bounded available bytes before reporting its cap [0.20ms]
(pass) network failure records uncertain request without retry [0.11ms]
(pass) valid response is captured before it is returned to the create caller [0.13ms]

student-tests/grafana-provisioning.test.ts:
(pass) accepts the actual configured dashboard and exact rule UID set [0.19ms]
(pass) rejects empty or mismatched dashboard payload despite successful HTTP status [0.06ms]
(pass) rejects absent, duplicated or wrong rule UIDs even when counts match [0.03ms]

student-tests/owned-fault.test.ts:
(pass) restores the acquired owned lease after successful exercise [0.15ms]
(pass) restores owned lease even when its mutation or traffic fails [0.11ms]
(pass) preserves primary failure separately from failed restoration [0.11ms]
(pass) does not restore anything when ownership acquisition fails [0.06ms]

student-tests/browser-lifecycle.test.ts:
(pass) context setup rejection closes the acquired owned browser [0.31ms]
(pass) page setup rejection closes the acquired owned browser [0.05ms]
(pass) result-write rejection still closes and remains the primary failure [0.09ms]
(pass) work failure survives simultaneous result-write failure [0.07ms]
(pass) primary failure survives close and secondary-reporter failures [0.07ms]
(pass) close failure after success remains a separately reported failure [0.06ms]
(pass) acquisition failure does not close a nonexistent browser [0.05ms]
(pass) missing required ports fail before acquisition [0.03ms]
(pass) thrown undefined is preserved when cleanup also fails [0.08ms]
(pass) successful work closes before reporting and returns its value [0.05ms]

 41 pass
 0 fail
 136 expect() calls
Ran 41 tests across 8 files. [13.00ms]
