Repository navigation
fix(pusher): isolated prod canary reuses the shared collector Role - #25570
Merged
Merged
Conversation
The canary is its own Helm release, so the chart rendered a per-run Role and RoleBinding the CI deployer cannot create; every prod Pusher promotion failed at canary creation. The canary borrows the shared KSA, and the shared Role already grants the collector the same secret, so render RBAC only for the release that creates the ServiceAccount. 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 chart: the isolated prod canary reuses the shared collector Role
Failure-Class: none
Every prod Pusher promotion fails at "Create isolated production Pusher and listener canary". Run 44020356200 is one example:
Since #24961, the Pusher chart renders a collector Role and RoleBinding for every release.
The canary is a separate Helm release named
prod-omi-pusher-canary-<run>, so it renders a new per-run Role.The CI deployer cannot create RBAC, so the canary fails every time.
The shared release's objects (
prod-omi-pusher-metrics-scrape) were applied by hand on 2026-11-10 for the same reason.The canary does not need its own grant. It already borrows the shared release's identity (
serviceAccount.create=false,serviceAccount.name=prod-omi-pusher).The shared Role already lets the GMP
collectorServiceAccount readmetrics-scrape-tokenin the same namespace.The chart now renders the collector RBAC only for the release that creates the ServiceAccount.
The canary keeps its PodMonitoring, so its scrape still authenticates through the shared grant.
backend/charts/pusher/templates/collector-rbac.yaml: the RBAC now requirespodMonitoring.enabledandserviceAccount.create.test_serving_podmonitoring_chart.py: a canary-shaped render keeps the PodMonitoring and renders no Role or RoleBinding.The shared dev and prod renders are unchanged.
No
.github/change. This is the last blocker for the Pusher deploy that conversations v3 needs.Verification
helm templatewith the workflow's canary flags renders 0 Roles; the shared prod release still renders its Role and RoleBinding.test_serving_podmonitoring_chart.py,test_runtime_percent_export.py,test_verify_pusher_promotion_evidence.py: 98 passed.UI-Evidence: none -- backend chart only
🤖 Generated with Claude Code