Repository navigation
fix(migrate): point the control-plane default at the host that resolves - #625
Merged
Merged
Conversation
control-plane.decocms.com has no DNS record, so provisionSite's SITE_CREATE failed with a fetch error on every run that did not set DECO_CONTROL_PLANE_URL. The phase only warns and continues, so a migration came out unprovisioned without anything failing. control-plane.infra.deco.cx serves /mcp (401 unauthenticated, with OAuth protected-resource metadata). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
🎉 This PR is included in version 7.72.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
What
deco-migrate'sprovisionSitedefaults tohttps://control-plane.decocms.com, but that host has no DNS record. This PR changes the default tohttps://control-plane.infra.deco.cx, the host that actually serves the control plane's/mcp.Why it matters
Every run that didn't set
DECO_CONTROL_PLANE_URLfailedSITE_CREATEwith a fetch error.provisionSiteonly printscontrol-plane request failedand moves on, so the migration finished unprovisioned and nothing failed.Evidence
dig +short control-plane.decocms.comreturns nothing.dig +short control-plane.infra.deco.cxresolves to the deco gateway ELB.POST control-plane.infra.deco.cx/mcpreturns401, and/.well-known/oauth-protected-resourcereturns the MCP OAuth metadata.deco-control-plane-opsskill indecocms/skillsalready usescontrol-plane.infra.deco.cx/mcp.Scope
A one-line default change, plus a comment explaining why.
DECO_CONTROL_PLANE_URLstill overrides it. Found while wiring the parity plugin'sdeployeragent to the same control plane (decocms/parity#453).🤖 Generated with Claude Code
Summary by cubic
Fixes
deco-migrateprovisioning failing silently by defaulting the control-plane URL tohttps://control-plane.infra.deco.cxinstead ofhttps://control-plane.decocms.com, which has no DNS record.Previously, every run that didn't set
DECO_CONTROL_PLANE_URLfailedSITE_CREATEwith a fetch error. SinceprovisionSiteonly prints a warning and continues, migrations finished unprovisioned without failing.DECO_CONTROL_PLANE_URLstill overrides the new default.Written for commit 1904f17. Summary will update on new commits.