Skip to content

fix(cli): fail closed NetworkStore open on disconnect - #543

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/cleanup-network-store-fail-closed
Sep 18, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/cleanup-network-store-fail-closed

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • CLI cleanup opens NetworkStore with ? when disconnect is required (no .ok() invent-clean)
  • Missing store + required network name returns Err
  • Does not close ROADMAP B4/B3/B2 or unlock UDP/host_port=0

Test plan

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

Do not soft-open NetworkStore during box-resource cleanup; refuse
inventing clean detach when the store is unavailable while a network
name requires disconnect (VolumeStore detach parity).

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