Skip to content

feat(github_support.py): improve HTTP code handling and rate limit using for GitHub#205

Draft
raahed wants to merge 1 commit intosw360:mainfrom
raahed:203-findsources-fails-on-invalid-github-api-response-keyerror-url
Draft

feat(github_support.py): improve HTTP code handling and rate limit using for GitHub#205
raahed wants to merge 1 commit intosw360:mainfrom
raahed:203-findsources-fails-on-invalid-github-api-response-keyerror-url

Conversation

@raahed
Copy link

@raahed raahed commented Mar 4, 2026

Implements proper handling of different HTTP codes according to the GitHub REST API documentation.

  • improves rate‑limit handling to wait only for the necessary time instead of retrying after 60 seconds,
  • handles other error codes, e.g., 502 when the gateway times out.

@raahed raahed linked an issue Mar 4, 2026 that may be closed by this pull request
Copy link
Collaborator

@tngraf tngraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far. Please ensure that all unittests are running.

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.

Findsources fails on invalid GitHub API response (KeyError: 'url')

2 participants