Repository navigation
fix(ci): live-session cleanup + keyed-exec retries on v4 - #300
Conversation
2708add to
816c6a0
Compare
|
Rebased onto main after #301 (KVM Live filesystem v2) so cleanup/retry lands cleanly on the current tip. |
816c6a0 to
8fe4dc4
Compare
Port the post-#297 honesty fixes onto main after Native Live filesystem v4: tear down live-session host owners and elevate leftovers in Verify cleanup, and retry keyed captured exec Unavailable with distinct request ids. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Unblock Format on the cleanup/retry PR; includes main's KVM example rustfmt debt that cargo fmt --check already fails on. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Main lost 100755 after filesystem merges; Sandbox failed closed with missing executable elevate-linux-sandbox-owner.sh before the v4 gate ran. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Filesystem merge elevated the whole example and dropped probe-cgroup migrate, staged launcher, and $ORIGIN/lib. That fails closed on cgroup v2 delegation. Restore the greened #297 harness path while keeping the v4 filesystem gate. Co-authored-by: Cursor <[email protected]>
a15a1d8 to
535a2ef
Compare
|
Root cause on tip The filesystem v4 merge had replaced the greened #297 harness ( Restored that harness on tip after rebase onto main ( |
Orphan {id}.retry-N process journals left active_operation claims that
blocked generation delete after Live reopen. Same-key retries reconcile
the partial prepare-exec journal instead. Also disarm the exec timeout
watchdog when Exit is observed.
Co-authored-by: Cursor <[email protected]>
Root cause (first principles)x86 v4 report failed at generation delete with process That process id hashes to Keyed-exec retries were minting Fix (
|
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
* fix(live-session): same-request_id keyed-exec retry on KVM Port Native #300 Unavailable retries to the KVM harness so partial prepare-exec journals reconcile instead of orphaning active_operation claims. Disarm the exec timeout watchdog when wait_process observes a terminal status, and CI-enforce script +x plus retry-identity parity. Co-authored-by: Cursor <[email protected]> * fix(oci_session): preserve TIMED_OUT when disarming watchdog Only compare-exchange WAITING to FINISHED so timeout kills still publish the legacy stderr notice expected by captured_exec_timeout tests. Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]>
Summary
Test plan
scripts/verify-linux-native-live-session-report.pyretained_stream_handle_proven+retained_filesystem_proventrue; B2/fixture/utility false