Skip to content

fix(cli): stop inventing inspect ExitCode 0 when exit absent - #400

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/inspect-no-invent-exit-code
Sep 15, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/inspect-no-invent-exit-code

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • a3s-box inspect projects State.ExitCode as JSON null when durable exit_code is absent instead of inventing 0.
  • Aligns inspect with wait/observe retire honesty after abandoned Starting/Killing.
  • Keeps Docker-shaped Running/Paused; does not flip B2.

Test plan

  • cargo test -p a3s-box-cli --lib commands::inspect::
  • CI green on PR

Made with Cursor

Project State.ExitCode as null when durable exit_code is unset so
inspect matches wait/observe retire honesty after abandoned claims.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 6985a70 into main Sep 15, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/inspect-no-invent-exit-code branch September 15, 2026 09:54
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