Skip to content

chore(railway): delete the per-service railway.toml files - #300

Merged
jpr5 merged 1 commit into
mainfrom
chore/railway-drop-service-configs
Nov 23, 2026
Merged

jpr5 merged 1 commit into
mainfrom
chore/railway-drop-service-configs

Conversation

@jpr5

@jpr5 jpr5 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #299. This deletes the remaining config-as-code files. Railway stops reading them on 2026-12-01.

State before this PR (production)

railway config migrate status reports: "No services in production read Config as Code."

Each service had its settings filled in and its Config file path cleared, one at a time. Each was then rebuilt from source at 571d31b, which has no root railway.toml. All times are PST, 2026-11-23.

Service Deployment Dockerfile used (from the build log) Health
outpost-web ec9764d8 (10:31 AM, from the #299 merge) turbo prune @copilotkit/outpost-web /api/health 200, database: connected
outpost-discord-bot b6e5a5f4 (10:31 AM) turbo prune @copilotkit/outpost-discord-bot logged in, serving 2 guilds
outpost-worker ae4674df (10:32 AM) turbo prune @copilotkit/outpost-worker Railway healthcheck /health succeeded; migrations verified; scheduler started
outpost-github-app 7f0c05f0 (10:33 AM) turbo prune @copilotkit/outpost-github-app Railway healthcheck /health succeeded; /health returns service: github-app; unsigned webhook POST returns 400, not 404

All four deployments report configFile: null, with the builder, Dockerfile path, healthcheck and restart policy all coming from service settings.

The files for linear-sync, teams-bot, slack-bot and release-bot were never read, because those services had no Config file path set. Their values are now in the service settings in production and staging.

Staging

Staging deploys from the staging branch, which still has every file, including the root railway.toml. Its services keep their Config file paths for now, so this PR does not affect staging. Migrating staging is a separate decision.

Checks

Merging redeploys outpost-release-bot, because /apps/release-bot/** is in its watch paths. That run is a normal announcement run outside the schedule, and it doubles as the check that the release bot builds without any config file.

Railway stops reading config-as-code files on 2026-12-01. In production,
outpost-github-app, outpost-worker and outpost-discord-bot now carry
every setting their files supplied (Dockerfile builder and path,
healthcheck, restart policy) in their service settings, and their
Config file paths are cleared. Each was rebuilt from source and verified
on the right Dockerfile, healthy, before this change.

The files for linear-sync, teams-bot, slack-bot and release-bot were
never read: those services had no Config file path set. Their values
are now in the service settings too.
@jpr5

jpr5 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Local Docker builds on this branch (docker buildx --builder desktop-linux --load) pass for release-bot, github-app, worker and discord-bot (exit 0).

@jpr5
jpr5 merged commit 18c1d23 into main Nov 23, 2026
3 checks passed
@jpr5

jpr5 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Verified after merge (PST, 2026-11-23).

The first main CI run at 18c1d23 failed: the Test step's log stopped mid-test with no summary. The tree is identical to this PR's, which passed. The rerun passed at 10:52 AM. Railway skipped its deploys while CI was red, so I rebuilt each service from source, one at a time:

Service Deployment Built from Result
outpost-discord-bot 500ffcfa (10:54 AM) apps/discord-bot/Dockerfile, no config file logged in, serving 2 guilds
outpost-worker b72e2ea3 (10:56 AM) apps/worker/Dockerfile, no config file /health healthcheck succeeded; worker started
outpost-github-app e0bd2c19 (10:57 AM) apps/github-app/Dockerfile, no config file /health returns service: github-app; unsigned webhook POST returns 400
outpost-web 48a86cbc (10:58 AM) apps/web/Dockerfile, no config file /api/health 200, database: connected
outpost-release-bot 2596cd66 (10:59 AM) apps/release-bot/Dockerfile, no config file cron 0 * * * *, restart NEVER, 13 watch paths, all kept

outpost-release-bot is not connected to a GitHub repo in production, so its deploys are CLI uploads. This one was railway up from a clean git archive of 18c1d23.

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