-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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] Check more events before pinging reviewers #10208
Conversation
This was missing some events before (reviews without comments, PR updated from a draft -> ready for review) so these were being ignored when finding the latest event. This PR adds them and restructures the code a bit to make it more clear what is happening for each PR. This addresses some of the issues from apache#9983
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.
thanks @driazati suggesting a couple clarifications
f"Skipping #{pr['number']} since author {pr['author']['login']} is not in allowlist: {author_allowlist}" | ||
) | ||
else: | ||
print(f"Checking #{pr['number']}, {author_allowlist}") |
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.
print(f"Checking #{pr['number']}, {author_allowlist}") | |
print(f"Will check #{pr['number']}, {author_allowlist}") |
print(f"Checking #{pr['number']}, {author_allowlist}") | ||
prs_to_check.append(pr) | ||
|
||
print(f"Summary: Checking {len(prs_to_check)} of {len(prs)} fetched") |
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.
print(f"Summary: Checking {len(prs_to_check)} of {len(prs)} fetched") | |
print(f"Summary: Need to check {len(prs_to_check)} of {len(prs)} fetched") |
we discussed offline and @driazati will address the remaining two comments in a follow-on to avoid blocking on CI test time. |
* [ci] Check more events before pinging reviewers This was missing some events before (reviews without comments, PR updated from a draft -> ready for review) so these were being ignored when finding the latest event. This PR adds them and restructures the code a bit to make it more clear what is happening for each PR. This addresses some of the issues from apache#9983 * fix tests Co-authored-by: driazati <[email protected]>
This was missing some events before (reviews without comments, PR updated from a draft -> ready for review) so these were being ignored when finding the latest event. This PR adds them and restructures the code a bit to make it more clear what is happening for each PR. This addresses some of the issues from #9983
cc @areusch @hpanda-naut