Skip to content

fix: allow authenticated local Railway deploys - #30

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

fix: allow authenticated local Railway deploys#30
CountableNewt merged 3 commits into
devfrom
sam/mcp-2-build-skill-discovery-activation-capability-resolution-and

Conversation

@CountableNewt

@CountableNewt CountableNewt commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • keep GitHub Actions fail-closed when the environment-scoped Railway token is absent
  • allow a clean local exact-SHA deployment when the Railway CLI session is authenticated
  • add a regression fixture covering local success, CI token rejection, and unauthenticated local rejection
  • replace stale Development rollback instructions with Railway deployment snapshots and an additive-schema recovery boundary
  • align operator docs with automatic Development, protected manual Production, full SHA arguments, and environment-scoped GitHub secrets

Why

The first Development workflow passed CI but correctly stopped before upload because RAILWAY_DEVELOPMENT_TOKEN is not configured. The release script also rejected the authenticated local CLI fallback unconditionally. This narrows the token requirement to CI while retaining every branch, SHA, clean-tree, remote-tip, project, environment, and service guard. The self-review also found stale and incomplete release instructions that named already-decommissioned providers or omitted the required SHA.

Testing

  • bash scripts/test-railway-deploy.sh
  • git diff --check
  • full required CI pending on final head 7b75e8b

Release

After required CI and merge to dev, deploy the exact merge SHA Gateway first, then Web. Application rollback restores prior Railway service deployments while leaving additive schema in place. Production remains gated by MCP-4 and explicit approval.

Linear: MCP-5

Keeps CI fail-closed on environment-scoped tokens while permitting the exact-SHA release script to use a verified local Railway CLI session. Adds a regression fixture for both paths.
@linear-code

linear-code Bot commented Aug 31, 2026

Copy link
Copy Markdown

MCP-2

Removes stale references to decommissioned providers and records the Railway snapshot and additive-schema recovery boundary.
Documents automatic Development, protected manual Production, full SHA arguments, and environment-scoped GitHub secrets consistently.
@CountableNewt
CountableNewt merged commit f7bff5a into dev Aug 31, 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