Skip to content

fix(gitter): fix fallback when rate limited#5375

Merged
Ly-Joey merged 1 commit into
google:masterfrom
Ly-Joey:fix-gitter-reclone-403
May 15, 2026
Merged

fix(gitter): fix fallback when rate limited#5375
Ly-Joey merged 1 commit into
google:masterfrom
Ly-Joey:fix-gitter-reclone-403

Conversation

@Ly-Joey

@Ly-Joey Ly-Joey commented May 15, 2026

Copy link
Copy Markdown
Contributor

#5299 adds reclone fallback at the first sign of trouble.
If gitter hits a rate limit from GitHub (or other hosts), the fallback logic will make it attempt to reclone (which will still fail with 403).

This leaves us with no repo, which is worse than an outdated local repo.
This PR adds logic to skip the fallback attempt if the error is 403 and log warning accordingly.

@Ly-Joey Ly-Joey merged commit aaabf46 into google:master May 15, 2026
22 checks passed
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