Skip to content

fix(runtime): ExecClient keyed one-shot replay on ambiguous transport - #322

Merged
ZhiXiao-Lin merged 3 commits into
mainfrom
feat/exec-client-keyed-replay
Sep 12, 2026
Merged

ZhiXiao-Lin merged 3 commits into
mainfrom
feat/exec-client-keyed-replay

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • ExecClient::exec_command retries once on ambiguous transport when request_id is set (fresh stream + guest replay cache).
  • Covers legacy MicroVM CLI/SDK socket callers that already mint identity but had no in-call replay.
  • VmManager::exec_request no longer wraps a second retry (client owns it).
  • Session on_stream path still rebinds itself. Omit-path stays unkeyed.
  • Does not flip B2 harness close, fixture continuity, or hosted-KVM claims.

Test plan

  • cargo test -p a3s-box-runtime --lib keyed_exec_tests
  • Hosted CI green (esp. SDK Local Sandbox R17)
  • Confirm CHANGELOG does not claim B2 close

Made with Cursor

ZhiXiao-Lin and others added 3 commits September 12, 2026 11:18
Move guest-exec retry ownership into ExecClient::exec_command so legacy
CLI/SDK socket callers that mint request_id get in-call replay. Drop the
outer VmManager retry to avoid double attempts. Omit-path stays unkeyed.

Co-authored-by: Cursor <[email protected]>
exec is a private submodule; session/vm need a crate-visible path.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 9433081 into main Sep 12, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/exec-client-keyed-replay branch September 12, 2026 04:49
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