Closed Bug 1492279 Opened 2 years ago Closed 1 year ago
Only fetch target task for actions that require it
47 bytes, text/x-phabricator-request
|Details | Review|
taskcluster/taskgraph/actions/registry.py # fetch the target task, if taskId was given # FIXME: many actions don't need this, so move this fetch into the callbacks # that do need it if task_id: task = taskcluster.get_task_definition(task_id) else: task = None Basically, this means looking for the task implementations that look at their `task` argument and add this logic in those implementations, then remove it from registry.py, and removing the `task` argument to all action callbacks.
Severity: normal → enhancement
Priority: -- → P5
Assignee: nobody → ialokkumarsingh0
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/bb243f4edd88 Only fetch target task for actions that require it r=dustin
You need to log in before you can comment on or make changes to this bug.