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

Add bot to ping reviewers after no activity #9973

Merged
merged 2 commits into from
Feb 2, 2022

Conversation

driazati
Copy link
Member

@driazati driazati commented Jan 19, 2022

This will add a comment from GitHub actions after X amount of time has passed after the last comment on a PR. This should help keep the backlog of PRs clean by remininding people to do a review or update their PRs. Unlike issues where having long term open issues that are legit bugs, PRs shouldn't be open indefinitely, so this bot will incentivize people to keep the PR backlog clean.

The specific rule this operates under is: if there has been no comment or review in --wait-time-minutes (as checked by GitHub Actions every 15 minutes via the cron workflow in this PR), leave a comment on the PR @-ing all the relevant people, including anyone who has left a review or who was cc'ed at any point in the PR.

This is going to start out as opt-in only (with the goal of rolling it out to everyone after like a week or so) just because it's pretty difficult to test. To opt-in, add yourself as a cc'ed user on #9983

cc @areusch @jroesch @denise-k

@driazati driazati force-pushed the ping_reviewers branch 3 times, most recently from 4ae72f0 to ddf0a4b Compare January 21, 2022 22:42
@driazati driazati marked this pull request as ready for review January 21, 2022 22:43
@github-actions github-actions bot requested review from denise-k and removed request for a team January 21, 2022 22:43
Copy link
Collaborator

@denise-k denise-k left a comment

Choose a reason for hiding this comment

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

nice! this is a great feature add.

Copy link
Contributor

@areusch areusch left a comment

Choose a reason for hiding this comment

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

tests/python/unittest/test_ci.py Outdated Show resolved Hide resolved
tests/scripts/ping_reviewers.py Show resolved Hide resolved
Copy link
Contributor

@areusch areusch left a comment

Choose a reason for hiding this comment

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

approving so we can try this out. it's scoped to just folks who are cc'd in the attached issue. before we broaden the list of people who will get pinged, we'll raise an RFC to discuss this process change.

@areusch areusch merged commit a91b518 into apache:main Feb 2, 2022
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
* Add bot to ping reviewers after no activity

* Address comments

Co-authored-by: driazati <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.

None yet

3 participants