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

Issue 3008183002: [pinpoint] Separate Execution exceptions from result_values. (Closed)

Created:
3 years, 3 months ago by dtu
Modified:
3 years, 3 months ago
Reviewers:
perezju, shatch, sullivan
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[pinpoint] Separate Execution exceptions from result_values. It's not good practice to mix types. Having separate exception and result_values will make the UI easier, because it don't have to guess whether result_values contains numeric data, or exception strings, or a mixture of all 3. And it'll be easier to associate which results go with which swarming task. Execution.exception will always be a basestring, and Execution.result_values will always be a tuple of numbers. Review-Url: https://chromiumcodereview.appspot.com/3008183002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/d06e58b78cbe562bcd2a98771cb109e97a4f82c8

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix exception loop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -40 lines) Patch
M dashboard/dashboard/pinpoint/models/attempt.py View 1 chunk +5 lines, -0 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/job.py View 1 3 chunks +13 lines, -5 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/execution.py View 5 chunks +23 lines, -16 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/find_isolate_test.py View 2 chunks +6 lines, -5 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/read_value_test.py View 1 chunk +2 lines, -3 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/run_test_test.py View 4 chunks +6 lines, -11 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 11 (5 generated)
dtu
Followup for https://codereview.chromium.org/3010873003/
3 years, 3 months ago (2017-09-06 01:25:42 UTC) #3
perezju
https://codereview.chromium.org/3008183002/diff/1/dashboard/dashboard/pinpoint/models/job.py File dashboard/dashboard/pinpoint/models/job.py (right): https://codereview.chromium.org/3008183002/diff/1/dashboard/dashboard/pinpoint/models/job.py#newcode309 dashboard/dashboard/pinpoint/models/job.py:309: for quest in self._quests): ehhh, this looks wrong. The ...
3 years, 3 months ago (2017-09-06 09:17:24 UTC) #4
dtu
Thanks! Sorry, the Job object doesn't have unit tests yet. https://codereview.chromium.org/3008183002/diff/1/dashboard/dashboard/pinpoint/models/job.py File dashboard/dashboard/pinpoint/models/job.py (right): https://codereview.chromium.org/3008183002/diff/1/dashboard/dashboard/pinpoint/models/job.py#newcode309 ...
3 years, 3 months ago (2017-09-06 15:52:16 UTC) #5
perezju
lgtm
3 years, 3 months ago (2017-09-07 12:52:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/3008183002/20001
3 years, 3 months ago (2017-09-07 14:48:08 UTC) #8
commit-bot: I haz the power
3 years, 3 months ago (2017-09-07 15:14:45 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698