Skip to content

fix(migrate): point the control-plane default at the host that resolves - #625

Merged
JonasJesus42 merged 1 commit into
mainfrom
fix/control-plane-default-url
Oct 5, 2026
Merged

JonasJesus42 merged 1 commit into
mainfrom
fix/control-plane-default-url

Conversation

@JonasJesus42

@JonasJesus42 JonasJesus42 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

What

deco-migrate's provisionSite defaults to https://control-plane.decocms.com, but that host has no DNS record. This PR changes the default to https://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_URL failed SITE_CREATE with a fetch error. provisionSite only prints control-plane request failed and moves on, so the migration finished unprovisioned and nothing failed.

Evidence

  • dig +short control-plane.decocms.com returns nothing.
  • dig +short control-plane.infra.deco.cx resolves to the deco gateway ELB.
  • An unauthenticated POST control-plane.infra.deco.cx/mcp returns 401, and /.well-known/oauth-protected-resource returns the MCP OAuth metadata.
  • The deco-control-plane-ops skill in decocms/skills already uses control-plane.infra.deco.cx/mcp.

Scope

A one-line default change, plus a comment explaining why. DECO_CONTROL_PLANE_URL still overrides it. Found while wiring the parity plugin's deployer agent to the same control plane (decocms/parity#453).

🤖 Generated with Claude Code


Summary by cubic

Fixes deco-migrate provisioning failing silently by defaulting the control-plane URL to https://control-plane.infra.deco.cx instead of https://control-plane.decocms.com, which has no DNS record.

Previously, every run that didn't set DECO_CONTROL_PLANE_URL failed SITE_CREATE with a fetch error. Since provisionSite only prints a warning and continues, migrations finished unprovisioned without failing. DECO_CONTROL_PLANE_URL still overrides the new default.

Written for commit 1904f17. Summary will update on new commits.

Review in cubic

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]>
@JonasJesus42
JonasJesus42 requested a review from a team October 5, 2026 16:01
@JonasJesus42
JonasJesus42 merged commit f54ea6c into main Oct 5, 2026
1 check passed
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 7.72.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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