Skip to content

feat(box): prove KVM MicroVM Live filesystem continuity (v2) - #301

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/kvm-live-filesystem-v2
Sep 10, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/kvm-live-filesystem-v2

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Bumps a3s.box.linux-kvm-live-session to v2: upload via public Box transfer_file before Host Service SIGKILL, exact download after Live reopen on the same MicroVM generation (retained_filesystem_proven).
  • Keeps retained-stream proof + kvm_microvm_live_claimed from v1.
  • Keeps b2_process_session_recovery_closed=false and fixture_stream_continuity_claimed=false; does not flip cutover / HostRuntimeService registration.
  • Existing-host WSL2 /dev/kvm greened on OCI 61f77712… (KVM Live FS chore(oci): bump pin to 019b2d2 and requalify Linux KVM MicroVM #289): report SHA-256 1f8cede9c5906b915a067d8347ede99ceb647b3eb93408610daca7c0ea5f758f.

Test plan

  • cargo build example
  • linux-kvm-live-session-qualification.sh on WSL2 /dev/kvm
  • verify-linux-kvm-live-session-report.py
  • Merge without waiting on CI (local evidence only)

Extend linux-kvm-live-session-qualification to upload before Host Service
SIGKILL and download exact bytes after Live reopen on the same MicroVM
generation (retained_filesystem_proven). Schema a3s.box.linux-kvm-live-session.v2.
Keeps b2_process_session_recovery_closed and fixture continuity false; does
not flip cutover. WSL2 /dev/kvm greened on OCI 61f77712 (report SHA-256
1f8cede9c5906b915a067d8347ede99ceb647b3eb93408610daca7c0ea5f758f).
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 5f74b5c into main Sep 10, 2026
4 of 7 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/kvm-live-filesystem-v2 branch September 10, 2026 16:13
ZhiXiao-Lin added a commit that referenced this pull request Sep 10, 2026
ZhiXiao-Lin added a commit that referenced this pull request Sep 10, 2026
ZhiXiao-Lin added a commit that referenced this pull request Sep 11, 2026
* fix(ci): live-session cleanup + keyed-exec retries on v4

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]>

* docs(changelog): note live-session cleanup and keyed-exec retries

Co-authored-by: Cursor <[email protected]>

* style: rustfmt live-session qualification examples

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]>

* style: rustfmt KVM live-session after #301 filesystem path

Co-authored-by: Cursor <[email protected]>

* fix(ci): restore +x on live-session qualification scripts

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]>

* docs(changelog): note restored live-session script +x

Co-authored-by: Cursor <[email protected]>

* fix(ci): restore matched-cred live-session harness for v4

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]>

* fix(live-session): retry keyed exec with same request_id

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]>

* style: rustfmt oci_session watchdog disarm on Exit

Co-authored-by: Cursor <[email protected]>

---------

Co-authored-by: Cursor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant