Repository navigation
fix(cri): refuse inventing SIGKILL for Created on StopPodSandbox (#448) - #450
Merged
Merged
Conversation
StopPodSandbox must not invent exit 137 for Created containers that never started — record exit 0 for never-ran workloads while live Running that survives workload stop still gets teardown SIGKILL. EOF Co-authored-by: Cursor <[email protected]>
1 of 2 tasks
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 16, 2026
sandbox_vm_usage must re-prove authenticated VM health before reading procfs CPU/RSS. A soft-Created shim PID alone must not invent live pod usage (#450 / #419/#443). Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
StopPodSandboxrefuses inventing SIGKILL exit137for Created containers that never started — records exit0for never-ran workloads while live Running that survives workload stop still gets teardown SIGKILL ([linux][P2] With -p, the guest cannot reach its own published service on 127.0.0.1:<guest_port> (listener is moved to the host, no native socket remains) #448 / [linux][P2] TSI published ports (-p) deliver the server's FIN to the client exactly 5 s late #447/fix(cri): refuse inventable Ready/Running on Stop/Remove/Create (#444) #444).Test plan
cargo test -p a3s-box-cri --lib stop_pod_sandbox(WSL): 7 passed