mach taskgraph action-callback does not call graph_config.register
Categories
(Firefox Build System :: Task Configuration, enhancement)
Tracking
(firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: rjl, Assigned: rjl)
References
Details
Attachments
(1 file)
I've successfully created and registered a simple generic action in comm/taskcluster/comm_taskgraph/actions.py using the graph_config.register() hook.
The decision task runs, the new action shows up in actions.json, and even in Treeherder under custom actions. When triggered though, the error says that the action is unknown.
That is happening because graph_config.register() doesn't get called when triggering an action callback.
The external taskgraph project calls the register hook at https://hg.mozilla.org/ci/taskgraph/file/f949fb56d96b9509b071ba55853f2d60e8dbbf57/src/taskgraph/actions/registry.py#l310.
Assignee | ||
Comment 1•5 years ago
|
||
This is a port of https://hg.mozilla.org/ci/taskgraph/rev/a61ab06c25222 to allow
for custom actions in a project repo. Previously, registration of actions worked
but did not run when triggered.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
bugherder |
Description
•