Mutlicell rolling replace#378
Open
breardon2011 wants to merge 1 commit into
Open
Conversation
motatoes
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multi-cell worker-image rollout
Today a new worker image only reaches one cell: the gallery version replicates
to the build region only, and the build writes
worker-image-idto a singleKV. Other cells never see the new image, so they never roll.
This makes one build roll every cell.
Changes
worker-ami.pkr.hcl): newreplication_regionsvar; the galleryversion now replicates to
[build region] + replication_regions, so each cellregion gets a local replica (a cell can't boot an image not replicated to its
region).
worker-image-id/worker-image-version/golden-versionto Infisical/sharedinstead of a single Azure KV. Infisical is push-authoritative andfans
/sharedout to every cell KV → every cell's scaler rolls.No Go/code changes — build + infra only.
Required config (set before merging / next build)
Repo variables
AZURE_REPLICATION_REGIONS["westus2","westus3"]INFISICAL_PROJECT_IDINFISICAL_ENVprod)Repo secrets
INFISICAL_UA_CLIENT_ID/shared)INFISICAL_UA_CLIENT_SECRETInfisical
/sharedmust holdworker-image-id,worker-image-version,golden-version(seed once from currentopencomputer-prod-kv), and anyper-cell copies of these keys under
/cells/*should be removed so they don'tshadow
/shared.Note
Full cutover to Infisical — no direct-KV fallback. Relies on the Infisical→KV
sync being live.