Sure, I will work on an update of the comment
Commenting or pushing any changes to the PR counts as an update. It works on GitHub PRs and GitHub issues. Since we are not using GitHub issues we will not use this feature.
Sure, I will work on an update of the comment
Commenting or pushing any changes to the PR counts as an update. It works on GitHub PRs and GitHub issues. Since we are not using GitHub issues we will not use this feature.
The stale action is live It labeled 6 PRs as stale (so not updated in the last 5 months) https://github.com/openmrs/openmrs-core/pulls?q=is%3Aopen+is%3Apr+label%3AStale
You can see the stale action logs at the actions tab. It runs as a crown job once every day. Debug output is enabled so we see why something was labeled. Example run https://github.com/openmrs/openmrs-core/runs/900729160?check_suite_focus=true
You might have already gotten an email or notification if you are subscribed to the PR. Here is an example of the current comment https://github.com/openmrs/openmrs-core/pull/2995#issuecomment-662756572 (its markdown so we can also adapt its style)
If a PR should not be closed after being labeled as stale it needs attention. That means remove the label and also review it, comment or push a change. The PR is shown like a timeline with events at specific points in time, so you can see when it was last updated. I think the bot comment does not count as an update.
A best practice for reviewers would be to sort PRs by least recently updated. So that not only newly created PRs get attention and older ones donāt get stale.
Let me know what you think. Feedback is more than welcome
I have got email notifications for the 6 pull requests. Thanks @teleivo for this initiative.
@teleivo Thanks for the thread, although the best way to reduce the number of PRs is to increase the number of potential reviewers that we the cycle time can be improved
@teleivo Thanks for this initiative! Iām wondering two things:
Should we update our Wiki (somewhere) to describe the PR management process described in this thread?
Should we maybe consider adopting something like this stale action for other OpenMRS repos?
This reminds me of the issue @bistenes identified with module maintenance: āSince everyone maintains everything, no one maintains anything.ā We encourage everyone in the community to help manage PRs - and then we look to the same people who always do it because they have always done it. How can we go beyond encouraging āeveryoneā to manage PRs and instead motivate and empower specific individuals to take ownership of PR management?
I can think of a couple of ways to do this, building on some things that are already in motion:
One of the advantages of @bistenesā module maintenance system is that it would actually lead to more āresponsive on PRs. No old PRs collecting dustā because the module maintainers are responsible for reviewing, responding to, and closing PRs. Some module maintainers have already been identified - and are working on identifying others.
@burke, havenāt we also integrated PR management into our developer stages?
Thanks @jennifer, yeah, this is a big part of what I had in mind with the module maintenance initiative.
Though to @ssmusokeās point, which I think is importantāyes, we need not only more organization, but also more potential reviewers. Iām hopeful that more mentorship, and something like a fellowship program, could help expand the pool of potential reviewers, and maybe also increase the quality of reviews generally.
Not sure if thatās what you meant @ssmusoke? But anyway thatās what stands out to me as a big opportunity.