Repository navigation
fix(cri): refuse PodSandboxStats Ready/Running without VM health (#443) - #443
Merged
Merged
Conversation
…roof (#443) PodSandboxStats / ListPodSandboxStats / StreamPodSandboxStats must not invent live Ready/Running pod usage from durable store alone — re-prove via the same sandbox+container health reconcile as Metrics/ContainerStats (#443 / #442/#436). Does not invent Live digests or flip B2. Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
deleted the
honesty/443-cri-pod-sandbox-stats-refuse-stale
branch
September 16, 2026 03:25
3 tasks
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
PodSandboxStats/ListPodSandboxStats/StreamPodSandboxStatsre-prove sandbox Ready and container Running via the same health reconcile as Metrics/ContainerStats before inventing live pod usage (fix(cri): refuse PodSandboxStats Ready/Running without VM health (#443) #443 / fix(cri): refuse ContainerStats Running without VM health re-proof #442/fix(cri): refuse ListPodSandboxMetrics Ready/Running without VM health re-proof #436).Test plan
a3s-box-crilib tests forpod_sandbox_stats_refuses/list_pod_sandbox_stats_refuses/list_pod_sandbox_stats_reports