ci(cloud-cf-deploy): configurable migrate-db runner to unblock prod when hosted queue jams - #11449
Conversation
…rod deploys when hosted queue is jammed The migrate-db gate (every deploy job `needs` it) was hardcoded runs-on: ubuntu-latest. When the org-wide GitHub-hosted queue backs up for hours (the recurring zombie-freeze), migrate-db never gets a runner and ALL prod deploys stall — even though the self-hosted hetzner-robot pool is idle (it runs the deploy jobs fine). Today the develop→main promote (#11434, money-gate restore) sat queued 1.5h+ on this exact gate while prod stayed stale. Make it configurable via CLOUD_CF_MIGRATE_RUNNER_JSON (defaults to ["ubuntu-latest"], preserving the deliberate hosted default). Ops can fail migrations over to the robot pool when hosted is jammed. Migrate is a light `bun install` + `db:cloud:migrate`, not the heavy working-tree materialization that motivated keeping deploys off the self-hosted fleet, so the robots handle it safely. actionlint clean.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
The
migrate-dbgate (all deploy jobsneeds: migrate-db) is hardcodedruns-on: ubuntu-latest. When the org GitHub-hosted queue backs up for hours (recurring zombie-freeze), migrate-db never gets a runner → ALL prod deploys stall while the self-hosted robot pool sits idle. The #11434 money-gate promote sat queued 1.5h+ on this gate today with prod stale.Make it configurable via
CLOUD_CF_MIGRATE_RUNNER_JSON(default["ubuntu-latest"]— preserves @lalalune's deliberate hosted default from #11289). Ops flips it to["self-hosted","Linux","X64","hetzner-robot"]when hosted is jammed. Migrate is a lightbun install+db:cloud:migrate, not the heavy checkout that motivated keeping deploys off-hosted. actionlint clean. cc @lalalune. — nubs-cloud [cloud-frontdoor]