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

Issue 914083005: [Telemetry] Fix 'important' field of certain Values being non-boolean (Closed)

Created:
5 years, 10 months ago by eakuefner
Modified:
5 years, 10 months ago
Reviewers:
nednguyen, dtu, sullivan
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Fix 'important' field of certain Values being non-boolean This patch fixes a specific metric that was adding values with descriptions accidentally being inserted in the important field's position. It also adds an assert to prevent values with non-bool important fields from being constructed. R=sullivan,nednguyen@google.com,dtu BUG=458523 Committed: https://crrev.com/1af5584c413372d56601adfc53fd30de002e7e09 Cr-Commit-Position: refs/heads/master@{#316598}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Ned's comment #

Total comments: 4

Patch Set 3 : Address Ned's comments #

Patch Set 4 : Rebase-ish #

Total comments: 4

Patch Set 5 : Address nits + make bots happy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -15 lines) Patch
M tools/perf/measurements/v8_gc_times.py View 1 2 3 2 chunks +19 lines, -15 lines 0 comments Download
M tools/telemetry/telemetry/value/__init__.py View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/value/value_unittest.py View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
eakuefner
I believe this fixes the specific metric that was causing the particular issue described in ...
5 years, 10 months ago (2015-02-13 18:14:40 UTC) #1
sullivan
lgtm
5 years, 10 months ago (2015-02-13 18:18:12 UTC) #2
nednguyen
https://codereview.chromium.org/914083005/diff/1/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/914083005/diff/1/tools/telemetry/telemetry/value/__init__.py#newcode63 tools/telemetry/telemetry/value/__init__.py:63: assert isinstance(important, bool) What about these other fields?
5 years, 10 months ago (2015-02-13 18:19:43 UTC) #3
eakuefner
https://codereview.chromium.org/914083005/diff/1/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/914083005/diff/1/tools/telemetry/telemetry/value/__init__.py#newcode63 tools/telemetry/telemetry/value/__init__.py:63: assert isinstance(important, bool) On 2015/02/13 18:19:43, nednguyen wrote: > ...
5 years, 10 months ago (2015-02-13 19:06:29 UTC) #5
nednguyen
lgtm https://codereview.chromium.org/914083005/diff/20001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/914083005/diff/20001/tools/telemetry/telemetry/value/__init__.py#newcode62 tools/telemetry/telemetry/value/__init__.py:62: assert type(page).__name__ == 'Page' Actually, let's left page ...
5 years, 10 months ago (2015-02-13 19:09:21 UTC) #6
nednguyen
On 2015/02/13 19:09:21, nednguyen wrote: > lgtm > > https://codereview.chromium.org/914083005/diff/20001/tools/telemetry/telemetry/value/__init__.py > File tools/telemetry/telemetry/value/__init__.py (right): > ...
5 years, 10 months ago (2015-02-13 19:13:26 UTC) #7
eakuefner
https://codereview.chromium.org/914083005/diff/20001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/914083005/diff/20001/tools/telemetry/telemetry/value/__init__.py#newcode62 tools/telemetry/telemetry/value/__init__.py:62: assert type(page).__name__ == 'Page' On 2015/02/13 at 19:09:21, nednguyen ...
5 years, 10 months ago (2015-02-13 19:29:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914083005/40001
5 years, 10 months ago (2015-02-13 19:59:25 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/58722) ios_rel_device_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 10 months ago (2015-02-13 20:02:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914083005/60001
5 years, 10 months ago (2015-02-13 20:41:50 UTC) #15
dtu
lgtm % nit https://codereview.chromium.org/914083005/diff/60001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/914083005/diff/60001/tools/telemetry/telemetry/value/__init__.py#newcode61 tools/telemetry/telemetry/value/__init__.py:61: assert isinstance(name, str) Technically should be ...
5 years, 10 months ago (2015-02-13 21:43:06 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/25040)
5 years, 10 months ago (2015-02-13 21:43:48 UTC) #18
nednguyen
https://codereview.chromium.org/914083005/diff/60001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/914083005/diff/60001/tools/telemetry/telemetry/value/__init__.py#newcode61 tools/telemetry/telemetry/value/__init__.py:61: assert isinstance(name, str) basestring instead of str. The unicode ...
5 years, 10 months ago (2015-02-13 21:56:37 UTC) #19
eakuefner
https://codereview.chromium.org/914083005/diff/60001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/914083005/diff/60001/tools/telemetry/telemetry/value/__init__.py#newcode61 tools/telemetry/telemetry/value/__init__.py:61: assert isinstance(name, str) On 2015/02/13 21:56:37, nednguyen wrote: > ...
5 years, 10 months ago (2015-02-17 16:38:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914083005/80001
5 years, 10 months ago (2015-02-17 16:39:10 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-17 17:36:19 UTC) #24
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 17:37:10 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1af5584c413372d56601adfc53fd30de002e7e09
Cr-Commit-Position: refs/heads/master@{#316598}

Powered by Google App Engine
This is Rietveld 408576698