Skip to content

fix(pusher): release receipt treats downward-API defaults as absent - #25575

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

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

Conversation

@Git-on-my-level

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

Copy link
Copy Markdown
Member

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

View guided diff Turn on auto-fix

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]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T06:26:43.990278Z 660a6e0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Git-on-my-level
Git-on-my-level merged commit 2ac148c into main Nov 17, 2026
64 checks passed
@Git-on-my-level
Git-on-my-level deleted the fix/pusher-receipt-fieldref-default branch November 17, 2026 06:29
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