Skip to content

Skip comments that return a 410 Gone error from github as well.#332

Draft
MoralCode wants to merge 1 commit into
mainfrom
bug/issues_disabled_comments_collection
Draft

Skip comments that return a 410 Gone error from github as well.#332
MoralCode wants to merge 1 commit into
mainfrom
bug/issues_disabled_comments_collection

Conversation

@MoralCode
Copy link
Copy Markdown
Contributor

Description
This includes a catch case for 410 GONE replies from github (as would appear in the comments endpoint when trying to fetch comments on issues where issues are disabled repo wide.

This PR fixes #226

Notes for Reviewers
Draft until fully tested

Target testing level: Manual Functional test

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
@MoralCode
Copy link
Copy Markdown
Contributor Author

manual functional test steps:

  1. reproduce the issue by collecting on github.com/debezium/debezium and observing the failure
  2. switch to the code represented in this PR
  3. continue/restart collection and confirm the test repo can get to full collection

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.

Catch ResourceGoneException('Issues are disabled for this repo') and skip collecting messages for issues when they arent available

1 participant