Repository navigation
chore(relay): move the staging cells onto image F - #27570
Conversation
Staging c1, c2 and c4-c7 run image F (main 3c1141f), so the director and every staging cell share one digest for the c5-c7 promotion and the six-cell dead-cell rerun. c3 is unchanged.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to This staging-only update moves c1, c2, and c4–c7 to image F, with the director following c4. C3 remains on its documented launch image outside the promotion wave, and no material new merge risk remains. Pre-merge checks |
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
eecd9e6c-37ef-4ec2-85b8-887c7719008a
📒 Files selected for processing (1)
cloud/infra/terraform/environments/staging.tfvars
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
| # Step-5 image D (#27049-#27107). Never 2d0f6e6: it cannot report capped telemetry. | ||
| image = "us-central1-docker.pkg.dev/onorca-cloud-staging/orca-cloud/relay@sha256:ac2ab357d3ed9f104ed3d5c440ef3d1ad493d9661e86d1c404d8dfc6b7c59c02" | ||
| # Step-5 image F (main 3c1141f2). Never 2d0f6e6: it cannot report capped telemetry. | ||
| image = "us-central1-docker.pkg.dev/onorca-cloud-staging/orca-cloud/relay@sha256:41cba995b288cab70579882ebef23e74c5ee426b6f8924cea7c986aba23bcbfe" |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
rg -n 'staging-gce-c3|staging-gce-c[1-7]|dead.cell|image digest|EXPECTED_IMAGE_DIGEST' cloud/infra/terraform .github/workflows
sed -n '45,82p' cloud/infra/terraform/environments/staging.tfvarsRepository: stablyai/orca
Length of output: 16651
🏁 Script executed:
set -e
printf '%s\n' '--- staging.tfvars cells and set ---'
nl -ba cloud/infra/terraform/environments/staging.tfvars | sed -n '40,145p'
printf '%s\n' '--- staging deploy workflow ---'
nl -ba .github/workflows/cloud-deploy-relay-staging.yml | sed -n '110,235p'
printf '%s\n' '--- staging capacity image contract ---'
nl -ba .github/workflows/cloud-bootstrap-relay-staging-capacity.yml | sed -n '70,170p'
printf '%s\n' '--- staging capacity c2/c3 rollout contract ---'
nl -ba .github/workflows/cloud-bootstrap-relay-staging-capacity.yml | sed -n '600,665p'
printf '%s\n' '--- terraform consumers of relay_gce_cells ---'
rg -n -F -- 'relay_gce_cells' cloud/infra/terraform --glob '*.tf' --glob '*.tfvars'Repository: stablyai/orca
Length of output: 26035
Set c3 to image F.
staging-gce-c3 remains in the configured staging cell set and uses a different digest. The staging capacity workflow includes c3 in the desired image map and requires its image to equal c2's image. Update c3 to image F so the configured cells and director share one digest.
Suggested fix
- image = "us-central1-docker.pkg.dev/onorca-cloud-staging/orca-cloud/relay@sha256:5aedbca5c86de24c8b4d4bf7e3b444b76c712f281ede916cb9d90f70cad1e563"
+ image = "us-central1-docker.pkg.dev/onorca-cloud-staging/orca-cloud/relay@sha256:41cba995b288cab70579882ebef23e74c5ee426b6f8924cea7c986aba23bcbfe"
ELI5
Moves six staging relay servers onto the newly built image F, so the whole staging fleet runs the same code we are about to test. Staging only.
What Changed
cloud/infra/terraform/environments/staging.tfvars: the checked-in image for staging cells c1, c2, c4, c5, c6 and c7 is now F (sha256:41cba995…, built from main 3c1141f by publish run 38172103551 and mirrored to staging by run 38172297158). c3 keeps its image.cloud/dev/scripts/relay-staging-c4-refresh-workflow.test.mjspins the checked-in staging C4 digest, so it moves to F with it.Before: c1, c2 and c5–c7 run image D, while c4 and the director run E. After a roll: every cell and the director run F.
Why
Promoting c5–c7 into general admission needs the director and those cells on one digest, and the six-cell dead-cell rerun is meant to test the code merged today. Moving every staging cell at once is simpler than keeping a mix of images.
Linked Issue
N/A (maintainer; staging e2e for relay step 5)
Visual Proof
N/A. Staging config only.
Testing
The digest is in staging Artifact Registry (
gcloud artifacts docker images describereturnssha256:41cba995…), and the mirror workflow's own digest check passed.The cells are rolled one at a time after merge, each checked for health and runtime digest.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Review
Agent skill upstream boundary
Notes
Staging only. Production tfvars and workflows are untouched.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)