Closed Bug 1755586 Opened 4 years ago Closed 4 years ago

Add a tags.action value to tasks that result from a retrigger action

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: marco, Assigned: mozilla)

Details

Attachments

(1 file)

Tasks that are backfills have, in the "tags" dict, an "action" key whose value is "backfill-task".
It would be nice to have something similar for tasks resulting from a retrigger action, e.g. it could be "retrigger-task".

This would allow us to programmatically identify tasks that are retriggers (we can already do that by looking at the parent of the task itself and checking that it is an "Action: Retrigger" task, but it feels hacky and is not self-contained as you need to get information from outside the task itself).

Andrew, if this is a quick fix, would you mind taking it? https://github.com/mozilla/mozci/issues/649 could be implemented without this, but it would require quite a few changes (we would have to get the "parent" field from task definitions, and I'm not sure that's available as part of the data treeherder returns).

Flags: needinfo?(ahal)
Assignee: nobody → aki
Status: NEW → ASSIGNED
Pushed by asasaki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb23de642428 add retrigger action tags to retrigger tasks. r=taskgraph-reviewers,ahal
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

Thanks aki :)

Flags: needinfo?(ahal)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: