Skip to content

fix(runtime): tear down host-netdevice lease before boot-failure wipe - #514

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

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-boot-failure-host-netdevice-teardown

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Boot-failure cleanup_box_dir calls teardown_lease before wiping boxes/{id}; on teardown failure the box dir (and lease) are retained.
  • Managed cleanup_execution_paths fails closed on lease teardown before remove_tree so present publish rules cannot outlive durable claim.
  • ROADMAP/CHANGELOG honesty only — does not close B3/B4/B2.

Test plan

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

Made with Cursor

Boot-failure and managed path cleanup must remove DNAT/veth/MASQUERADE
before deleting boxes/{id}; retain the lease dir when teardown fails.

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