Skip to content

Fix Railway deploys of the sync server - #13

Merged
lobbystack merged 1 commit into
mainfrom
fix/railway-dockerfile
Sep 29, 2026
Merged

lobbystack merged 1 commit into
mainfrom
fix/railway-dockerfile

Conversation

@lobbystack

Copy link
Copy Markdown
Owner

Every Railway deploy of the sync server (sync.noura.app) has failed since at least September 16. Railway rejects the Dockerfile before building:

dockerfile invalid: flag '--mount=type=cache,target=/root/.cargo/registry' is missing an id argument at Line 9

Railway requires cache mount ids prefixed with the Railway service ID. Hardcoding that ID would tie the Dockerfile to one deployment, and the mounts only cached one cargo install (wasm-bindgen-cli), so this removes them. Builds take about two minutes longer on a cold cache; nothing else changes.

The Server integration workflow builds the image in CI (docker build -f apps/server/Dockerfile).

Railway rejects cache mounts without an id prefixed by its service ID,
so every sync server deploy since mid-September failed before building.
The mounts only cached one cargo install.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T18:05:57.226191Z 29c6e6a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lobbystack
lobbystack merged commit 7e95b40 into main Sep 29, 2026
7 checks passed
@lobbystack
lobbystack deleted the fix/railway-dockerfile branch September 29, 2026 23:22
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