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

Issue 2716683004: [Dashboard] Start using /list_tests's test_path_dict mode in test-picker (Closed)

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

Description

[Dashboard] Start using /list_tests's test_path_dict mode in test-picker As of this CL, it should be immediately possible to factor away test-picker's request for the subtest dict in favor of an approach that uses the new endpoint. The functionality in this CL subsumes report-page's need for the functionality of test-picker that depended on the subtest dict, and now it is only test-picker itself that uses the subtest dict (to populate its menus). In parallel, this CL offers up a couple more avenues for interesting work: 1. Request parallelization. We will need to clean up simple_xhr probably in favor of fetch (see https://github.com/catapult-project/catapult/issues/3389). 2. group_report ref build fix. To surface ref builds correctly in group_report, we need to modify the endpoint to be able to look at siblings in addition to children, and we need to get rid of addSeriesGroup. In addition to the picker speedup, two necessary pieces that were not done in this CL, but should be done immediately as followups, are: 1. Deleting addSeriesGroup. See https://github.com/catapult-project/catapult/issues/3385. 2. Better error handling in the picker, see https://github.com/catapult-project/catapult/issues/3390. 3. Deleting testselection. It's basically dead code but there's one helper still used by chart-container that may or may not be necessary. Demo: https://dev-eakuefner-d97f1223-dot-chromeperf.appspot.com/report BUG=catapult:#3228 Review-Url: https://codereview.chromium.org/2716683004 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/9fff60268747d20514d711257117c53e5c1f0b7c Review-Url: https://codereview.chromium.org/2716683004 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/7b2dc0f0d46756afbd7d972fccd29f6e31c7b385

Patch Set 1 #

Patch Set 2 : more progress #

Patch Set 3 : typo #

Patch Set 4 : more progress #

Patch Set 5 : more progress #

Total comments: 8

Patch Set 6 : incorporate simon's changes #

Patch Set 7 : remarkably, all tests pass #

Total comments: 2

Patch Set 8 : DONE #

Total comments: 13

Patch Set 9 : Address Annie's comments #

Patch Set 10 : actually add promise rejection console.log #

Patch Set 11 : clearXhrMock ugh #

Patch Set 12 : rebase #

Patch Set 13 : fix v8 case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -87 lines) Patch
M dashboard/dashboard/elements/chart-container.html View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +75 lines, -8 lines 0 comments Download
M dashboard/dashboard/elements/chart-legend.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -2 lines 0 comments Download
M dashboard/dashboard/elements/report-page.html View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +34 lines, -13 lines 0 comments Download
M dashboard/dashboard/elements/test-picker.html View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +80 lines, -60 lines 0 comments Download
M dashboard/dashboard/elements/test-picker-test.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +27 lines, -0 lines 0 comments Download
M dashboard/dashboard/static/series_group.html View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -2 lines 0 comments Download
M dashboard/dashboard/static/series_group_test.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 37 (19 generated)
eakuefner
The progress is a little skeletal here so thanks for bearing with me. I want ...
3 years, 10 months ago (2017-02-24 23:56:52 UTC) #2
sullivan
I think this is the right direction, but I'm a little confused about the flow ...
3 years, 10 months ago (2017-02-25 00:49:14 UTC) #3
eakuefner
Thanks for the comments. I'm moving on to implementing the steps of the plan I ...
3 years, 9 months ago (2017-02-27 18:50:12 UTC) #4
eakuefner
Folks, at last, please take a look. I think this CL is necessarily dense, so ...
3 years, 9 months ago (2017-03-13 15:53:58 UTC) #6
eakuefner
BTW, things to try in the demo: 1. Add a test using the picker 2. ...
3 years, 9 months ago (2017-03-13 15:56:11 UTC) #7
sullivan
The actual code of the CL looks good to me, would like to see the ...
3 years, 9 months ago (2017-03-13 16:20:07 UTC) #8
eakuefner
Annie, please take another look. I've edited the description of my CL as you have ...
3 years, 9 months ago (2017-03-14 21:23:18 UTC) #10
sullivan
lgtm
3 years, 9 months ago (2017-03-14 21:29:38 UTC) #11
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/2716683004/180001
3 years, 9 months ago (2017-03-14 21:30:35 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Windows Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Windows%20Tryserver/builds/6695)
3 years, 9 months ago (2017-03-14 22:11:14 UTC) #16
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/2716683004/180001
3 years, 9 months ago (2017-03-15 20:59:13 UTC) #18
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/2716683004/200001
3 years, 9 months ago (2017-03-15 21:12:00 UTC) #22
commit-bot: I haz the power
Failed to apply patch for dashboard/dashboard/elements/chart-container.html: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-15 21:40:38 UTC) #24
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/2716683004/220001
3 years, 9 months ago (2017-03-15 21:52:11 UTC) #27
commit-bot: I haz the power
Committed patchset #12 (id:220001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/9fff60268747d20514d711257117c53e5c1f0b7c
3 years, 9 months ago (2017-03-15 22:14:17 UTC) #30
eakuefner
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/2750313003/ by eakuefner@chromium.org. ...
3 years, 9 months ago (2017-03-16 19:03:42 UTC) #31
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/2716683004/240001
3 years, 9 months ago (2017-03-16 23:41:07 UTC) #34
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 00:03:44 UTC) #37
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698