-
Notifications
You must be signed in to change notification settings - Fork 18k
x/build/cmd/gopherbot: suggest multiple reviewers, but only add one #30695
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
Comments
So, why did GopherBot add so many reviewers in the first place? If they're all listed as owners of the same component... well, maybe we need to prune down the owners or split out subcomponents. If the CL touches lots of components, then GopherBot should pick the most important one or two, or try to find an owner in the intersection. |
Change https://golang.org/cl/171238 mentions this issue: |
I sent a CL to address There are eight(!) owners listed in In general, I think we should probably have no more than two primary owners for a given component, and those owners can choose to route the incoming reviews however they see fit (by adding or removing reviewers as necessary). |
(Also note that the |
Change https://golang.org/cl/170863 mentions this issue: |
Change https://go.dev/cl/443061 mentions this issue: |
Gopherbot seems to add a lot of reviewers and CCs to some CLs.
For example, take the current patch series to add aix/ppc64 support. This patch series includes many trivial changes like https://go-review.googlesource.com/c/go/+/164014/3 (1-line change to a test file), but 4 reviewers were added, and another 4 CC'd. Many other CLs have an equally large number of reviewers/CCs.
I was added to a bunch of the CLs, but I've basically been ignoring them since I saw @ianlancetaylor and @bcmills were reviewing some of them. Maybe I should take a closer look at some, but the false positive rate is high enough that I'd probably miss if they specifically asked me for help.
Basically, I'm worried that this is leading to the bystander effect, where Gopherbot is adding reviewers to ensure new contributors' CLs don't go ignored. But then all of the reviewers assume another reviewer will look at it, thereby yielding the same result.
It also leads to situations where I upload a CL for trybot testing, and it gets mailed out to a dozen reviewers, and I have to then remove them all.
--
As a concrete alternative, I suggest gopherbot pick only one of the reviewers to automatically add to the CL, but that it includes in a comment other possible reviewers. I expect this would mitigate the bystander effect, increase the signal-to-noise ratio of review request emails, and still provide an easy escalation path for CL authors when a reviewer isn't responsive.
The text was updated successfully, but these errors were encountered: