Skip to content

fix(cli): fail closed image-prune state load and remove - #540

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/image-prune-fail-closed
Sep 18, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/image-prune-fail-closed

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • image-prune fails closed on box-state load (no empty protect-set invent)
  • Remove errors refuse overall success (system-prune image-phase / rmi parity)
  • Does not close ROADMAP B4/B3/B2 or unlock UDP/host_port=0

Test plan

  • cargo test -p a3s-box-cli --lib commands::image_prune::tests (4 passed)

Refuse inventing an empty protect set on box-state load failure, and
return Err when image remove fails instead of exit-0 with residual claims
(system-prune image-phase / rmi parity).

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