fabro/lib
Bryan Helmkamp fdf5141917
Wait for the terminal lifecycle record before reading the cancelled run
The detached cancel test waited for the run's status to read `failed`
and then asserted on the stored `run.lifecycle` record. The projection
concludes the run from Petri's `run.finished` coordinator record, and
the worker stores the platform's terminal lifecycle record a moment
later, so the read raced the write and the assertion failed about once
in thirty runs. Wait for the record itself, and print the stored events
and the run state when the assertion fails.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 18:31:49 -04:00
..
apps Wait for the terminal lifecycle record before reading the cancelled run 2026-09-19 18:31:49 -04:00
components Fix the gate findings in the prune change 2026-09-19 15:02:20 -04:00
foundation Merge remote-tracking branch 'origin/main' into petri-integration 2026-09-19 15:25:20 -04:00
packages/fabro-api-client Forward every configured sandbox plugin to the Petri worker 2026-09-19 14:45:42 -04:00