Skip to content

fix: finish Railway custom-domain TLS setup - #34

Merged
CountableNewt merged 3 commits into
devfrom
sam/mcp-2-build-skill-discovery-activation-capability-resolution-and
Sep 2, 2026
Merged

fix: finish Railway custom-domain TLS setup#34
CountableNewt merged 3 commits into
devfrom
sam/mcp-2-build-skill-discovery-activation-capability-resolution-and

Conversation

@CountableNewt

Copy link
Copy Markdown
Collaborator

What and why

Complete the custom-domain dashboard migration from Fly to Railway. The Gateway already returns Railway DNS requirements, but the UI ignored them and could keep showing stale hostname/TLS results after another save.

Changes

  • Show every Railway ownership, routing, and certificate-validation DNS record with independent status.
  • Remove Fly-only routing alternatives and labels; retain deprecated API fields for compatibility.
  • Use the query cache as the current result, cancel stale reads, prevent overlapping writes, and expose save failures.
  • Document environment-scoped runtime credentials and add provider-state regression coverage.

Verification

  • 203 Swift backend tests; 149 frontend tests, including 12 custom-domain regressions.
  • Frontend and shared-client typechecks, lint, Next production build, Swift release build.
  • Railway deployment-script tests and diff checks.
  • Independent code review: no actionable findings.
  • Real UI with mocked API at 1280x720: pending -> issued -> replacement hostname, no console errors or horizontal overflow.

Deployment and risk

Development only. Production is not authorized and must remain unchanged. Runtime RAILWAY_PROJECT_TOKEN and CI RAILWAY_DEVELOPMENT_TOKEN are separate prerequisites; existing custom-domain TLS health does not prove self-service provisioning. Authenticated live new-domain issuance remains a post-deploy acceptance check. No schema/data migration or new dependency.

Tracks MCP-4.

Document runtime credential prerequisites and keep ownership, routing, and certificate readiness independent during the Fly migration. Tracks MCP-4.
Replace stale Fly-only setup controls and keep current query data authoritative so DNS checks and hostname changes cannot display obsolete certificates. Covers missing runtime credentials and provider DNS errors. Tracks MCP-4.
…discovery-activation-capability-resolution-and
@linear-code

linear-code Bot commented Sep 2, 2026

Copy link
Copy Markdown

MCP-2

@CountableNewt
CountableNewt merged commit 4656396 into dev Sep 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant