a year ago
We set up a "PR template environment" with a simple stack of services we want deployed as a preview for new PRs on on our repos and enabled the "PR Environments" option. Generally, this works — new PRs create a new environment clone of the template environment, and deploy everything pretty much immediately.
However, every now and then, some or all of the services in these auto-generated PR environments just never deploy, instead just saying "No deploys for this service" (see screenshot). Doesn't seem to be a matter of waiting either — usually they deploy pretty much immediately, but sometimes even after 30+ minutes almost all of the services remain undeployed.
6 Replies
Another thing to note is that when this happens, the auto-generated bot response for the preview deployment on GitHub looks like this (missing data in the table).

it's happening to at least one service on almost every PR we open now. Which service(s) are affected seems entirely random. Sometimes they are deployed from GitHub repos, sometimes from templates.
These are services f4f232cb-687d-4566-96b8-5536eb0c640c and 588210c4-a6fe-49c4-a65d-419af5c45c3d. The PR that created the environment is here: https://github.com/drips-network/app/pull/1280

The affected services are also linked as expected to the correct branches. Everything looks right, they just never get deployed. And the only way to fix it I found is to close & re-open the PR until you get lucky and all the services deploy


another example: f4f232cb-687d-4566-96b8-5536eb0c640c PR: https://github.com/drips-network/app/pull/1281