Repository navigation
chore: move Railway service config to Config as Code - #46
Merged
Merged
Conversation
Railway stops reading railway.json-style config files on 2026-12-01. Define Gateway and Web source/build/deploy settings (plus the Postgres database, its volume, and preserve() entries for every service variable, since apply deletes anything undeclared) in .railway/railway.ts, with the branch chosen per environment. Remove railway/gateway.json and railway/web.json and their CI check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s-code # Conflicts: # docs/test-plans/README.md
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.
Railway stops reading
railway.json-style config files on 2026-12-01. This moves the Gateway and Web settings fromrailway/gateway.jsonandrailway/web.jsoninto.railway/railway.ts.What's in
.railway/railway.tsdevin Development andmainin Production (viactx.isEnvironment), Wait for CI on, root directory/./healthand a 600s healthcheck timeout; Web uses Railpack with Turbo,bun --cwd apps/web startand/.preserve()).railway config applydeletes anything undeclared: the first draft planned to delete the dev database and 29 variables. Values stay in Railway and never enter source.mcp.samclemente.me) are safe.railwaySDK (3.11.0) as a root dev dependency, which the CLI needs to evaluate the file.Current plans (read-only)
rootDirectory/services/mcp-gateway→/The services still point their "Railway Config File" setting at
/railway/*.json, which this PR deletes.railway link --project 3647f696-1766-459a-ac3f-0482e5a1f26c --environment dev && railway config plan && railway config apply--environment production, checking the plan still shows 0 to destroy.devbuild is the first build fully driven by.railway/railway.ts.Other changes
jqconfig check fromscripts/ci.sh; update the (currently unused) path filters inscripts/ci-detect-changes.sh,railway/README.mdand the test-plans doc.🤖 Generated with Claude Code