-
Notifications
You must be signed in to change notification settings - Fork 21
improve git-related error handling #118
Comments
@justinmk Would it suffice to just remove the while/retry loop or should it be replaced with another mechanism for handling an invalid gh_token? |
@acferreir4 Not sure how often requests fail, but if it's more than zero then removing the retry loop will cause failed jobs. GitHub API doc says it will return 404 in that case. So we only need to break out of the loop if 404 is returned. Probably this can be done in |
Hello! I'd like to tackle this issue; seems to be a nice start here. Is the idea breaking from this while if the GH_TOKEN is invalid? Thanks in advance! |
@dread-uo Thanks for the interest in helping! It looks like here it's already done: Line 152 in c5cd104
This hasn't been a problem in practice, so let's just close this issue. |
(migrated from #12)
When
git push
fails, currently we keep retrying many times. Should not do that when GH_TOKEN is invalid, and possibly other errors where retrying is just a waste of time.The text was updated successfully, but these errors were encountered: