Skip to content

Fix dev backend-listen auto deploy rollout - #8509

Merged
Git-on-my-level merged 1 commit into
mainfrom
codex/fix-backend-dev-cd
Jun 28, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
codex/fix-backend-dev-cd

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Jun 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • tag backend auto-dev images with both latest and the merge short SHA
  • deploy dev backend-listen with the immutable short-SHA tag so Helm changes the pod template
  • wait for the GKE backend-listen rollout to complete before marking the workflow successful

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

  • Parsed .github/workflows/gcp_backend_auto_dev.yml with PyYAML
  • Pre-push hooks passed

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.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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 }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@Git-on-my-level
Git-on-my-level merged commit 222e006 into main Jun 28, 2026
3 checks passed
@Git-on-my-level
Git-on-my-level deleted the codex/fix-backend-dev-cd branch June 28, 2026 20:10
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