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

Issue 1622813003: [Findit] Adding support for extracting revisions from dict instead of list (Closed)

Created:
4 years, 11 months ago by lijeffrey
Modified:
4 years, 10 months ago
Reviewers:
chanli, stgao, qyearsley
CC:
chromium-reviews, infra-reviews+infra_chromium.org, Sharu Jiang
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Adding support for extracting revisions from dict instead of list Currently, Findit expects the recompile recipe to return compile results for each revision as a list. This change will change compile results to a dict inside a 'report' dict and support both formats are supported. BUG=581527 Committed: https://chromium.googlesource.com/infra/infra/+/132a352637fff9c00bc5781b992d8385d3e42b1d

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressing code review comments #

Total comments: 10

Patch Set 3 : Addressing code review comments #

Total comments: 9

Patch Set 4 : Addressing code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -102 lines) Patch
M appengine/findit/common/buildbucket_client.py View 1 2 3 chunks +10 lines, -9 lines 0 comments Download
M appengine/findit/common/test/buildbucket_client_test.py View 1 2 3 chunks +11 lines, -11 lines 0 comments Download
M appengine/findit/waterfall/identify_try_job_culprit_pipeline.py View 1 2 1 chunk +108 lines, -18 lines 0 comments Download
M appengine/findit/waterfall/monitor_try_job_pipeline.py View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py View 1 2 3 3 chunks +115 lines, -57 lines 0 comments Download
M appengine/findit/waterfall/test/monitor_try_job_pipeline_test.py View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M appengine/findit/waterfall/test/try_job_pipeline_test.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/waterfall/try_job_pipeline.py View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
lijeffrey
Hey guys, this is part 1 of a 4-CL change feature for capturing tryjob data: ...
4 years, 11 months ago (2016-01-23 02:24:09 UTC) #3
qyearsley
https://codereview.chromium.org/1622813003/diff/1/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/1/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode15 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:15: def _getFailedRevisionFromResultsDict(self, results_dict): Nit: In Chromium style, function names ...
4 years, 11 months ago (2016-01-24 21:01:06 UTC) #4
stgao
https://codereview.chromium.org/1622813003/diff/1/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/1/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode64 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:64: revision_results) How about moving lines #46 - #64 into ...
4 years, 11 months ago (2016-01-25 19:19:52 UTC) #5
lijeffrey
https://codereview.chromium.org/1622813003/diff/1/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/1/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode15 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:15: def _getFailedRevisionFromResultsDict(self, results_dict): On 2016/01/24 21:01:06, qyearsley wrote: > ...
4 years, 11 months ago (2016-01-26 00:34:52 UTC) #6
qyearsley
LGTM https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode88 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:88: return culprit Slightly different way to write the ...
4 years, 11 months ago (2016-01-26 00:40:05 UTC) #7
stgao
As we discuss offline, post two more comments :) https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode57 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:57: ...
4 years, 11 months ago (2016-01-26 01:22:33 UTC) #8
chanli
https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode61 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:61: elif isinstance(compile_result.get('analysis_info'), dict): Is this format finalized?
4 years, 11 months ago (2016-01-26 18:15:28 UTC) #9
stgao
https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode61 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:61: elif isinstance(compile_result.get('analysis_info'), dict): On 2016/01/26 18:15:28, chanli wrote: > ...
4 years, 11 months ago (2016-01-26 18:32:26 UTC) #10
chanli
https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode61 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:61: elif isinstance(compile_result.get('analysis_info'), dict): On 2016/01/26 18:32:26, stgao wrote: > ...
4 years, 11 months ago (2016-01-26 18:52:19 UTC) #11
stgao
https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/20001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode61 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:61: elif isinstance(compile_result.get('analysis_info'), dict): On 2016/01/26 18:52:19, chanli wrote: > ...
4 years, 11 months ago (2016-01-26 19:03:36 UTC) #12
lijeffrey
Hey guys, this latest change also changes the build property 'result' to 'report' which will ...
4 years, 11 months ago (2016-01-27 01:06:00 UTC) #14
stgao
lgtm with nits. As a bug is attached to this CL, the CL description could ...
4 years, 11 months ago (2016-01-27 01:24:21 UTC) #15
chanli
https://codereview.chromium.org/1622813003/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode84 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:84: if isinstance(report, list): It just occurs to me, since ...
4 years, 11 months ago (2016-01-27 18:58:10 UTC) #16
lijeffrey
https://codereview.chromium.org/1622813003/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py File appengine/findit/waterfall/identify_try_job_culprit_pipeline.py (right): https://codereview.chromium.org/1622813003/diff/40001/appengine/findit/waterfall/identify_try_job_culprit_pipeline.py#newcode84 appengine/findit/waterfall/identify_try_job_culprit_pipeline.py:84: if isinstance(report, list): On 2016/01/27 18:58:10, chanli wrote: > ...
4 years, 11 months ago (2016-01-28 02:14:35 UTC) #18
chanli
lgtm https://codereview.chromium.org/1622813003/diff/40001/appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py File appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py (right): https://codereview.chromium.org/1622813003/diff/40001/appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py#newcode107 appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py:107: 'url': 'url', On 2016/01/28 02:14:35, lijeffrey wrote: > ...
4 years, 10 months ago (2016-01-28 21:18:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622813003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622813003/60001
4 years, 10 months ago (2016-01-28 21:26:41 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 21:29:32 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/infra/infra/+/132a352637fff9c00bc5781b992d8...

Powered by Google App Engine
This is Rietveld 408576698