Skip to content

fix(runtime): tear down host-netdevice lease on destroy and SDK/CLI wipe - #519

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

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-sdk-lifecycle-host-netdevice-teardown

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • VmManager destroy path tears down host-netdevice before wiping ephemeral boxes/{id}; retains dir and records stop error on failure.
  • SDK cleanup_removed_box and CLI foreground --rm use the same lease-before-wipe contract.
  • Does not close B3/B4/B2.

Test plan

  • cargo check runtime / sdk / cli (Windows)
  • Linux CI when runners resume

Made with Cursor

VM destroy, SDK cleanup_removed_box, and foreground --rm now tear down
keep-authority leases before wiping boxes/{id}; retain on teardown failure.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 431b4ec 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