3 months ago
deployment ID (a1bfad6e-8d1e-404f-9ec4-914e9b21de5e) and mention:
Snapshot service timing out (~15 min) instead of completing normally (~27 sec)
7 consecutive failures in a 25-minute window
Config and repo are confirmed working (last deploy succeeded 90 min ago with identical setup)
1 Replies
3 months ago
This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.
Status changed to Open Railway • 3 months ago
13 days ago
Seven failures in 25 minutes where the same repository/config had snapshotted in ~27 seconds 90 minutes earlier is strong evidence that the failure is in source snapshot ingestion, before the build, rather than in the Dockerfile or runtime. A build/deploy change cannot fix a deployment that never leaves Initializing → Snapshot code.
I would preserve one failed ID and run one controlled source test instead of repeatedly redeploying:
- Record the UTC window, the successful deployment ID/commit and all failed deployment IDs, source type (GitHub or CLI), repository root, archive size and file count. The provided failure
a1bfad6e-8d1e-404f-9ec4-914e9b21de5eis the first correlation key for Railway staff. - If this is GitHub-sourced, use Command Palette → Deploy Latest Commit exactly once. Dashboard Redeploy reuses the same source snapshot; it is not a fresh source-ingestion test.
- If it is CLI-sourced, retry from a clean checkout with the current CLI using
railway up --verbose --jsontargeted to the exact project/environment/service. Railway documents thatupcreates and uploads a new archive, unlikeredeploy. Save the final structured result and deployment URL, but do not publish project tokens or environment values. - Before that CLI control, make the upload deterministic: exclude caches, coverage, test artifacts and generated output in
.railwayignore; keepnode_modulesand.gitexcluded; confirm the intended directory/root. A very large file count or changing generated tree can make the upload/snapshot path the differentiator even when app code is identical. - Interpret the result:
- A fresh CLI archive succeeds while GitHub snapshotting fails: reconnect/repair the GitHub source after verifying branch and watch paths.
- GitHub succeeds while CLI fails: preserve CLI version, archive size and verbose result for the upload/snapshot team.
- Both fresh paths remain stuck in SNAPSHOT_CODE with empty build logs: stop retrying. That is a Railway initialization incident; ask staff to trace the snapshot operation for the deployment IDs and UTC window.
Do not delete the healthy active deployment or force a source switch until the control deployment reaches SUCCESS. This keeps production available and gives support an A/B result rather than seven equivalent failures.
Official references: