Repository navigation
Fix dev backend-listen auto deploy rollout - #8509
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e98cf0ae3d
ℹ️ 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".
| ./backend/charts/backend-listen \ | ||
| -f ./backend/charts/backend-listen/${{ vars.ENV }}_omi_backend_listen_values.yaml | ||
| -f ./backend/charts/backend-listen/${{ vars.ENV }}_omi_backend_listen_values.yaml \ | ||
| --set image.tag=${{ env.SHORT_SHA }} |
There was a problem hiding this comment.
Prevent older auto-dev runs from redeploying stale SHAs
When two main pushes overlap, an earlier workflow can finish after a later one and execute this Helm upgrade with its older SHORT_SHA, rolling dev-omi-backend-listen back to an older backend image. I checked this workflow and it has no concurrency:/cancel-in-progress guard, so switching the GKE deploy from latest to immutable per-run tags needs ordering protection to ensure dev ends up on the newest main commit.
Useful? React with 👍 / 👎.
Summary
Why
The auto-dev workflow pushed backend:latest but deployed backend-listen without overriding the chart default tag of latest. Kubernetes saw no Deployment template change, so the existing pod kept running the old image digest even though the workflow succeeded.
Validation
Rollout test
After this merges, the Auto Deploy Backend to Development workflow should create a new backend-listen ReplicaSet using image tag for the merge commit. Then we can verify the pod image tag/digest and scrape llm_gateway_chat_extraction metrics.