Skip to content

🐛 :octocat: fix infinite loop on repos listing#6244

Merged
slntopp merged 1 commit intomainfrom
mik/github/fix-add-failsafe
Dec 2, 2025
Merged

🐛 :octocat: fix infinite loop on repos listing#6244
slntopp merged 1 commit intomainfrom
mik/github/fix-add-failsafe

Conversation

@slntopp
Copy link
Copy Markdown
Member

@slntopp slntopp commented Dec 2, 2025

Improvements:

  • The worker pool size is now dynamically calculated based on the expected number of repository pages, rather than using a fixed value.
  • Added a failsafe mechanism in the repository fetching logic to stop requesting additional pages when the expected number of pages plus pending workers has been reached. This helps prevent unnecessary requests and handles cases where permission issues may prevent all repositories from being listed.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 2, 2025

Test Results

4 652 tests  ±0   4 648 ✅ ±0   2m 21s ⏱️ +3s
  415 suites ±0       4 💤 ±0 
   31 files   ±0       0 ❌ ±0 

Results for commit 39338ae. ± Comparison against base commit d6addbb.

@slntopp slntopp linked an issue Dec 2, 2025 that may be closed by this pull request
@slntopp slntopp marked this pull request as ready for review December 2, 2025 17:12
@slntopp slntopp merged commit 1d10070 into main Dec 2, 2025
17 checks passed
@slntopp slntopp deleted the mik/github/fix-add-failsafe branch December 2, 2025 17:52
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GITHUB: listing repo's loops forever and exceeds rate limit

2 participants