auto icon indicating copy to clipboard operation
auto copied to clipboard

Github abuse rate limit error

Open restfulhead opened this issue 9 months ago • 3 comments

For repos with a lot of commits/pull-requests, the release process fails with:

✖  error     Went over abuse rate limit GET /repos/{owner}/{repo}/releases/latest, retrying in 1m.
✖  error     Went over abuse rate limit GET /repos/{owner}/{repo}/issues/{issue_number}, retrying in 1m.
✖  error     Went over abuse rate limit GET /repos/{owner}/{repo}/issues/{issue_number}, retrying in 1m.
✖  error     Went over abuse rate limit GET /repos/{owner}/{repo}/issues/{issue_number}, retrying in 1m. 

Expected behavior

Release process should not break.

Environment information:

v11.1.6

Additional context

This seems to be a secondary rate limit error. I don't see any prior log messages like Request quota exhausted....

octokit/plugin-throttling has a fallbackSecondaryRateRetryAfter configuration option. Perhaps that could be exposed also in the auto configuration so that I could increase it?

Alternatively we could upgrade @octokit/plugin-throttling to >=v5.2.3, because the rate limit was increased from 5 to 60.

Update: The upgrade seems to be the way to go, because not only was the rate limit increased, also the implementation was improved.

restfulhead avatar May 02 '24 00:05 restfulhead

I will def buy you a coffee if you land that PR!

hipstersmoothie avatar Jun 19 '24 19:06 hipstersmoothie

Our team is also blocked by that issue, we'd love an update on its progress 🙏

We already helped by fixing some failing tests that should speed up the expedition of this change.

VictorPascualV avatar Jul 02 '24 09:07 VictorPascualV

Our team is impacted by this as well. Any updates on the issue? -Thx

nick-infinitegiving avatar Oct 02 '24 20:10 nick-infinitegiving