Repository navigation
chore(railway): drop the root railway.toml; web and release-bot build from service settings - #299
Merged
Merged
Conversation
… from service settings Railway stops reading config-as-code files on 2026-12-01. The root railway.toml is also read by every service that has no Config file path set, and it names apps/web/Dockerfile, so it made outpost-release-bot build the web image on 11/23 and does the same to any service whose path is cleared. outpost-web and outpost-release-bot already carry every setting it supplied (Dockerfile builder, apps/web/Dockerfile) in their service settings. The per-service railway.toml files stay until each service's settings are filled in and its Config file path is cleared; deleting a file while its path is still set fails the build. Document the per-service settings that replace the files.
Contributor
Author
|
Green, verified after merge (times in PST, 2026-11-23): |
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.
Why
Railway stops reading config-as-code files (
railway.toml/railway.json) on 2026-12-01.The repo-root
railway.tomlis the riskiest of them. Railway reads it for every service that has no Config file path set, and it namesapps/web/Dockerfile. That is howoutpost-release-botbuilt the web image on 11/23. It also blocks the rest of the migration: clearing a service's Config file path makes that service read the root file, so it builds the web image.What
railway.toml.outpost-webandoutpost-release-botalready carry every setting it supplied (Dockerfile builder,apps/web/Dockerfile) in their service settings, in production and staging.docs/deployment.md, release-bot README, docs site).The per-service
railway.tomlfiles stay for now. Each one is deleted in a follow-up PR after that service's settings are filled in and its Config file path is cleared. Deleting a file while its path is still set fails the build.Red / green
Red (staging, 10:11 AM PST today): I cleared the Config file path on staging
outpost-discord-bot, withdockerfilePathandRAILWAY_DOCKERFILE_PATHboth set toapps/discord-bot/Dockerfile, and triggered a fresh build of the staging branch. That branch still has the rootrailway.toml. Deployment10573754reportedconfigFile: /railway.tomlanddockerfilePath: apps/web/Dockerfile. Its build log ranturbo prune @copilotkit/outpost-web. I rolled it back to its previous deployment at 10:15 AM PST, and it was healthy again.Green: after this merges,
outpost-webin production must rebuild with no config file (configFile: null) and still useapps/web/Dockerfile. Then each remaining service is moved to its settings and verified one at a time. The verification is in the comments below.Checks
classifier-backtracking.test.ts. It asserts empty stderr, and local Node 26 prints aDEP0205deprecation warning there. CI runs Node 24, and this diff touches no code.apps/web/Dockerfilebuild: pass.