minder icon indicating copy to clipboard operation
minder copied to clipboard

Handle rate limiting errors for GitHub API

Open Vyom-Yadav opened this issue 1 year ago • 2 comments

Describe the issue

Currently, we don't handle rate limit exceeded errors from the GitHub API. From GitHub API Docs:

Continuing to make requests while you are rate limited may result in the banning of your integration.

GitHub suggests Best practices for using the REST API, which mentions handling the rate limit exceeded errors.

Discord Thread: https://discord.com/channels/1184987096302239844/1185287949240242258/1201083912521252885

  • [x] Add client caching to handle rate limiting (https://github.com/stacklok/minder/pull/2271)
  • [ ] Update all endpoints to handle rate-limiting errors

To Reproduce

No response

What version are you using?

main

Vyom-Yadav avatar Feb 01 '24 19:02 Vyom-Yadav