-
Notifications
You must be signed in to change notification settings - Fork 955
Handle 410 gone when querying github #3208
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
Conversation
|
Draft because I have a pending question on Slack about how to handle this new exception. as-is this PR will cause a crash at practically the same place in the code, just with a different error message/exception type |
|
If 410 signifies that issue and PR collection cannot continue for that repo, then it seems as though it should be treated the same as a 404. |
sgoggins
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!! LGTM!
|
@MoralCode : Are you still working on this or are you waiting for another PR? |
this is still WIP - i just need to add the logic to handle the new exception type i made and handle it similarly to a 404 per the above suggestion (and make sure that doesnt cause unintended side effects, like augur marking the repo as "doesnt exist") a lot of my ability to test/review/make progress on PRs is currently blocked by getting a local copy of augur running. hoping to have something up and running soon though |
6f3685d to
893eb9b
Compare
67215b1 to
1197c64
Compare
…ithub This may happen if requesting issues or issue comments when issues have been disabled for a repo Signed-off-by: Adrian Edwards <adredwar@redhat.com>
…retry Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
67a41e0 to
99a8223
Compare
|
End to end tests caught a missing colon (after i ran manually because the 3 min timeout cut off the stack trace) |
|
This is ready to go now though |
sgoggins
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
It looks good to me, but I'd like input from @ABrain7710 before merging |
sgoggins
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Succinct and elegant @MoralCode . Thank you11
This may happen if requesting issues or issue comments when issues have been disabled for a repo
Description
This PR fixes #3191
Notes for Reviewers
Signed commits