Skip to content

Conversation

@GrantBirki
Copy link
Member

This pull request refactors how issues are fetched and cached from GitHub, improves retry handling for label creation, and updates related tests for better coverage and correctness.

The main issue this library has been facing with larger repos is getting errors like so:

error search_issues() call: GET https://api.github.com/search/issues?per_page=100&q=repo%3Aorg%2Frepo+label%3Aissue-db: 403 - You have exceeded a secondary rate limit. Please wait a few minutes before you try again.

This was almost entirely due to the fact that GitHub's search API endpoints have very strict rate limits. The solution is to just not use the search API as the same functionality can be achieved via GitHub's core rest api endpoints related to fetching issues.

@GrantBirki GrantBirki merged commit e3d482a into main Sep 17, 2025
17 checks passed
@GrantBirki GrantBirki deleted the issue-search-improvements branch September 17, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants