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

Issue 2415703004: Enable merging buildbot builds dependent on queue length (Closed)

Created:
4 years, 2 months ago by Michael Achenbach
Modified:
4 years, 2 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, Sergey Berezin, emso
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Enable merging buildbot builds dependent on queue length This enhances custom mergeRequests functions with additional parameters for the number of unclaimed builds in the queue and the number of already merged builds. This allows writing more flexible merge strategies, e.g.: - Avoid huge blame lists during peak hours that stem from the standard merge-all strategy. - Avoid huge backlog on bots using the merge-none strategy. This also adds an example FYI bot from V8 to test the new feature. BUG=654749 TEST=Tested on a local master stressed with fake commits. Committed: https://chromium.googlesource.com/chromium/tools/build/+/34603b7a540ae40089ddce69aecedf2f6783c7ae

Patch Set 1 #

Patch Set 2 : Enable merging buildbot builds dependent on queue length #

Patch Set 3 : Enable merging buildbot builds dependent on queue length #

Total comments: 1

Patch Set 4 : Pass also number of merged builds #

Total comments: 4

Patch Set 5 : Review #

Total comments: 2

Patch Set 6 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -3 lines) Patch
M masters/master.client.v8/master.cfg View 1 2 3 4 4 chunks +13 lines, -0 lines 0 comments Download
M third_party/buildbot_8_4p1/buildbot/process/builder.py View 1 2 3 4 5 1 chunk +18 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
Michael Achenbach
PTAL (preliminary) - will add more reviewers if you don't find it too crazy/hacky/risky.
4 years, 2 months ago (2016-10-13 09:35:59 UTC) #3
Michael Achenbach
https://codereview.chromium.org/2415703004/diff/40001/third_party/buildbot_8_4p1/buildbot/process/builder.py File third_party/buildbot_8_4p1/buildbot/process/builder.py (right): https://codereview.chromium.org/2415703004/diff/40001/third_party/buildbot_8_4p1/buildbot/process/builder.py#newcode878 third_party/buildbot_8_4p1/buildbot/process/builder.py:878: merged_request_objects.append(other_breq_object) Thinking more: Now that I'm already changing this ...
4 years, 2 months ago (2016-10-13 10:36:13 UTC) #4
Michael Achenbach
PTAL at patch 4
4 years, 2 months ago (2016-10-13 12:16:28 UTC) #5
tandrii(chromium)
lgtm https://codereview.chromium.org/2415703004/diff/60001/third_party/buildbot_8_4p1/buildbot/process/builder.py File third_party/buildbot_8_4p1/buildbot/process/builder.py (right): https://codereview.chromium.org/2415703004/diff/60001/third_party/buildbot_8_4p1/buildbot/process/builder.py#newcode856 third_party/buildbot_8_4p1/buildbot/process/builder.py:856: # Make sure the merge-requests function can take ...
4 years, 2 months ago (2016-10-13 13:35:22 UTC) #7
tandrii(chromium)
On 2016/10/13 13:35:22, tandrii(chromium) wrote: > lgtm i didn't mean to click lg-tm button.
4 years, 2 months ago (2016-10-13 13:35:50 UTC) #8
Michael Achenbach
PTAL at patch 5 https://codereview.chromium.org/2415703004/diff/60001/third_party/buildbot_8_4p1/buildbot/process/builder.py File third_party/buildbot_8_4p1/buildbot/process/builder.py (right): https://codereview.chromium.org/2415703004/diff/60001/third_party/buildbot_8_4p1/buildbot/process/builder.py#newcode856 third_party/buildbot_8_4p1/buildbot/process/builder.py:856: # Make sure the merge-requests ...
4 years, 2 months ago (2016-10-13 13:53:35 UTC) #9
tandrii(chromium)
LGTM
4 years, 2 months ago (2016-10-13 14:11:50 UTC) #11
Michael Achenbach
+ a few buildbot experts PTAL
4 years, 2 months ago (2016-10-13 14:14:44 UTC) #13
agable
One comment. Also, make sure that you include this diff in the third_party/buildbot_8_4p1/README.chromium. https://codereview.chromium.org/2415703004/diff/80001/third_party/buildbot_8_4p1/buildbot/process/builder.py File ...
4 years, 2 months ago (2016-10-13 17:58:37 UTC) #14
Michael Achenbach
PTAL at patch 6. Didn't test it locally yet, but will do before landing anything. ...
4 years, 2 months ago (2016-10-13 19:05:07 UTC) #15
agable
Good catch on the README; lgtm.
4 years, 2 months ago (2016-10-13 20:04:08 UTC) #16
Michael Achenbach
CC current trooper. Tested locally again and looks good. Landing this now.
4 years, 2 months ago (2016-10-14 07:40:21 UTC) #21
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/2415703004/100001
4 years, 2 months ago (2016-10-14 07:41:03 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 07:44:58 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/tools/build/+/34603b7a540ae40089dd...

Powered by Google App Engine
This is Rietveld 408576698