Skip to content

fix(cri): refuse PodSandboxStats Ready/Running without VM health (#443) - #443

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/443-cri-pod-sandbox-stats-refuse-stale
Sep 16, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/443-cri-pod-sandbox-stats-refuse-stale

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

Test plan

  • Linux CI a3s-box-cri lib tests for pod_sandbox_stats_refuses / list_pod_sandbox_stats_refuses / list_pod_sandbox_stats_reports
  • Confirm durable Ready/Running demote when VM health is absent
  • Confirm authenticated VM keeps Ready + Running in stats

…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
ZhiXiao-Lin merged commit 120af71 into main Sep 16, 2026
0 of 7 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the honesty/443-cri-pod-sandbox-stats-refuse-stale branch September 16, 2026 03:25
ZhiXiao-Lin added a commit that referenced this pull request Sep 16, 2026
…eck (#444) (#444)

RemovePodSandbox and StopPodSandbox must not invent live Ready from durable
store alone; CreateContainer late re-check and sibling Running guards must
re-prove VM health (#444 / #443/#437/#434). Does not invent Live digests or flip B2.

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