fabro/lib/apps/fabro-server
Bryan Helmkamp c264a3567c
Settle the managed run as soon as its terminal record is stored
The in-process Petri path persisted the run's terminal lifecycle
record, settled the projector, aggregated usage, and only then settled
the managed run. GET /runs/{id} reads the stored summary, so it reported
the run as ended while the delete precheck, which prefers the managed
run, still saw it running and refused the delete as active. The prune
scenario hit that window about once in thirty runs. Settle the managed
run right after the record is stored, before the view catches up.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 18:56:48 -04:00
..
src Settle the managed run as soon as its terminal record is stored 2026-09-19 18:56:48 -04:00
tests Delete a run's sandboxes through Petri's lease ledger 2026-09-19 14:54:03 -04:00
build.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
Cargo.toml Delete fabro-sandbox 2026-09-19 13:57:30 -04:00