Bug 1648723 - Define a new push-interval-20 strategy that optimizes everything except every 20th push. r=ahal
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Thu, 30 Jul 2020 17:14:21 +0000
changeset 542662 0026f4c69875a597c2a92e33fd24c30fa9d44e05
parent 542661 55bcd608e8340f26d69309ae72d52df4f9f3225b
child 542663 4f7d32e546c2d5ad8646ff6555cec0ba78481eb8
push id123023
push usermcastelluccio@mozilla.com
push dateThu, 30 Jul 2020 17:40:09 +0000
treeherderautoland@0026f4c69875 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1648723
milestone81.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1648723 - Define a new push-interval-20 strategy that optimizes everything except every 20th push. r=ahal Differential Revision: https://phabricator.services.mozilla.com/D85277
taskcluster/taskgraph/optimize/backstop.py
--- a/taskcluster/taskgraph/optimize/backstop.py
+++ b/taskcluster/taskgraph/optimize/backstop.py
@@ -6,16 +6,17 @@ from __future__ import absolute_import, 
 
 from taskgraph.optimize import OptimizationStrategy, register_strategy
 from taskgraph.util.attributes import match_run_on_projects
 from taskgraph.util.backstop import is_backstop, BACKSTOP_PUSH_INTERVAL, BACKSTOP_TIME_INTERVAL
 
 
 @register_strategy('backstop', args=(BACKSTOP_PUSH_INTERVAL, BACKSTOP_TIME_INTERVAL, {'all'}))
 @register_strategy("push-interval-10", args=(10, 0, {'try'}))
+@register_strategy("push-interval-20", args=(20, 0, {'try'}))
 @register_strategy("push-interval-25", args=(25, 0, {'try'}))
 class Backstop(OptimizationStrategy):
     """Ensures that no task gets left behind.
 
     Will schedule all tasks either every Nth push, or M minutes. This behaviour
     is only enabled on autoland. For all other projects, the
     `remove_on_projects` flag determines what will happen.