Skip to content

fix(cri): refuse inventable ReopenContainerLog without VM health (#447) - #449

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/447-cri-reopen-log-refuse-stale-running
Sep 16, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/447-cri-reopen-log-refuse-stale-running

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

Test plan

  • cargo test -p a3s-box-cri --lib reopen_container_log (WSL): 5 passed
  • CI Test / Clippy / Fmt green on this branch
  • Squash-merge after full CI green

ReopenContainerLog must not invent rotation success from durable Running alone — re-prove sandbox VM health, require an active supervisor reopen handle, and fail closed on supervisor timeout.

EOF

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 8b0beb3 into main Sep 16, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the honesty/447-cri-reopen-log-refuse-stale-running branch September 16, 2026 08:21
ZhiXiao-Lin added a commit that referenced this pull request Sep 16, 2026
…451)

CRI restart reconciliation treated all non-Exited containers as unknown
failure 255. Created never-started workloads never ran, so record exit 0
(parity with StopPodSandbox #448) while stale Running still fail-closes
with 255. Does not invent Live digests or flip B2.

Co-authored-by: Cursor <[email protected]>
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