Skip to content

fix(runtime): retire abandoned Starting on inspect NotFound - #385

Closed
ZhiXiao-Lin wants to merge 1 commit into
mainfrom
fix/inspect-retire-abandoned-starting
Closed

ZhiXiao-Lin wants to merge 1 commit into
mainfrom
fix/inspect-retire-abandoned-starting

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

Test plan

  • cargo test -p a3s-box-runtime --lib inspect_retires_abandoned_starting_claim_when_backend_is_absent
  • cargo test -p a3s-box-runtime --lib inspect_does_not_retire_restart_starting
  • cargo test -p a3s-box-runtime --lib abandoned_starting_ / startup_reconciliation_ / create_persists_trusted_identity
  • CI green on this PR

Follow-on to #372: projecting Creating while persisting Starting with no
backend is a present-tense inventory lie. Lifecycle lock serializes against
live start/reconcile; RestartStarting stays Creating until reconcile.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin

Copy link
Copy Markdown
Author

Code already on main as 1024524 (squash title includes #385). Closing after GitHub merge API stuck on 502 / merge-in-progress; no further code change needed.

ZhiXiao-Lin added a commit that referenced this pull request Sep 14, 2026
Close the #385 operator-surface gap: CLI inventory and reclaim must drive manager inspect for durable managed Starting so NotFound retires become visible and prunable. Do not widen prune filters or observe Running boxes.

Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin added a commit that referenced this pull request Sep 15, 2026
…397)

Managed wait reused unwrap_or(0) after inspect Stopped/Failed, undoing
#385 honesty when exit_code is absent. Gate finish on wait_poll_action;
archive wait likewise refuses inventing success.

Co-authored-by: Cursor <[email protected]>
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