Skip to content

fix(deploy): complete dev public binding migration - #9694

Merged
Git-on-my-level merged 1 commit into
mainfrom
fix/dev-public-binding-transition-completeness
Jul 14, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
fix/dev-public-binding-transition-completeness

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Summary

  • complete the development-only Cloud Run migration of public configuration that remains legacy Secret Manager-bound
  • derive eligible public names from the checked-in dev runtime manifest rather than a hand-maintained one-variable list
  • cover backend, backend-sync, backend-sync-backfill, and backend-integration before their canonical no-traffic redeploys

Root cause

PR #9693 safely migrated GOOGLE_CLIENT_ID for two services, but dev rollout 29313849625 then exposed the next legacy type mismatch: STT_PRERECORDED_MODEL remained Secret Manager-bound while the runtime manifest declares it public. Read-only inventory showed remaining type transitions across four dev services.

This change removes only bindings where the environment variable is declared public for that exact dev service and the legacy secret reference is self-referential. The helper rejects non-dev/project targets and multi-container service shapes, then uses gcloud run services update --no-traffic before the normal candidate deploy.

Verification

  • RED: regression test required both public bindings to be removed together before implementation
  • selected Cloud Run deployment-contract suite: 121 passed
  • focused preflight + deployment-contract tests: 14 passed
  • actionlint .github/workflows/gcp_backend_auto_dev.yml — passed
  • YAML parse using backend virtualenv — passed
  • git diff --check — passed
  • independent review — approved

Scope

Development-only workflow and helper. No production workflow, Cloud Run service, secret deletion, or traffic change is included.

Review in cubic

@Git-on-my-level
Git-on-my-level merged commit 5351fb6 into main Jul 14, 2026
22 of 25 checks passed
@Git-on-my-level
Git-on-my-level deleted the fix/dev-public-binding-transition-completeness branch July 14, 2026 07: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