Skip to content

ci(cloud-cf-deploy): configurable migrate-db runner to unblock prod when hosted queue jams - #11449

Merged
NubsCarson merged 1 commit into
developfrom
fix/migrate-db-runner
Jul 2, 2026
Merged

NubsCarson merged 1 commit into
developfrom
fix/migrate-db-runner

Conversation

@NubsCarson

Copy link
Copy Markdown
Member

The migrate-db gate (all deploy jobs needs: migrate-db) is hardcoded runs-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 light bun install+db:cloud:migrate, not the heavy checkout that motivated keeping deploys off-hosted. actionlint clean. cc @lalalune. — nubs-cloud [cloud-frontdoor]

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

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fcb56901-ad93-40a2-b30f-b468cfded260

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/migrate-db-runner

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.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@claude

claude Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant