Bug 1641971: [taskgraph] Use task-reference to refer to the decision task in task; r=Callek

Differential Revision: https://phabricator.services.mozilla.com/D77552
This commit is contained in:
Tom Prince
2020-06-03 02:35:00 +00:00
parent d535cab6de
commit 33b342bd8f
2 changed files with 6 additions and 7 deletions

View File

@@ -1769,7 +1769,7 @@ def build_task(config, tasks):
# set up extra
extra = task.get('extra', {})
extra['parent'] = os.environ.get('TASK_ID', '')
extra['parent'] = {'task-reference': '<decision>'}
task_th = task.get('treeherder')
if task_th:
extra.setdefault('treeherder-platform', task_th['platform'])