Gabriel Charette
2018-11-14 16:40:00 UTC
Hello all,
I'd like to propose a change to the official policy for the TBR of
mechanical changes.
The official policy
<https://chromium.googlesource.com/chromium/src/+/master/docs/code_reviews.md#TBR-To-Be-Reviewed>
is
effectively:
1. Get an owner of the mechanical API change to review
2. Get someone (usually same owner) to review the side-effects (and/or
the script that did them).
3. *TBR owners of each affected directory*
My problem is (3.). *It feels absolutely pointless, for example, to TBR 50
owners* when renaming a method or include in //base. It's time consuming
for the CL owner to find all the owners and it's noise for the 50 owners
who receive a review they pretty much have no say upon.
(note that* top-level src/owners strongly object to be the sole reviewer
for (3.)* -- rightly so IMO)
What I've been doing instead on such CLs is *TBRing the owner from (1.)
after they've LGTM'ed the mechanical change*. The TBR overrides the owners
rules and lets the CL land as if the API had been named like that in the
first place, no need to tediously involve 50 people.
Example CL :
https://chromium-review.googlesource.com/c/chromium/src/+/1327441
As such I propose changing (3.) in the docs
from:
- Add the owners of the affected downstream directories as TBR. (In this
example, reviewers from //chrome/browser/foo/OWNERS, //net/bar/OWNERS,
etc.)
to
- TBR the owner of the lower-level code you're changing (in this
example, //base), after they've LGTM'ed the API change, to bypass owners
review of the API consumers.
Thanks,
Gab
PS: This is obviously *only* for purely mechanical changes. Anything that
changes semantics should use git cl split and get proper owners review from
individual API consumers in focused CLs (and I'll update the doc to reflect
that too).
I'd like to propose a change to the official policy for the TBR of
mechanical changes.
The official policy
<https://chromium.googlesource.com/chromium/src/+/master/docs/code_reviews.md#TBR-To-Be-Reviewed>
is
effectively:
1. Get an owner of the mechanical API change to review
2. Get someone (usually same owner) to review the side-effects (and/or
the script that did them).
3. *TBR owners of each affected directory*
My problem is (3.). *It feels absolutely pointless, for example, to TBR 50
owners* when renaming a method or include in //base. It's time consuming
for the CL owner to find all the owners and it's noise for the 50 owners
who receive a review they pretty much have no say upon.
(note that* top-level src/owners strongly object to be the sole reviewer
for (3.)* -- rightly so IMO)
What I've been doing instead on such CLs is *TBRing the owner from (1.)
after they've LGTM'ed the mechanical change*. The TBR overrides the owners
rules and lets the CL land as if the API had been named like that in the
first place, no need to tediously involve 50 people.
Example CL :
https://chromium-review.googlesource.com/c/chromium/src/+/1327441
As such I propose changing (3.) in the docs
from:
- Add the owners of the affected downstream directories as TBR. (In this
example, reviewers from //chrome/browser/foo/OWNERS, //net/bar/OWNERS,
etc.)
to
- TBR the owner of the lower-level code you're changing (in this
example, //base), after they've LGTM'ed the API change, to bypass owners
review of the API consumers.
Thanks,
Gab
PS: This is obviously *only* for purely mechanical changes. Anything that
changes semantics should use git cl split and get proper owners review from
individual API consumers in focused CLs (and I'll update the doc to reflect
that too).
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAJTZ7L%2BA81ZjbkyRU215hU%2Bu83dweSPTuxmqG-gN9u_D1hkiDg%40mail.gmail.com.
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAJTZ7L%2BA81ZjbkyRU215hU%2Bu83dweSPTuxmqG-gN9u_D1hkiDg%40mail.gmail.com.