Deployment stuck on build phase — 10+ minutes, no progress
rochan8n
HOBBYOP

a month ago

Hi Railway team,

My deployment has been stuck in the build phase for over 10 minutes. Normal build time for this service is approximately 2–3 minutes.

Project details:

  • Service: Node.js (Nixpacks)
  • The build uses a small set of nixpkgs: chromium, nss, freetype, freetype-dev, harfbuzz, ca-certificates, ttf-freefont
  • This same configuration has been building successfully for weeks

What happened:

I did a git push --force to revert an unwanted commit (removed one commit from HEAD), which triggered a new deployment. The build started immediately but has been running for 10+ minutes with no signs of completion.

What I've tried:

  • Canceling and re-triggering the deployment — same behavior
  • The nixpkgs configuration hasn't changed from the previously working state

I noticed a similar report on Railway Station (deployment-taking-a-long-time-731661d1) where it was attributed to build cache misses during platform scaling. Could this be a platform-side caching issue on your end?

Any help would be appreciated. Happy to share the service/deployment ID if needed.

Solved

3 Replies

Status changed to Awaiting Railway Response Railway about 1 month ago


a month ago

Build cache is specific to individual builder machines. We use sticky builds so your service consistently lands on the same machine, but occasionally a builder gets cycled out for upgrades, which means the cache is lost. This build is installing everything from scratch, and chromium in particular is a heavy package. Once this build completes, your cache will be re-established on the new builder and subsequent builds should return to normal speed.


Status changed to Awaiting User Response Railway about 1 month ago


vincentn-waivern
PRO

a month ago

I'm seeing the same thing with a very similar application, again which has been building successfully for weeks. This behaviour is completely unlike what I've seen up to now from deploys on Railway. I have the same application deployed across your US and EU servers. The EU servers slowed down in the late EU morning, while the US was still deploying smoothly and quickly. Now the problem is occurring on both sides of the pond. Has something changed on the Railway side?


Status changed to Awaiting Railway Response Railway about 1 month ago


vincentn-waivern

I'm seeing the same thing with a very similar application, again which has been building successfully for weeks. This behaviour is completely unlike what I've seen up to now from deploys on Railway. I have the same application deployed across your US and EU servers. The EU servers slowed down in the late EU morning, while the US was still deploying smoothly and quickly. Now the problem is occurring on both sides of the pond. Has something changed on the Railway side?

a month ago

Please open your own thread. Jumping onto someone else's thread does not allow us to provide assistance to individual users in an efficient manner.


Status changed to Awaiting User Response Railway about 1 month ago


Railway
BOT

a month ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 29 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...