-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Hitting secondary rate limits and other errors when fetching tags #170
Comments
Same here in https://github.com/aris-space/helios-procedures/actions/runs/8940367533 Did you ever resolve this? Looking https://github.com/containers/youki/blob/30e3ab5c2d42fbbe621a1add1841218f566ee898/.github/workflows/tagpr.yaml I assume you are still using the action. |
Hey, unfortunately I haven't yet found any way to resolve this. The best is I wait for a few minutes, hoping that the timeout for the rate limit passes and manually re-run it. (yes, we are still using this action). @Songmu , can you help out , suggesting what can be done. If you can suggest any solution, I'd be happy to try and contribute the fix. |
The same problem sometimes occurs in my repositories, and I have been dealing with it by manually retrying. A quick look into “Secondary Rate limit” turned up the following information. https://github.com/gofri/go-github-ratelimit I am guessing that these may be the solution, but at this point I cannot be sure. |
After repeating the experiment several times, we noticed an interesting fact. I noticed that tagpr's own workflow used tagpr/.github/workflows/tagpr.yaml Lines 14 to 30 in a667113
Now it seems to work more stable than when using I'm not sure if this is a tagpr issue or a GitHub API issue, but I was able to work around the problem with the above. However, I don't think this is a very common method because it requires a GitHub App to be prepared for deployment. |
The above PR addresses the Secondary Rate Limit error by implementing retries. However, it does not address the other error. If necessary, please create a separate issue for the remaining error. |
@snaka thanks a lot for your investigation and fix! I haven't seen the second issue in a while, I'll create a new issue if needed. Thanks! |
When using this action for generating a tag PR, we are getting error
Corresponding CI run : https://github.com/containers/youki/actions/runs/8554693630/job/23440530901
Also, When this was run on a PR merged by dependabot, it errored with
Corresponding CI run : https://github.com/containers/youki/actions/runs/8548546699/job/23438881389
Is there anything that can be done on our side to fix this issue, or any changes needed in this action itself?
Thanks!
The text was updated successfully, but these errors were encountered: