Skip to content

fix(pusher): render fieldRef apiVersion so the release receipt matches live - #25559

Merged
Git-on-my-level merged 1 commit into
mainfrom
fix/pusher-fieldref-apiversion
Nov 17, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
fix/pusher-fieldref-apiversion

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

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_HASH from a fieldRef with no apiVersion.
The API server stores the default, apiVersion: v1.
backend/scripts/pusher_release_receipt.py record-live hashes 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).

  • The chart now renders fieldRef: {apiVersion: v1, ...}. Kubernetes already stores this value, so pods don't change meaning.
  • test_runtime_percent_export.py asserts 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

  • With this chart, the rendered dev template hash equals the live dev Deployment's hash (pusher_release_receipt projection).
  • tests/unit/test_runtime_percent_export.py and tests/unit/test_verify_pusher_promotion_evidence.py: 94 passed.

UI-Evidence: none -- backend chart only

🤖 Generated with Claude Code

View guided diff Turn on auto-fix

…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
Git-on-my-level merged commit c94d892 into main Nov 17, 2026
64 checks passed
@Git-on-my-level
Git-on-my-level deleted the fix/pusher-fieldref-apiversion branch November 17, 2026 03:51
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. -->
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