You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incident: admin.omi.me down Jul 15 — PR #9670 moved NEXT_PUBLIC build args to GitHub vars that were never created #9820
admin.omi.me served only its error boundary ("This page couldn't load") from ~02:01 UTC Jul 15 until 17:31 UTC. Console showed FirebaseError: auth/invalid-api-key; the served bundle contained no Firebase API key (grep AIzaSy over all chunks: empty).
Root cause
PR #9670 (efca8b8) switched the web deploy workflows' NEXT_PUBLIC_* build args from their working sources (admin: GCP Secret Manager fetch step; app/frontend/personas: GitHub environment secrets) to ${{ vars.NEXT_PUBLIC_* }} — but the GitHub Actions variables were never created. In GH Actions an undefined vars.* expands to an empty string, so the next admin deploy (run 29382966475, triggered by docs-only #9774) silently built an image with every Firebase config value empty and shipped it. Evidence: run 29382966475 logs show build-arg:NEXT_PUBLIC_FIREBASE_API_KEY: "" vs run 29236411348 (Jul 13, working) showing the real value.
Resolution (done)
Rolled Cloud Run traffic back to last good revision omi-admin-dashboard-00112-qn4 (immediate mitigation).
Created the missing repo-level Actions variables (NEXT_PUBLIC_FIREBASE_API_KEY/AUTH_DOMAIN/PROJECT_ID/STORAGE_BUCKET/MESSAGING_SENDER_ID/APP_ID/VAPID_KEY/MEASUREMENT_ID, NEXT_PUBLIC_PLUGINS_APP_ID, NEXT_PUBLIC_OMI_API_URL, NEXT_PUBLIC_API_BASE_URL). Values taken from the last working build log and verified identical to the configs baked in the live omi-web-app / omi-web bundles (all sites share one Firebase web app).
Re-dispatched gcp_admin.yml (run 29436610726, success) → revision 00114 now serves 100% with the key baked; dashboard verified loading with data in the browser.
Remaining gaps
NEXT_PUBLIC_MIXPANEL_TOKEN and NEXT_PUBLIC_EXTRA_PROMPT_RULES (gcp_personas.yml) still have no variable; their values live only in the old environment secrets, which can't be read back. Next personas deploy will bake them empty. Someone with the original values should create those two variables. (Personas + frontend deploys were already failing before fix(deploy): classify secret and public setting boundaries #9670 for unrelated reasons — frontend since Jul 6, personas since Jul 13.)
Durable guard: nothing fails a build when a required NEXT_PUBLIC_* build arg is empty — this shipped as a successful deploy. The web Dockerfiles should assert non-empty required args (or check_deployment_secret_boundary.py should verify every vars.* referenced in a workflow actually exists). Same failure class as any migration that moves a setting's source without migrating the value.
Resolved by #9828 and #9845. All four public builds now use a reviewed per-environment repository contract, pre-build nonempty validation at the deployed SHA, Docker-level empty-input guards, and CI/preflight contract checks. Verified on current main with the public-build contract check and its 19 fixtures; the post-merge admin deployment succeeded in run 29656307078.
Activity
Git-on-my-level commentedon Jul 15, 2026
Will open a follow-up fix
fix(deploy): centralize public build release contract (#9845)
fix(deploy): diagnose failed Cloud Run candidates (#9844)
Git-on-my-level commentedon Jul 18, 2026
Resolved by #9828 and #9845. All four public builds now use a reviewed per-environment repository contract, pre-build nonempty validation at the deployed SHA, Docker-level empty-input guards, and CI/preflight contract checks. Verified on current main with the public-build contract check and its 19 fixtures; the post-merge admin deployment succeeded in run 29656307078.
fix(deploy): centralize public build release contract (BasedHardware#…