Bug 1639955: Include `toolchain-artifact` in the cached-task digest; r=aki
authorTom Prince <mozilla@hocat.ca>
Fri, 22 May 2020 03:38:29 +0000
changeset 531581 8b12cbd16f0608b5bef1bbd8cf26d8d129e1e538
parent 531580 58f80ec5f2af040f8a3f0fb92db1923179f88c94
child 531582 cffc2f23fdbd7515493d4a1fdc21e410bf982f2f
push id37440
push userabutkovits@mozilla.com
push dateFri, 22 May 2020 09:43:16 +0000
treeherdermozilla-central@fbf71e4d2e21 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaki
bugs1639955
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 1639955: Include `toolchain-artifact` in the cached-task digest; r=aki Differential Revision: https://phabricator.services.mozilla.com/D76410
taskcluster/taskgraph/transforms/job/toolchain.py
--- a/taskcluster/taskgraph/transforms/job/toolchain.py
+++ b/taskcluster/taskgraph/transforms/job/toolchain.py
@@ -78,16 +78,18 @@ def get_digest_data(config, run, taskdes
     # Tooltool manifest if any is defined:
     tooltool_manifest = taskdesc['worker']['env'].get('TOOLTOOL_MANIFEST')
     if tooltool_manifest:
         files.append(tooltool_manifest)
 
     # Accumulate dependency hashes for index generation.
     data = [hash_paths(GECKO, files)]
 
+    data.append(taskdesc['attributes']['toolchain-artifact'])
+
     # If the task uses an in-tree docker image, we want it to influence
     # the index path as well. Ideally, the content of the docker image itself
     # should have an influence, but at the moment, we can't get that
     # information here. So use the docker image name as a proxy. Not a lot of
     # changes to docker images actually have an impact on the resulting
     # toolchain artifact, so we'll just rely on such important changes to be
     # accompanied with a docker image name change.
     image = taskdesc['worker'].get('docker-image', {}).get('in-tree')