Skip to content

feat(cri): mint cri-exec-* request_id for ExecSync guest replay - #319

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

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/cri-execsync-request-id

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • CRI ExecSync and non-interactive streaming oneshot mint cri-exec-* and retry once on ambiguous transport loss with the same id (guest replay cache).
  • Streaming / SPDY / stdin sessions stay unkeyed (guest rejects request_id on streaming).
  • Does not invent a kubelet-stable CRI wire field, flip B2, fixture continuity, or hosted-KVM claims.

Test plan

  • WSL: cargo test -p a3s-box-cri --lib exec_request_id (4 tests)
  • WSL: cargo test -p a3s-box-cri --lib test_exec_sync_
  • Hosted CI Format/Clippy/Test/Sandbox green

CRI ExecSync and non-interactive oneshot keep the sandbox VM alive, so key the guest one-shot journal and retry once on ambiguous transport with the same id. Leave streaming/SPDY/stdin unkeyed. Do not invent a kubelet wire field or flip B2.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 01f0e51 into main Sep 11, 2026
27 of 28 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/cri-execsync-request-id branch September 11, 2026 15: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