Fix #162: fall back to the release page when the GitHub API is rate-limited #190
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/isaac-btw--AmericasLauncher!190
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-190"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@laalaalaee on GitHub · 2026-12-04 12:02 UTC · original
laalaalaee:fix/update-check-rate-limit→main· +101 −10 · 1 files · 1 commits · merged 2026-12-04 18:12 UTCFixes #162.
Without a token the GitHub API allows 60 requests an hour per IP, so players on a shared IP (CGNAT, VPN, campus networks) get
403 (rate limit exceeded)from Check for Updates and Auto Update.Change
Only
Services/LauncherUpdateService.cs:github.com/<repo>/releases/latest, which redirects to/releases/tag/<tag>. github.com pages are not under the API rate limit.release.ymlnames it:AmericasLauncher-<tag>-win-x64.zip) tells whether it is uploaded yet and its size. The download is then checked against that size. If the zip isn't there yet, it is reported like a release without its zip (Open Release).update.log.Testing
dotnet build -c Releasepasses (0 errors, no new warnings).X-RateLimit-Reset:FoxHound, Leila and the Auto Save list also call the GitHub API and share the same limit; this PR keeps to the launcher update check shown in the issue.
@copilot-pull-request-reviewer[bot] on GitHub · 2026-12-04 12:02 UTC · original · reviewed
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
@C1berCanarri on GitHub · 2026-12-04 16:19 UTC · original · approved these changes