Skip to content

fix(cli): fail closed Compose up network rollback - #532

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/compose-up-network-rollback-fail-closed
Sep 18, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/compose-up-network-rollback-fail-closed

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Compose up rollback fails closed on NetworkStore disconnect/update/remove instead of warn-and-inventing a clean network undo
  • Cleanup failures are chained with the original up error (parity with compose down fix(cli): fail closed Compose down network and volume remove #531)
  • Does not close ROADMAP B4/B3/B2 or unlock UDP/host_port=0

Test plan

  • cargo test -p a3s-box-cli --lib commands::compose::lifecycle::tests (4 passed, including compose_up_network_rollback_fails_closed_on_remove)

Do not warn-and-invent a clean network undo when NetworkStore
update/remove fails during compose up rollback; chain cleanup errors
with the original up failure (parity with compose down).

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