Skip to content
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

x/build: limit the number of auto-assigned reviewers #27683

Open
josharian opened this issue Sep 14, 2018 · 2 comments
Open

x/build: limit the number of auto-assigned reviewers #27683

josharian opened this issue Sep 14, 2018 · 2 comments
Labels
Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@josharian
Copy link
Contributor

This is a follow-up issue to the discussion at https://groups.google.com/forum/#!topic/golang-dev/CdGrNJDcqec, to make sure it doesn't get lost.

In that thread @mvdan proposed:

If a CL were to ping more than 5 people, simply fallback to pinging someone on the core team (Andy? Ian? Brad?), who can then make a better call than a machine could

I think we should do this.

@dmitshur @andybons

@josharian josharian added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Sep 14, 2018
@gopherbot gopherbot added this to the Unreleased milestone Sep 14, 2018
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Sep 14, 2018
@dmitshur
Copy link
Contributor

dmitshur commented Sep 14, 2018

I'll wait to hear @andybons thoughts on this, but I'd say if we're going to treat "would ping more than 5 people" specially, it should just avoid doing anything.

I don't think it's viable to pick only a single person on the core team to always get pinged, and it may not be a trivial effort to add a rotation going just for these kinds of CLs. The safest thing is for gopherbot to say "welp, this is too hard for me to deal with, I'll tag it as no-owners and back out". Then humans can pick it up, just like all previous CLs before gopherbot did the reviewer assignments.

About 'no-owners' Tag

The no-owners is applied by gopherbot when it can't find an owner for the affected code. See CL
121018
description:

If no owners can be found, the tag 'no-owners' is added to the
change to prevent gopherbot from making unneeded API calls.

@mvdan
Copy link
Member

mvdan commented Oct 6, 2018

Using a tag instead of pinging someone from the core team seems fine to me. The big priority here is to keep the mass-CCing to a minimum.

Another major offender, which isn't a particularly interesting CL either: https://go-review.googlesource.com/c/go/+/140299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants