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

Issue 485253004: [Sheriff-o-matic] Remove race condition on the commit list. (Closed)

Created:
6 years, 4 months ago by Mathieu
Modified:
6 years, 4 months ago
Reviewers:
michaelpg, ojan
CC:
ojan, blink-reviews, cbiesinger, dsinclair, esprehn, jochen (gone - plz use gerrit), leviw_travelin_and_unemployed, michaelpg, szager1, teravest
Project:
blink
Visibility:
Public.

Description

[Sheriff-o-matic] Remove race condition on the commit list. By always modifying the same list of commits, we ensure that data binding does The Right Thing and updates when data comes in. As well, renamed "revisionLog" to "commitLog" everywhere, to better reflect the data type. BUG=405327 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180728

Patch Set 1 #

Total comments: 10

Patch Set 2 : improved data binding #

Total comments: 2

Patch Set 3 : names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -114 lines) Patch
M Tools/GardeningServer/model/ct-commit.html View 1 2 chunks +16 lines, -10 lines 0 comments Download
M Tools/GardeningServer/model/ct-commit-list.html View 1 2 3 chunks +9 lines, -9 lines 0 comments Download
A Tools/GardeningServer/model/ct-commit-list-mock.html View 1 chunk +31 lines, -0 lines 0 comments Download
M Tools/GardeningServer/model/ct-commit-log.html View 1 2 3 chunks +31 lines, -16 lines 0 comments Download
M Tools/GardeningServer/model/ct-commit-log-mock.html View 1 chunk +0 lines, -1 line 0 comments Download
M Tools/GardeningServer/model/ct-repositories.html View 1 2 1 chunk +21 lines, -20 lines 0 comments Download
M Tools/GardeningServer/model/test/ct-commit-list-tests.html View 1 chunk +1 line, -1 line 0 comments Download
M Tools/GardeningServer/model/test/ct-commit-log-tests.html View 1 2 1 chunk +12 lines, -4 lines 0 comments Download
M Tools/GardeningServer/ui/ct-commit-list.html View 2 chunks +2 lines, -14 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-card.html View 1 4 chunks +12 lines, -7 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-stream.html View 2 chunks +2 lines, -2 lines 0 comments Download
M Tools/GardeningServer/ui/ct-revision-details.html View 2 chunks +2 lines, -2 lines 0 comments Download
M Tools/GardeningServer/ui/ct-unexpected-failures.html View 1 3 chunks +5 lines, -5 lines 0 comments Download
M Tools/GardeningServer/ui/test/ct-commit-list-tests.html View 3 chunks +5 lines, -18 lines 0 comments Download
M Tools/GardeningServer/ui/test/ct-failure-card-tests.html View 1 2 chunks +34 lines, -4 lines 0 comments Download
M Tools/GardeningServer/ui/test/ct-revision-details-tests.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Mathieu
Hi Ojan, Have a look? I'm aware that the ground (repo) is shifting, but for ...
6 years, 4 months ago (2014-08-20 17:33:48 UTC) #1
ojan
lgtm Yay! Thanks so much for doing this. This patch is great except for if ...
6 years, 4 months ago (2014-08-20 18:47:51 UTC) #2
michaelpg
Took a look just out of curiosity, left a couple drive-by comments. https://codereview.chromium.org/485253004/diff/1/Tools/GardeningServer/model/ct-commit-log.html File Tools/GardeningServer/model/ct-commit-log.html ...
6 years, 4 months ago (2014-08-20 19:32:32 UTC) #3
Mathieu
Hello, Please have a look, Ojan especially. Improved the data binding in failure-card, added tests ...
6 years, 4 months ago (2014-08-21 14:08:21 UTC) #4
ojan
lgtm FYI, you can NOTRY=true these patches since they don't run on the CQ. Also, ...
6 years, 4 months ago (2014-08-21 17:51:29 UTC) #5
Mathieu
Thanks! Submitting https://codereview.chromium.org/485253004/diff/60001/Tools/GardeningServer/model/ct-repositories.html File Tools/GardeningServer/model/ct-repositories.html (right): https://codereview.chromium.org/485253004/diff/60001/Tools/GardeningServer/model/ct-repositories.html#newcode31 Tools/GardeningServer/model/ct-repositories.html:31: this._names = Object.keys(this.repositories).sort(); On 2014/08/21 17:51:29, ojan-only-code-yellow-reviews ...
6 years, 4 months ago (2014-08-21 18:00:37 UTC) #6
Mathieu
The CQ bit was checked by mathp@chromium.org
6 years, 4 months ago (2014-08-21 18:00:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mathp@chromium.org/485253004/80001
6 years, 4 months ago (2014-08-21 18:01:31 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 18:02:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (80001) as 180728

Powered by Google App Engine
This is Rietveld 408576698