a year ago
We currently have all our services rebuilt upon merges to the repo and it gets quite lengthy. Some services take up to 25 mins to rebuild due to the queue. It would be nice if we could prioritise the order of services to be built in? I know there are other solutions such as not rebuilding every service based on a single push to something unrelated but this would still be a nice feature rather than the rebuild to just being randomly queued.
9 Replies
a year ago
Hello Jason,
For this, I would definitely recommend using watch paths -
https://docs.railway.com/guides/build-configuration#configure-watch-paths
Status changed to Awaiting User Response Railway • about 1 year ago
brody
Hello Jason,For this, I would definitely recommend using watch paths -https://docs.railway.com/guides/build-configuration#configure-watch-paths
a year ago
yeah I've seen this. It wouldn't exactly work for us as our repo is a monorepo and we pretty much build everything in house so alot of the apps within are reliant on other packages.
Status changed to Awaiting Railway Response Railway • about 1 year ago
Status changed to Awaiting User Response Railway • about 1 year ago
brody
Watch paths work great for mono-repos, that is their main usecase!
a year ago
yeah but a watch path for a single service would be like 6-8 different paths to watch haha. not to mention that some would just get retriggered due to another service watching the same path
Status changed to Awaiting Railway Response Railway • about 1 year ago
a year ago
I'm not aware of there being any limits for how many watch paths you can specify.
Status changed to Awaiting User Response Railway • about 1 year ago
brody
I'm not aware of there being any limits for how many watch paths you can specify.
a year ago
yeah but that's the point it would exponitially grow. not to mention the issue where something changes in a specific path but not directly related to a different service watching the same path. We also currently have about ~50 services so you could imagine.
Status changed to Awaiting Railway Response Railway • about 1 year ago
a year ago
also this is more of just a convience thing. so no sweat but would be nice to something of the sort
Status changed to Awaiting User Response Railway • about 1 year ago
a year ago
ahh yeah that's my fault just noticed was posted as a question rather than feedback. thanks!
Status changed to Awaiting Railway Response Railway • about 1 year ago
