Skip to content

feat(runtime): allow paused OCI Sandbox cp and filesystem I/O - #477

Merged
ZhiXiao-Lin merged 2 commits into
mainfrom
feat/b2-paused-sandbox-cp
Sep 17, 2026
Merged

ZhiXiao-Lin merged 2 commits into
mainfrom
feat/b2-paused-sandbox-cp

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Managed OCI Sandbox transfer_file / filesystem and CLI cp use the observability fence (require_observable / paused|running copy route) so freezer-paused boxes remain copyable.
  • Exec/PTY and MicroVM guest-archive paths stay Running-only; ROADMAP B2 exit gate stays open (b2_process_session_recovery_closed unchanged).

Test plan

  • cargo test -p a3s-box-cli --lib commands::cp:: (17 passed)
  • Linux CI for runtime OCI paused observability / cp paths
  • Manual: pause Sandbox, a3s-box cp host↔box, then unpause + exec still works

ZhiXiao-Lin and others added 2 commits September 17, 2026 19:42
Route managed transfer_file/filesystem and CLI cp through the observability fence so freezer-paused Sandboxes stay copyable without unlocking exec/PTY or closing B2.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 5ef784d into main Sep 17, 2026
10 checks passed
ZhiXiao-Lin added a commit that referenced this pull request Sep 17, 2026
ZhiXiao-Lin added a commit that referenced this pull request Sep 17, 2026
* feat(cli): paused Sandbox export and diff via host-rootfs capture

Route freezer-paused SandboxViaOci export/diff through the same managed host-rootfs path as running boxes; refuse paused MicroVM offline walks.

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

* fix(cli): drop needless borrow in paused Sandbox export gate

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

* docs: resolve CHANGELOG conflict markers after #477 rebase

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