Repository navigation
fix(pusher): render fieldRef apiVersion so the release receipt matches live - #25559
Merged
Merged
Conversation
…s live The API server defaults fieldRef.apiVersion to v1, so the rendered ROLLOUT_POD_TEMPLATE_HASH env never matched the live PodTemplate and every dev Pusher qualification failed at the release receipt step. Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level
added a commit
that referenced
this pull request
Nov 17, 2026
…25575) # 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.apiVersion` to `v1` and `resourceFieldRef.divisor` to `1`. `pod_template_semantic_projection` already normalizes the API defaults it knows about: probe defaults, empty env values, null secret refs and resource quantities. It copied downward-API `valueFrom` blocks 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 in `fieldRef.apiVersion=v1` and `resourceFieldRef.divisor=1` before hashing. - **`test_verify_pusher_promotion_evidence.py`:** a rendered template without the defaults hashes equal to a live one with them. A changed `fieldPath` still differs. This also triggers a Pusher dev qualification at a fresh `main`. #25566 changed `backend/scripts` after the last qualification, and Pusher admission compares all of `backend/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](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/25575?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/25575?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F25575&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
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 chart: render fieldRef apiVersion so the release receipt can match the live PodTemplate
Failure-Class: none
Since #24961/7707faa8873 (2026-11-09), the Pusher chart sets
ROLLOUT_POD_TEMPLATE_HASHfrom afieldRefwith noapiVersion.The API server stores the default,
apiVersion: v1.backend/scripts/pusher_release_receipt.py record-livehashes the rendered PodTemplate and the live one, and the hashes never match.So every development Pusher qualification fails at "Record exact live development Pusher deployment receipt" with
live Pusher PodTemplate semantics do not match the rendered candidate.No prod Pusher can be promoted until that qualification passes.
Run 43994577483, at 8b5ea50, deployed dev Pusher and then failed at that step.
A local diff of the rendered template against the live dev Deployment differs in exactly one field:
env[ROLLOUT_POD_TEMPLATE_HASH].valueFrom.fieldRef.apiVersion(rendered: absent, live:v1).fieldRef: {apiVersion: v1, ...}. Kubernetes already stores this value, so pods don't change meaning.test_runtime_percent_export.pyasserts the Pusher chart renders the default. It fails without this change.This unblocks the Pusher deploy that conversations v3 needs: finalization runs on Pusher.
Verification
pusher_release_receiptprojection).tests/unit/test_runtime_percent_export.pyandtests/unit/test_verify_pusher_promotion_evidence.py: 94 passed.UI-Evidence: none -- backend chart only
🤖 Generated with Claude Code