I tried to implement the proposed solution. Unfortunately, it doesn’t work. The fast service comes online before the slow one is finished deploying. There must be something I don’t understand. Here is what I did:
Unfortunately, the fast service doesn’t wait for the slow one. It does import the ‘host’ value, but i think that it reads it from the previously running instance, not the one currently deploying.
I am also concerned about database migrations in this setup. Will the fast service do the migration, and leave the already running older instance access the new database schema with the outdated code?
I’d encourage you to upvote this feature request at https://feedback.render.com/features/p/express-servicejob-dependencies-in-blueprints. It helps to include as much context as possible about your particular use case, the problem you’re looking to solve, and how you’re getting around it today to help us develop the best possible solution. It sound like you may have a slightly different set of requirements than other, so capturing that will be very helpful for the team.
We rely heavily on customer feedback as a part of our planning and product roadmap process, so capturing interest on the feature request page is very helpful.