Skip to content

fix(sdk): fail closed Sandbox runtime reap on stop/remove - #546

Merged
emigmo merged 1 commit into
mainfrom
fix/sdk-sandbox-runtime-cleanup
Sep 18, 2026
Merged

emigmo merged 1 commit into
mainfrom
fix/sdk-sandbox-runtime-cleanup

Conversation

@emigmo

@emigmo emigmo commented Sep 18, 2026

Copy link
Copy Markdown

Summary

  • SDK cleanup_stopped_box / cleanup_removed_box now fail closed on recorded Sandbox OCI runtime reap (owner / log-worker) before rootfs unmount/wipe, matching CLI cleanup_sandbox_runtime.
  • Also unmounts rootfs alongside merged on SDK stop/remove.
  • ROADMAP B3 Partial + CHANGELOG honesty notes only. Does not flip B2/B3/B4 or b2_process_session_recovery_closed.

Test plan

  • cargo check -p a3s-box-sdk --lib
  • CI Format / Clippy / Test

Mirror CLI cleanup_sandbox_runtime before rootfs unmount/wipe so SDK stop/remove/prune cannot invent clean teardown while shared-kernel processes may still hold the rootfs. Also unmount rootfs alongside merged. Does not flip B2/B3/B4.

Co-authored-by: Cursor <[email protected]>
@emigmo
emigmo merged commit 63b8023 into main Sep 18, 2026
2 of 7 checks passed
@emigmo
emigmo deleted the fix/sdk-sandbox-runtime-cleanup branch September 18, 2026 04:11
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.

2 participants