Repository navigation
fix(pusher): release receipt treats downward-API defaults as absent - #25575
Merged
Merged
Conversation
The API server defaults fieldRef.apiVersion and resourceFieldRef.divisor, so a chart omitting them could never match its live PodTemplate. Normalize them in the projection like the other API defaults it already handles. Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Pusher release receipt: treat downward-API defaults as absent
Failure-Class: none
This follows up the panel finding on #25559 (review-20261117t034958-0138, F1 and F2, accepted).
The API server defaults
fieldRef.apiVersiontov1andresourceFieldRef.divisorto1.pod_template_semantic_projectionalready normalizes the API defaults it knows about: probe defaults, empty env values, null secret refs and resource quantities.It copied downward-API
valueFromblocks verbatim.A chart that omits those fields could therefore never match its own live Deployment.
That's why every dev Pusher qualification from 2026-11-09 until #25559 failed at "Record exact live development Pusher deployment receipt".
#25559 fixed the one chart entry. This change fixes the comparison, so the next downward-API env entry can't reintroduce the failure.
pusher_release_receipt.py: the projection now fills infieldRef.apiVersion=v1andresourceFieldRef.divisor=1before hashing.test_verify_pusher_promotion_evidence.py: a rendered template without the defaults hashes equal to a live one with them. A changedfieldPathstill differs.This also triggers a Pusher dev qualification at a fresh
main. #25566 changedbackend/scriptsafter the last qualification, and Pusher admission compares all ofbackend/scripts. So prod Pusher, which conversations v3 needs, can't be admitted until a qualifying push lands.Verification
tests/unit/test_verify_pusher_promotion_evidence.py,test_serving_podmonitoring_chart.py,test_runtime_percent_export.py: 99 passed.UI-Evidence: none -- backend release tooling only
🤖 Generated with Claude Code