Skip to content

fix(cli): fail closed Compose up service rollback - #533

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

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

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Compose up rollback fails closed on started-service teardown errors (no warn-and-continue invent-clean undo)
  • Service and network cleanup failures are chained with the original up error
  • 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 (5 passed, including compose_up_service_rollback_fails_closed_on_teardown_errors)

Do not warn-and-invent a clean service undo when teardown fails during
compose up rollback; chain service and network cleanup errors with the
original up failure.

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