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

Issue 2605803002: [Findit] Refactoring WfTryJobData into BaseTryJobData, WfTryJobData, and FlakeTryJobData (Closed)

Created:
3 years, 12 months ago by lijeffrey
Modified:
3 years, 11 months ago
Reviewers:
chanli, stgao, RobertoCN
CC:
chromium-reviews, infra-reviews+infra_chromium.org, Sharu Jiang
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Refactoring WfTryJobData into BaseTryJobData, WfTryJobData, and FlakeTryJobData In preparation for triggering flake try jobs, the corresponding try job data entity needs to be refactored to separate WfTryJob from FlakeTryJob BUG=672724 Review-Url: https://codereview.chromium.org/2605803002 Committed: https://chromium.googlesource.com/infra/infra/+/33ffa3ac64e76a71df2f565bd98b144c17bbafd1

Patch Set 1 #

Patch Set 2 : Decoupling from other CL #

Patch Set 3 : Use try job key instead of explicit properties #

Patch Set 4 : Fixing whitespace #

Total comments: 9

Patch Set 5 : Fixing nits #

Total comments: 6

Patch Set 6 : Addressing comments #

Patch Set 7 : Fixing code coverage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -112 lines) Patch
M appengine/findit/handlers/test/try_job_dashboard_test.py View 1 2 4 chunks +4 lines, -10 lines 0 comments Download
M appengine/findit/model/base_try_job.py View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A appengine/findit/model/base_try_job_data.py View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
M appengine/findit/model/flake/flake_try_job.py View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
A appengine/findit/model/flake/flake_try_job_data.py View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A appengine/findit/model/flake/test/flake_try_job_data_test.py View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M appengine/findit/model/flake/test/flake_try_job_test.py View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M appengine/findit/model/test/base_try_job_test.py View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
A appengine/findit/model/test/wf_try_job_data_test.py View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M appengine/findit/model/wf_try_job.py View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M appengine/findit/model/wf_try_job_data.py View 1 2 3 4 5 1 chunk +16 lines, -24 lines 0 comments Download
M appengine/findit/waterfall/monitor_try_job_pipeline.py View 6 chunks +21 lines, -10 lines 0 comments Download
M appengine/findit/waterfall/schedule_compile_try_job_pipeline.py View 1 2 3 chunks +16 lines, -7 lines 0 comments Download
M appengine/findit/waterfall/schedule_test_try_job_pipeline.py View 1 2 3 chunks +16 lines, -8 lines 0 comments Download
M appengine/findit/waterfall/schedule_try_job_pipeline.py View 2 chunks +0 lines, -14 lines 0 comments Download
M appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py View 1 2 3 4 10 chunks +38 lines, -11 lines 0 comments Download
M appengine/findit/waterfall/test/monitor_try_job_pipeline_test.py View 1 2 3 4 7 chunks +98 lines, -4 lines 0 comments Download
M appengine/findit/waterfall/test/schedule_try_job_pipeline_test.py View 2 chunks +0 lines, -24 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
lijeffrey
ptal
3 years, 12 months ago (2016-12-28 04:55:35 UTC) #5
stgao
lgtm % comments https://codereview.chromium.org/2605803002/diff/60001/appengine/findit/model/base_try_job_data.py File appengine/findit/model/base_try_job_data.py (right): https://codereview.chromium.org/2605803002/diff/60001/appengine/findit/model/base_try_job_data.py#newcode9 appengine/findit/model/base_try_job_data.py:9: """Represents a tryjob's data for a ...
3 years, 11 months ago (2017-01-05 21:15:11 UTC) #7
lijeffrey
Comments addressed, mind another look over? Especially in FlakeTryJob.py where I added GetMasterName, GetBuilderName etc ...
3 years, 11 months ago (2017-01-06 04:22:21 UTC) #8
lijeffrey
Comments addressed, mind another look over? Especially in FlakeTryJob.py where I added GetMasterName, GetBuilderName etc ...
3 years, 11 months ago (2017-01-06 04:22:22 UTC) #9
chanli
https://codereview.chromium.org/2605803002/diff/80001/appengine/findit/model/wf_try_job_data.py File appengine/findit/model/wf_try_job_data.py (right): https://codereview.chromium.org/2605803002/diff/80001/appengine/findit/model/wf_try_job_data.py#newcode31 appengine/findit/model/wf_try_job_data.py:31: def master_name(self): Since both wf_try_job and flake_try_job have master_name, ...
3 years, 11 months ago (2017-01-07 02:39:39 UTC) #10
lijeffrey
https://codereview.chromium.org/2605803002/diff/80001/appengine/findit/model/wf_try_job_data.py File appengine/findit/model/wf_try_job_data.py (right): https://codereview.chromium.org/2605803002/diff/80001/appengine/findit/model/wf_try_job_data.py#newcode31 appengine/findit/model/wf_try_job_data.py:31: def master_name(self): On 2017/01/07 02:39:39, chanli wrote: > Since ...
3 years, 11 months ago (2017-01-09 19:04:01 UTC) #11
chanli
On 2017/01/09 19:04:01, lijeffrey wrote: > https://codereview.chromium.org/2605803002/diff/80001/appengine/findit/model/wf_try_job_data.py > File appengine/findit/model/wf_try_job_data.py (right): > > https://codereview.chromium.org/2605803002/diff/80001/appengine/findit/model/wf_try_job_data.py#newcode31 > ...
3 years, 11 months ago (2017-01-09 19:33:28 UTC) #12
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/2605803002/120001
3 years, 11 months ago (2017-01-09 20:06:41 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 20:26:44 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/infra/infra/+/33ffa3ac64e76a71df2f565bd98b1...

Powered by Google App Engine
This is Rietveld 408576698