Skip to content

fix(cli): tear down host-netdevice lease before legacy cleanup wipe - #518

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-cli-cleanup-host-netdevice-teardown
Sep 18, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-cli-cleanup-host-netdevice-teardown

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Public teardown_sandbox_host_netdevice_lease (Linux+vm; no-op stub elsewhere).
  • cleanup_removed_box fails closed on lease teardown before wiping boxes/{id}.
  • Compose cleanup_partial_service_box retains the dir when teardown fails.
  • Does not close B3/B4/B2.

Test plan

  • cargo check -p a3s-box-runtime --features vm / a3s-box-cli (Windows)
  • Linux CI when runners resume

Made with Cursor

Expose teardown_sandbox_host_netdevice_lease and use it from
cleanup_removed_box and Compose partial-service wipe so durable claim
is not deleted while host NAT fabric remains.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 9102c26 into main Sep 18, 2026
2 of 7 checks passed
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