Skip to content

feat(cli): optional --request-id for one-shot exec retries - #313

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/cli-exec-request-id
Sep 11, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/cli-exec-request-id

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • CLI exec / compose exec accept --request-id and mint cli-exec-* when omitted (SDK parity for keyed-exec retries).
  • Retryable Unavailable errors annotate reuse --request-id <id>; --request-id is rejected with -t/--tty.
  • Does not flip B2 harness close, widen guest ExecOutput, or claim hosted KVM Live.

Test plan

  • cargo test -p a3s-box-cli --lib commands::exec::tests
  • CI Format / Clippy / Test / SDK packages
  • Manual: a3s-box exec <box> --request-id caller-stable-1 -- true then retry same id after Unavailable

Mint cli-exec-* when omitted and annotate Unavailable with reuse guidance so scripts can keep the same process-journal identity without inventing .retry-N keys.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 1d997a6 into main Sep 11, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/cli-exec-request-id branch September 11, 2026 09:53
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