Switch attribution kind to use from-deps
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox145 fixed)
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
The attribution kind currently assumes that a build platform exists in the graph and independently derives a label for it and tries to access config.kind_dependencies_tasks[label]. This results in a KeyError if you happen to be using a weird parameters.yml where the builds end up getting skipped (aka parameters from a github-push).
These tasks should be using from-deps to automatically derive themselves only when the target platforms are actually being generated.
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
These were causing issues when generating graphs that don't have any
shippable builds in them, as they were deriving the parent labels and
assuming they exist in the graph. (A scenario that came up while I was
working on supporting Gecko CI in Github).
The preferred method to handle this is to instead derive the entire
tasks from only existing parents.
| Assignee | ||
Comment 2•3 months ago
|
||
I managed to get a graph where these were missing from upstream_deps
(using Github events). This patch helps unblock me.
Comment 4•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6ce3964293e7
https://hg.mozilla.org/mozilla-central/rev/d8df33a6635d
Description
•