Bug 1641131 - [taskgraph] Make 'upload-symbols' tasks copy their dependency's optimization r=Callek
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 29 May 2020 14:42:51 +0000
changeset 532991 ee6cb8a2f4582fe2ef337f0ed6bd708383419588
parent 532990 f0d405cc42cb0e801cc7c5b9b302706aa63191ba
child 532992 683ec8a0929d4b56d24eabd51c6c39207af4e41f
push id37461
push userccoroiu@mozilla.com
push dateFri, 29 May 2020 21:46:31 +0000
treeherdermozilla-central@a58cc68b0c51 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek
bugs1641131
milestone78.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 1641131 - [taskgraph] Make 'upload-symbols' tasks copy their dependency's optimization r=Callek Differential Revision: https://phabricator.services.mozilla.com/D77048
taskcluster/taskgraph/transforms/upload_symbols.py
--- a/taskcluster/taskgraph/transforms/upload_symbols.py
+++ b/taskcluster/taskgraph/transforms/upload_symbols.py
@@ -70,16 +70,17 @@ def fill_template(config, tasks):
             'symbol', join_symbol(th_groupsymbol, sym)
         )
         task['treeherder'] = treeherder
 
         if attributes.get('shippable'):
             # For shippable builds, we want to run these tasks if the build is run.
             # XXX Better to run this on promote phase instead?
             task['run-on-projects'] = dep.attributes.get('run_on_projects')
+            task['optimization'] = dep.optimization
         else:
             # For other builds, these can be requested to upload to the try symbol sever.
             task['run-on-projects'] = ['try']
 
         # clear out the stuff that's not part of a task description
         del task['primary-dependency']
 
         yield task