Skip to content

fix(cli): fail closed on volume detach and anonymous volume remove - #522

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-volume-detach-fail-closed
Sep 18, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-volume-detach-fail-closed

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • CLI detach_volumes / cleanup_anonymous_volumes return Result; missing volume remains success.
  • cleanup_stopped_box / cleanup_removed_box, Compose partial wipe, foreground --rm, and SDK stop/rm propagate failures (match managed cleanup).
  • Does not close B3/B2.

Test plan

  • cargo check -p a3s-box-cli -p a3s-box-sdk
  • Linux CI when runners resume

Made with Cursor

Legacy CLI/SDK stop and remove now propagate VolumeStore detach/remove
errors instead of soft-discarding them while claiming cleanup success.

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