Repository navigation
ci: roll backend auto-dev auth back to JSON - #14290
Merged
Git-on-my-level merged 1 commit intoSep 17, 2026
Merged
Git-on-my-level merged 1 commit into
Git-on-my-level merged 1 commit into
Conversation
WIF candidate what_matters_now failed after invoker grant (app 401, not Cloud Run 403). Restore Joan JSON on auto-dev only; keep dual-auth in deploy-backend-stack.
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
Inverse of #14290. The 35122919864 bake failed the candidate gate because the WIF deployer lacked roles/run.invoker (grant attempt died on expired human ADC). run.invoker verified granted 2026-09-18 via project policy; discriminator run 35076387145 (JSON lane, same image, same gate) passed. Rollback on gate FAIL keeps traffic on the prior revision.
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
…w granted) (#14509) ## Summary Re-lands the slice-2 WIF auth on `gcp_backend_auto_dev.yml` (exact inverse of #14290): swaps `gcp_credentials` for the dual-auth composite's WIF inputs — pool `omi-gha-deploy-dev`, SA `omi-ci-deployer-dev@based-hardware-dev`. ## Failure-Class Failure-Class: none ## Why this is now sound (the 401 RCA) Bake run 35122919864 failed the candidate gate `what_matters_now` because the WIF deployer lacked `roles/run.invoker` — the acceptance probe mints a deployer identity token (`gcloud auth print-identity-token --audiences=<service url>`) and calls the candidate revision; run.developer does not grant invocation. Discriminator: run 35076387145 (JSON lane, same image `ad7a5b5`, same gate) PASSed one day earlier; the identity token principal was the only variable. `roles/run.invoker` is granted and live since 2026-09-18 (project policy verified). Rollback safety unchanged: on any gate FAIL, traffic stays 100% on the prior revision and the candidate remains at 0%. ## Test plan - Composite `deploy-backend-stack` dual-auth landed in #14234 and is untouched (WIF/JSON mutual-exclusion validated in-action). - Merge triggers Release Eligibility → `gcp_backend_auto_dev` on `main`; success signature = `Candidate acceptance PASS: backend/what_matters_now=PASS, backend-integration/health=PASS, backend-sync/health=PASS, backend-sync-backfill/health=PASS` then traffic shift to `backend-<sha>-<run>-<attempt>` at 100%. - If the gate FAILs again: revert this PR (single commit) and the lane returns to the JSON bridge secret; traffic never moved. ## Product invariants affected - INV-DATA-1 Preserved: this PR changes only the deploy *authentication identity* for the `environment: development` lane of `gcp_backend_auto_dev.yml` (WIF deployer instead of JSON SA). It alters no routing authority, no serving endpoint, no Firebase/Firestore project binding, and no production-family artifact routing; deploys still target `based-hardware-dev` exclusively and the fail-closed traffic gate is unchanged. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/14509?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="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
Inverse of #14290. The 35122919864 bake failed the candidate gate because the WIF deployer lacked roles/run.invoker (grant attempt died on expired human ADC). run.invoker verified granted 2026-09-18 via project policy; discriminator run 35076387145 (JSON lane, same image, same gate) passed. Rollback on gate FAIL keeps traffic on the prior revision.
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.
Summary
Roll auto-dev backend CD back to JSON
GCP_CREDENTIALS(Joan). Keep dual-auth indeploy-backend-stack(WIF still valid for a later retry).WIF bake 35122919864 authenticated and deployed 0% candidates as
omi-ci-deployer-dev@, then failed candidatewhat_matters_now(HTTP 401 from the app afterrun.invoker; not a Cloud Run 403). Serving stayed onbackend-1bdf57b-35076387145-1=100%.Product invariants affected
Failure-Class: none