damccorm opened a new pull request #17001:
URL: https://github.com/apache/beam/pull/17001


   Right now, we don't have a well defined automated system for staying on top 
of pull request reviews - we rely on contributors being able to find the 
correct OWNERS file and committers manually triaging/calling attention to old 
pull requests. This is the continuation of an effort to improve our automation 
around this. [Design doc for the full effort 
here](https://docs.google.com/document/d/1FhRPRD6VXkYlLAPhNfZB7y2Yese2FCWBzjx67d3TjBo/edit#).
   
   This specific change adds automation to flag prs that should be receiving 
attention but aren't. There are basically 3 parts:
   
   1) Find prs that are assigned to a reviewer and haven't had action in 7 days 
- tag the reviewers and add a slow-review label.
   2) Find prs with the slow-review label that haven't had action in 2 
additional business days - assign a new set of **committers**
   3) Remove the slow-review label any time a reviewer performs a review or 
comments on the pr.
   
   This was tested in my test repo here - 
https://github.com/damccorm/beam-pr-bot-demo. I lowered the time thresholds so 
I didn't have to wait for a PR to sit for days to test it. The only eligible PR 
for the automation was initially 
https://github.com/damccorm/beam-pr-bot-demo/pull/4, so that's where most of 
the testing happened. There's a lot of junk in between the start and finish as 
I was getting things working, but the last couple comments show it working. The 
other prs show that they get excluded correctly (either because they've had 
notifications silenced or they have not had reviewers assigned by the bot for 
other reasons.
   
   ------------------------
   
   Thank you for your contribution! Follow this checklist to help us 
incorporate your contribution quickly and easily:
   
    - [ ] [**Choose 
reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and 
mention them in a comment (`R: @username`).
    - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA 
issue, if applicable. This will automatically link the pull request to the 
issue.
    - [ ] Update `CHANGES.md` with noteworthy changes.
    - [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   See the [Contributor Guide](https://beam.apache.org/contribute) for more 
tips on [how to make review process 
smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier).
   
   To check the build health, please visit 
[https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md](https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md)
   
   GitHub Actions Tests Status (on master branch)
   
------------------------------------------------------------------------------------------------
   [![Build python source distribution and 
wheels](https://github.com/apache/beam/workflows/Build%20python%20source%20distribution%20and%20wheels/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
   [![Python 
tests](https://github.com/apache/beam/workflows/Python%20tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
   [![Java 
tests](https://github.com/apache/beam/workflows/Java%20Tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
   
   See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more 
information about GitHub Actions CI.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to