Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(909)

Issue 1020663002: [Extensions] Don't check extension histogram on commit

Created:
5 years, 9 months ago by Devlin
Modified:
5 years, 2 months ago
Reviewers:
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Don't check extension histogram on commit The PRESUBMIT.py check for the extension_function_histogram_value should not trigger on commit, since there *are* valid ways to modify the histogram (most notably, by deleting api functions). We should leave the warning on presubmit, but remove the CQ block so that we don't have to use NOTRY with these. BUG=468507

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -3 lines) Patch
M extensions/browser/PRESUBMIT.py View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Devlin
5 years, 9 months ago (2015-03-18 22:42:15 UTC) #2
Ken Rockot(use gerrit already)
I'm a little wary of this only because presubmit warnings get ignored sometimes and it ...
5 years, 9 months ago (2015-03-19 16:37:04 UTC) #3
Devlin
On 2015/03/19 16:37:04, Ken Rockot wrote: > I'm a little wary of this only because ...
5 years, 9 months ago (2015-03-19 16:54:19 UTC) #4
Ken Rockot(use gerrit already)
5 years, 9 months ago (2015-03-19 17:01:53 UTC) #5
On 2015/03/19 16:54:19, Devlin wrote:
> On 2015/03/19 16:37:04, Ken Rockot wrote:
> > I'm a little wary of this only because presubmit warnings get ignored
> sometimes
> > and it would be pretty bad if someone slipped through a change which mangles
> > histograms.
> > 
> > Aren't valid-but-presubmit-breaking changes limited only to renames? How
often
> > do we really have to do those?
> 
> Limited to renames/deletes, yes.  And they are fairly rare, but not so rare
that
> it's not a pain to deal with them (especially when "dealing" with them
involves
> using a scary NOTRY).  I guess my thought was more that if someone is really
> going to ignore the upload warnings (which are pretty big, and difficult to
> miss), and then the histogram reviewer (extension_function_histogram_value
> requires a specific histograms OWNER) is going to miss the fact that the enum
> was inserted somewhere randomly, then the likelihood that they are going to
pay
> more attention to the presubmit is somewhat slim.
> 
> Of course, the better solutions may be to either let StrictEnumValueChecker
know
> about valid renames, or to enable a NOPRESUBMIT option on cls, so that the
rest
> of the bots get tried.

I like the idea of adding a NOPRESUBMIT option. I do agree that NOTRY is a very
bad idea in these situations.

Powered by Google App Engine
This is Rietveld 408576698