Bug 1364421 - temporarily disable SETA for BBB only. r=bstack, a=CLOSED TREE
authorJoel Maher <jmaher@mozilla.com>
Fri, 12 May 2017 14:55:42 -0400
changeset 358108 fec1331f50b81db83a487495e13a7b1f73c65bf0
parent 358107 0f8c033cd3e9627cd7efbcfd84f7f4920a0e67d9
child 358109 96b36c5f527dd42e680a230839519eee1fc2c9f3
push id42569
push userkwierso@gmail.com
push dateFri, 12 May 2017 20:10:39 +0000
treeherderautoland@3c086c34ae43 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbstack, CLOSED
bugs1364421
milestone55.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 1364421 - temporarily disable SETA for BBB only. r=bstack, a=CLOSED TREE
taskcluster/taskgraph/optimize.py
--- a/taskcluster/taskgraph/optimize.py
+++ b/taskcluster/taskgraph/optimize.py
@@ -201,39 +201,38 @@ def opt_index_search(task, params, index
 
     return False, None
 
 
 @optimization('seta')
 def opt_seta(task, params):
     bbb_task = False
 
-    # disable SETA - bug 1364421
-    return False, None
 
-    """
     # for bbb tasks we need to send in the buildbot buildername
     if task.task.get('provisionerId', '') == 'buildbot-bridge':
         label = task.task.get('payload').get('buildername')
         bbb_task = True
+
+        # disable SETA - bug 1364421
+        return True, None
     else:
         label = task.label
 
     # we would like to return 'False, None' while it's high_value_task
     # and we wouldn't optimize it. Otherwise, it will return 'True, None'
     if is_low_value_task(label,
                          params.get('project'),
                          params.get('pushlog_id'),
                          params.get('pushdate'),
                          bbb_task):
         # Always optimize away low-value tasks
         return True, None
     else:
         return False, None
-    """
 
 
 @optimization('files-changed')
 def opt_files_changed(task, params, file_patterns):
     # pushlog_id == -1 - this is the case when run from a cron.yml job
     if params.get('pushlog_id') == -1:
         return True, None