Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku infinite deployment attempt even on failure #203

Open
yathomasi opened this issue May 10, 2023 · 2 comments
Open

Heroku infinite deployment attempt even on failure #203

yathomasi opened this issue May 10, 2023 · 2 comments
Labels
p0-critical 🐛 type: bug Something isn't working.

Comments

@yathomasi
Copy link
Contributor

We have been getting infinite deployment issue with heroku on all of our websites

I opened a ticket on Heroku Support in addition to this to research more and the Heroku team replied it could be because we have Wait for CI to pass. So upon digging further, it turns out we have a loop because of Wait for CI to pass in Heroku and link check GHA workflow which gets triggered on deployment status. Since it's getting triggered even on failure causing the change in CI which in turn triggers the Heroku.

There is a few more test I am doing

@shcheklein
Copy link
Member

it could be because we have Wait for CI to pass

When enabled, new review apps will wait to deploy until Heroku CI passes.. Do we actually need this? Is it equivalent of waiting for linters and GH CI to pass?

@yathomasi
Copy link
Contributor Author

Is it equivalent of waiting for linters and GH CI to pass?

Yes, we have been using it that way so that we can fail a few PRs(like renovate or branch with certain phrases) and it would halt the deployment. It was a hacky implementation as there is no simple way Heroku provides us to limit a few PRs from deployment.

I tried a few different ways to see if skipping GHA that gets triggered based on deployment_status and allowed it only when it's necessary. But, it still triggered the issue.

I will try to see with Heroku Support to see any way we can fix this. Otherwise, I think we should proceed by disabling the Wait for CI to pass and instead further limit the no of renovate PRs and maybe schedule monthly.

@shcheklein shcheklein added p0-critical 🐛 type: bug Something isn't working. labels May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p0-critical 🐛 type: bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants