Repository navigation
[codex] Guard backend runtime env drift - #8623
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 94a40ebc89
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Sync Cloud Run secrets from backend-secrets chart | ||
| run: | | ||
| curl -sL https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -o /usr/local/bin/yq | ||
| chmod +x /usr/local/bin/yq | ||
| bash backend/scripts/sync_cloudrun_secrets_from_chart.sh dev backend backend-sync backend-integration |
There was a problem hiding this comment.
Sync Cloud Run secrets before dev deploys
When a push adds a new backend-secrets key that the new image reads, this dev workflow now deploys backend-sync and backend-integration before the chart-to-Cloud Run sync runs; for services routing latest revisions, those new revisions can serve without the newly declared secret until this step finally adds it. The old ordering synced before those revisions, so keep a pre-deploy sync (or sync both before and after) to avoid dev Cloud Run requests/jobs reading None during the rollout.
Useful? React with 👍 / 👎.
Summary
Issue
Refs #8515
Validation
Notes