-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Should we add some logic to retry 502 Server errors of the GitHub API? #287
Comments
Running into the same issue intermittently since around the same date you mentioned. |
Same here |
Thank you for reporting, we will continue to investigate whether two or three retry-requests would make the action more reliable. In the meantime, I would suggest the following workaround from the first pre_job-sample in the README: jobs: By setting |
Thanks @fkirc! Good idea, I forgot to share this, it makes looking at PR checks a lot less noisy for now for us. |
Hey @Jolg42, thank you for the detailed issue report! |
@paescuj At the moment, trying to call the public URL https://api.github.com/repos/prisma/prisma/actions/workflows/2176058/runs?per_page=100
It sometimes works and sometimes not 🤷🏼 |
So a retry could work, I think. By the way, https://www.npmjs.com/package/p-retry is quite nice for this. |
The GitHub Support Team told me they fixed it, it looks good so far, I do not see 502 errors anymore 🎊 |
I can confirm it's working for us again as well. Thanks for looking into this. |
Thank you very much for your feedback! Great to hear that it is working again! 🎉 |
I think one of the first occurrence of this error is on October 20th https://github.com/prisma/prisma/actions/runs/3288801017/jobs/5419574155
And since then it happens for all Pull Requests 😢
The API call which errors is https://api.github.com/repos/prisma/prisma/actions/workflows/2176058/runs?per_page=100
So this is not an issue about this action but an issue with GitHub API here (I just reported it on https://support.github.com/contact/bug-report - Private ticket is https://support.github.com/ticket/personal/0/1845305)
Examples
https://github.com/prisma/prisma/actions/runs/3288801017/jobs/5419574155
https://github.com/prisma/prisma/actions/runs/3311618156/jobs/5467280417
https://github.com/prisma/prisma/actions/runs/3300486832/jobs/5445032786
https://github.com/prisma/prisma/actions/runs/3311727554/jobs/5467525141#step:2:15 copy pasted below:
The text was updated successfully, but these errors were encountered: