clowarden icon indicating copy to clipboard operation
clowarden copied to clipboard

GitHub API rate limit

Open tegioz opened this issue 1 year ago • 2 comments

With the actual number of repositories and teams, a validation job takes ~20 API requests, whereas a reconciliation one takes ~500 requests. The installation access token we'll be using for the CNCF org (enterprise cloud) has a rate limit of 15000 requests per hour, which means that at the moment we should be be able to handle a bit less than 30 pull requests per hour on the CNCF people repo that modify the config.yaml permissions file.

We have some ideas to both reduce the API usage and improve how the situation is handled should the rate limit be reached, but in the meantime we wanted to bring awareness about this limitation (although we don't expect it to be a problem in the short term).

/cc @jeefy @RobertKielty

tegioz avatar Jun 12 '23 06:06 tegioz