Skip to content

fix(cri): refuse inventing SIGKILL for Created on StopPodSandbox (#448) - #450

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/448-stop-pod-created-refuse-137
Sep 16, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/448-stop-pod-created-refuse-137

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

Test plan

  • cargo test -p a3s-box-cri --lib stop_pod_sandbox (WSL): 7 passed
  • CI Test / Clippy / Fmt green
  • Squash-merge after full CI green

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]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit b88adb3 into main Sep 16, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the honesty/448-stop-pod-created-refuse-137 branch September 16, 2026 09:11
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]>
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