Skip to content

fix(runtime): keyed MicroVM exec in-call replay on lost responses - #320

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/vm-keyed-exec-replay
Sep 11, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/vm-keyed-exec-replay

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • MicroVM exec_request retries once on ambiguous transport when a non-empty request_id is set (guest replay cache).
  • exec_command mints vm-exec-*; live MicroVM cgroup resource updates mint vm-cgroup-* per command.
  • Explicitly does not add pause/resume Runtime journals / naive freezer replay (inspect/reconcile remains the path), flip B2, fixture continuity, or hosted-KVM claims.

Test plan

  • WSL: cargo test -p a3s-box-runtime --lib keyed_exec_tests
  • WSL: test_exec_command_* / test_exec_request_*
  • Hosted CI Format/Clippy/Test/Sandbox green

Retry guest one-shot exec once with the same request_id after ambiguous transport loss. Mint vm-exec-* from exec_command and vm-cgroup-* for live cgroup updates. Do not invent pause/resume journals or flip B2.

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