Recover incomplete session exports through durable runtime jobs

This commit is contained in:
2026-10-20 16:28:14 +01:00
parent 6841cdd2a4
commit a049b552f6
14 changed files with 960 additions and 20 deletions
+6
View File
@@ -898,3 +898,9 @@ command is `repair_session_export` with `run_id` and `export_sequence`; the repl
is a run detail containing each visit's `session_export_repairs`. CLI JSON emits
the repair record with explicit completeness `status`, and incomplete repair
exits nonzero. Recovery still depends on upstream session availability.
Incomplete native stage-session exports also recover automatically after the
run settles: up to three durable runtime attempts, with backoff and restart-safe
leases. `inspect RUN_ID --json` includes each visit's `session_export_recovery`
status/attempt count/diagnostic and preserved `session_export_repairs`. Exhausted
automatic recovery remains a warning; manual versioned repair is still available.