Skip to content

fix(cri): refuse ListPodSandboxMetrics Ready/Running without VM health re-proof - #436

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/436-cri-metrics-refuse-stale-ready
Sep 16, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/436-cri-metrics-refuse-stale-ready

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

Test plan

  • Linux CI: cargo test -p a3s-box-cri --lib list_pod_sandbox_metrics
  • Linux CI: full cri/runtime suites green
  • Confirm no B2 flip / Live digest invent / prune widening

…h re-proof

Durable store Ready/Running alone must not invent metric gauges — re-prove via
the same sandbox/container health reconcile used by Status/List (#436 / #435).
Does not invent Live digests or flip B2.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 81ce414 into main Sep 16, 2026
2 of 7 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the honesty/436-cri-metrics-refuse-stale-ready branch September 16, 2026 02:59
ZhiXiao-Lin added a commit that referenced this pull request Sep 16, 2026
Mutation gates (CreateContainer, PortForward, UpdatePodSandboxResources) must
not invent operable Ready from durable store alone — re-prove via the same
sandbox health reconcile as Status/List (#437 / #436). 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
Mutation gates (CreateContainer, PortForward, UpdatePodSandboxResources) must
not invent operable Ready from durable store alone — re-prove via the same
sandbox health reconcile as Status/List (#437 / #436). 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
)

ContainerStats / ListContainerStats / StreamContainerStats must not invent
live Running usage from durable store alone — re-prove via the same container
health reconcile as Status/Metrics (#442 / #434/#436). 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
…roof (#443) (#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]>
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