Skip to content
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

[CI] github_cc_reviewers: Catch all exceptions so all reviewers can be processed #12578

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

yelite
Copy link
Contributor

@yelite yelite commented Aug 24, 2022

In a recent change, github.post throws RuntimeError instead of HTTPError when the requested reviewer isn't a project collaborator. This prevents other reviewers to be added to the PR, for example, https://github.com/apache/tvm/runs/8001367110?check_suite_focus=true.

This PR changes the caller to catch any exception so the execution won't be interrupted.

cc @Mousius @areusch @driazati @gigiblender

@github-actions github-actions bot requested a review from driazati August 24, 2022 18:27
Copy link
Member

@driazati driazati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch and thanks for the fix!

tests/scripts/github_cc_reviewers.py Outdated Show resolved Hide resolved
Co-authored-by: driazati <9407960+driazati@users.noreply.github.com>
@driazati driazati merged commit b547106 into apache:main Aug 25, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
…e processed (apache#12578)

In a recent change, `github.post` throws `RuntimeError` instead of `HTTPError` when the requested reviewer isn't a project collaborator. This prevents other reviewers to be added to the PR, for example, https://github.com/apache/tvm/runs/8001367110?check_suite_focus=true.

This PR changes the caller to catch any exception so the execution won't be interrupted.

Co-authored-by: driazati <9407960+driazati@users.noreply.github.com>
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