Skip to content

chore(relay): move the staging cells onto image F - #27570

Merged
Jinwoo-H merged 2 commits into
mainfrom
relay-staging-cells-image-f
Oct 11, 2026
Merged

Jinwoo-H merged 2 commits into
mainfrom
relay-staging-cells-image-f

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​7 $\color{#cf222e}{\Huge{\mathbf{−}}}$​7 0

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.mjs pins the checked-in staging C4 digest, so it moves to F with it.
  • c4's image also chooses the staging director's image, so the next staging director deploy moves the director to F too.

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 describe returns sha256: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

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Staging only. Production tfvars and workflows are untouched.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

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.
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3ff47480-c324-4866-8d98-bce73d4a09a3


📥 Commits

Reviewing files that changed from the base of the PR and between 6a1a245 and 330ca57.



📒 Files selected for processing (1)
  • cloud/dev/scripts/relay-staging-c4-refresh-workflow.test.mjs


Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.




📝 Walkthrough
📝 Walkthrough

Walkthrough

Six staging GCE relay cells now use image digest 41cba995…bcbfe. The c1 comment identifies the image as Step-5 image F from main commit 3c1141f2. The C4 refresh workflow test expects the updated digest. Cell c3 is unchanged.



Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 330ca

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 | Passed 4 | Failed 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly and concisely describes the primary change: moving staging relay cells onto image F.
Description check Passed The description includes the required sections and explains the staging-only scope, before-and-after state, rationale, validation, and checklist status. It also provides appropriate N/A entries for th…

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR



  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: eecd9e6c-37ef-4ec2-85b8-887c7719008a
📥 Commits

Reviewing files that changed from the base of the PR and between 47c9363 and 6a1a245.

📒 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"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎯 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.tfvars

Repository: 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"

@Jinwoo-H
Jinwoo-H merged commit 92f6c86 into main Oct 11, 2026
22 checks passed
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