Repository navigation
Revert #16397: Cloud VM creates fail, pool-init migration not applied - #16405
Conversation
Production outage: every Cloud VM create fails with model_plane_unavailable since 2026-10-01 08:44 UTC. #16397 inserts into coderouter_pool_initializations, but its migration 20261001000000 was never applied to staging or production. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
All contributors have signed the CLA ✍️ ✅ |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (4)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThis change removes the VM pool initialization table and migration, stops VM authorization token issuance from initializing default pools or granting team-visible accounts, and removes a test of VM account visibility. ChangesVM pool initialization removal
Priority: ⬆️ High Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: 🔵 Low · up to This reverts the VM pool initialization feature to restore Cloud VM creation. Merge it only if the migration cannot be applied quickly, and do not also apply the alternative fix. The feature's behavior, including default pool setup and team-visible accounts, is lost until it is reintroduced. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Description checkExplanation The description clearly explains the production failure, cause, affected environments, and alternative remediation. It does not follow the required template because it omits the Testing, Changelog, and Checklist sections, and it does not state what tests were run or what remains unverified. Resolution Add the required Summary, Testing, Changelog, and Checklist sections. In Testing, list executed commands or CI checks and any unverified production behavior. Add a present-tense Changelog line, or state
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
|
Merge receipt for |
…#16572) Reverts #16405. #16397 was reverted because its migration 20261001000000_coderouter_vm_pool_initialization was never applied to staging or production, so every Cloud VM create failed. This re-land merges only after that migration is applied to staging and production. Co-authored-by: austinywang <austinywang@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Production outage, standby revert. Since 2026-10-01 08:44 UTC every Cloud VM create fails with
model_plane_unavailable(14 of 14 creates; last success 08:23 UTC, the minute before #16397 deployed).Cause: #16397 (deployed 08:23:47 UTC) inserts into
coderouter_pool_initializationsduring route-token issue. Its migration20261001000000_coderouter_vm_pool_initializationwas never applied:to_regclass('public.coderouter_pool_initializations')is NULL on both PlanetScalecmux-prod/mainandstaging(checked read-only). Production migrations do not run at deploy.Preferred fix is to apply that reviewed, additive migration (CREATE TABLE + backfill INSERT) to staging then production, which keeps #16397. This revert is the alternative if the migration cannot be applied quickly. Merge only one of the two.
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Reverts #16397 to restore Cloud VM creation, which has been failing with
model_plane_unavailablesince #16397 deployed because its migration20261001000000was never applied to staging or production. This removes thecoderouter_pool_initializationstable, the migration, and the pool seeding during token issue, so VM creates no longer reference the missing table. The additive migration can be applied later to re-enable the feature without a revert.Written for commit a405faf. Summary will update on new commits.
Summary by CodeRabbit