Assign folks to urgently review the oldest 20% of PRs during the community meeting #1976
Replies: 5 comments 5 replies
-
We're already assigning reviewers to PRs so I don't see how assigning more in a second batch will help here. What are the reasons the assigned persons have not reviewed it? Are they focused on other projects or doing non-visible work outside GitHub? Was the number of PRs reduced due to also creation being paused while existing ones were reviewed? The issue seems to be somewhere else. I don't have a good answer, but perhaps to suggest a limit at which one should refrain from creating more PRs until merging or closing the currently open ones, like 10 PRs maybe? Each one represents a stream of work with considerations to evaluate by reviewers: check added automated tests, dependencies, migrations, a11y, etc; and the work can get staled even by authors when they're handling so many. |
Beta Was this translation helpful? Give feedback.
-
This is now down to 21 open PRs, excluding drafts. My sense is that we need a bit of a cultural shift amongst the team. The net amount of work are doing does not need increase. Instead, if we focused on reviewing open code before writing new code, we could benefit by having fewer open work streams at once, and less context shifting. As far as how we facilitate this context shift, we need to find ways to incentivize folks doing code review earlier and more regularly. Some things that might work could be:
|
Beta Was this translation helpful? Give feedback.
-
I don't have opinions on any specific direction, but I thought I'd share my thoughts as it relates to PR reviews. I find in general that I prioritize reviews as some of the first set of work that I do daily and I try to do as much review as I can alongside other work. At the time of writing this comment, the last PR I opened was over two weeks ago, and in the interim I've almost exclusively been focusing on PR reviews, implementation plan discussions, and other meta/glue work. Especially with the discussions we're having around focusing on reviews and the urgency of some work needing to get merged before AFK, I think I'm likely to find myself focusing on reviews for most of my working time this week. All that to say, I feel like I'm, personally, at capacity with the mount of work I'm reviewing. I don't know how that might fold into or inform this discussion, but I wanted to share my perspective and how I've been feeling. |
Beta Was this translation helpful? Give feedback.
-
Recording communication that happened outside of GitHub (May 17 meeting): the general consensus in the team is that we don't need more automation for PR review reminders and will keep DM-ing peers for it. |
Beta Was this translation helpful? Give feedback.
-
See #1976 (reply in thread) for resolution |
Beta Was this translation helpful? Give feedback.
-
The Openverse monorepo had over 35 open PRs (excluding drafts) in need of review last week. The number is down to 28 as of writing this, so already significantly improved, but mostly because some folks went through and intentionally reviewed some older PRs.
We need to institute some ongoing practice to distribute PR reviews for the oldest open PRs during community meetings. I propose the following:
During the community meeting, the oldest 20% of open, undrafted, and unblocked PRs in need of reviews should be distributed to volunteers (synchronously and asynchronously) to urgently review within the next two days.
AFKs should be kept in mind, but reviews should be distributed equitably, potentially even at random. Later this week I'll write a script that automatically does this. It should be easy to write one that:
The script should also have configuration options to ignore certain people if they're AFK or otherwise unable to review PRs at the moment.
Beta Was this translation helpful? Give feedback.
All reactions