-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate gracefully failing if we encount a 502 from GitHub during sync_repos #1757
Comments
#1549 feels related |
One customer had found that complete logout and logging back into GitHub might have helped. (And added clarity that before it was not an issue of authorizing my account to their org - that had been authorized). |
Changes in order of importance:
|
the 502s are a problem on their own which will hopefully be solved with codecov/shared#232 and codecov/shared#233 as for gracefully failing in previously, for |
status update: two of the three PRs shipped, and it seems the problem was solved for the customer who reported tons of 5XXs blocking their usage of the service the leaving this issue open until the experiment is cleaned up |
aiaiai. finished rolling out the new page size of 50, and then discovered a user for whom 50 is not low enough but 20 is. so, going to set the experiment back up with 50 as the new control and 20 as the new test group. stay tuned... |
@matt-codecov I think this can be closed now due your investigation? Or is this still an active bug? |
i guess so. github shipped an optimization to the "list repos" endpoint that appeared to solve the problem, and i haven't heard from @vlad-ko that the main affected customer is still having issues. i will get a PR up to clean up the experiment and close this |
It appears in some cases, GitHub returns a 502 during the pagination calls to fetch repos (not on the first one, not a rate limit)
Th current behavior appears to be to cancel the entire DB transaction. It would be better if we could log the error and commit what when have so far, providing the customer with at least a partial list of repos, instead of an empty one.
The text was updated successfully, but these errors were encountered: