Skip to content

fix(cli): refresh inventory observe on info/df/events/compose wait - #393

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/inventory-observe-read-surfaces
Sep 15, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/inventory-observe-read-surfaces

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Drive the same home-scoped refresh_default_home_after_inventory_observation used by ps / prune on read-only surfaces that project or poll inventory: info box counts, df reclaim sizing, events (initial + each poll), and compose wait (healthy + completed loops).
  • Keeps present-tense inventory aligned across operator read paths without observing every Running box, Creating NotFound retirement, invented exits, or prune widening beyond stopped|dead|created.
  • Docs: CHANGELOG + ROADMAP note the expanded surfaces.

Test plan

  • cargo test -p a3s-box-cli observe_inventory (13 passed)
  • CI green on this PR
  • Spot-check: abandoned managed Starting row cleaned by ps is also reflected in info / df counts without a separate inspect path

Anti-overfit

Made with Cursor

Wire the same home-scoped refresh used by ps/prune into read-only surfaces
that project or poll inventory so forever-transitional rows do not stay
stale there. No Running hammer, Creating NotFound retirement, or prune widen.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 90ae91b into main Sep 15, 2026
27 of 28 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/inventory-observe-read-surfaces branch September 15, 2026 04:24
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