Skip to content

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.

@github-actions github-actions bot requested a review from denise-k January 25, 2022 00:34
@driazati driazati force-pushed the ping_reviewers branch 2 times, most recently from 3399bc4 to 627bac3 Compare January 26, 2022 01:11
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.

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 <[email protected]>
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.

3 participants