Skip to content

feat(cli): SandboxViaOci host-rootfs commit without guest socket - #471

Merged
ZhiXiao-Lin merged 2 commits into
mainfrom
feat/b3-sandbox-host-commit
Sep 17, 2026
Merged

ZhiXiao-Lin merged 2 commits into
mainfrom
feat/b3-sandbox-host-commit

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Running Linux SandboxViaOci boxes select LiveHostRootfs commit mode and walk the prepared host rootfs with OCI UID/GID mappings (same path as managed filesystem snapshots).
  • Optional --pause uses managed pause/resume after dropping the CLI lifecycle lock so generation fencing stays single-owner.
  • CHANGELOG is honest: does not close ROADMAP B3 or claim MicroVM/Windows commit changes.

Test plan

  • cargo test -p a3s-box-cli --lib commands::commit (Windows host; new cfg(not(windows)) mode-selection tests run on Linux CI)
  • Linux CI: commit a running --isolation sandbox box and confirm image digest without guest archive socket
  • Confirm MicroVM live commit still uses guest archive path
  • Confirm B2 / ROADMAP B3 exit gates remain open (no false close)

ZhiXiao-Lin and others added 2 commits September 17, 2026 13:44
Running Linux Sandbox boxes have no guest archive socket; reuse the managed snapshot host-rootfs metadata path so commit works without inventing a guest channel.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 87a2263 into main Sep 17, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/b3-sandbox-host-commit branch September 17, 2026 06:40
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