fix: allow authenticated local Railway deploys - #30
Merged
CountableNewt merged 3 commits intoAug 31, 2026
Merged
Conversation
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.
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.
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 changed
Why
The first Development workflow passed CI but correctly stopped before upload because
RAILWAY_DEVELOPMENT_TOKENis 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.shgit diff --check7b75e8bRelease
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