Waiting for dependencies to deploy
tttc6
PROOP

3 months ago

I deploy using the railway redeploy CLI command from GitHub Actions, where my services are pointed at container images on GHCR. As of today, every deployment is taking around an hour to complete; hanging on "Pre deploy > Waiting for dependencies to deploy..." as you can see in the attached screenshot.

I have changed two things recently: I now run my database migrations from a pre-start command (previously these were run from GitHub Actions) which invokes a script in the container, and I have disabled public access to my Postgres instances. The strange thing is that neither change seemed to directly coincide with the extended deploy times. The migration script is tolerant of Serverless start-up time, and usually only takes a minute or so to complete. The logs don't appear to show anything useful.

Have I inadvertently linked 'dependencies' in my services?

Many thanks in advance for your help.

Attachments

Solved

3 Replies

Railway
BOT

3 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


3 months ago

Hey! Can you try toggling on "Use Metal Build Environment" in service settings to see if this improves?


Status changed to Awaiting User Response Railway 3 months ago


tttc6
PROOP

3 months ago

Hi Ray. Thanks, that appears to resolve it.


Status changed to Awaiting Railway Response Railway 3 months ago


Status changed to Solved tttc6 3 months ago


Loading...