Skip to content

fix(cli): observe abandoned managed Pausing/Resuming before inventory - #389

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/observe-managed-pause-resume-inventory
Sep 15, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/observe-managed-pause-resume-inventory

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Widen CLI inventory observation (inspect / ps / prune / system-prune) to durable managed Pausing / Resuming, matching manager inspect NotFound → Failed (no invented exit).
  • Keep anti-overfit fences: do not observe Running, do not retire Creating on NotFound, do not widen prune beyond stopped|dead|created.
  • Tests prove Pausing/Resuming AbsentBackend → failed with exit_code: None; Creating still skipped.

Test plan

  • cargo test -p a3s-box-cli observe_ (7 passed)
  • CI green on this PR
  • Confirm CHANGELOG / ROADMAP honesty notes match shipped behavior

Manager inspect already retires Pausing/Resuming NotFound to Failed without
inventing an exit. CLI inventory gates only covered Starting/Killing, so
forever-pausing/resuming rows lied in ps and skipped honest reclaim paths.
Widen observation without inventing exit codes, widening prune, observing
Running, or retiring Creating on NotFound.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit fede4f3 into main Sep 15, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/observe-managed-pause-resume-inventory branch September 15, 2026 00:36
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