Closed Bug 1507898 Opened 2 years ago Closed 2 years ago
Factor out schema checking in taskgraph transforms
47 bytes, text/x-phabricator-request
|Details | Review|
A large number of transforms have step that verifies every task against a schema. The code for this step is almost always identical. We should factor it out.
Most jobs include at least one transform that verifies the input of all the tasks against a schema. This code is duplicated in each transform. Refactor it, so that we only need one copy of the logic.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/e947694d0ed7 [taskgraph] Factor out schema validation in transformations; r=dustin
Backed out for Linting failure on base.py Backout link: https://hg.mozilla.org/integration/autoland/rev/3b818a926ee427b28b7898d24afec9cc864cda7f Push link: https://hg.mozilla.org/integration/autoland/rev/e947694d0ed75030968484df36f08a222cdd79b5 Log link: https://treeherder.mozilla.org/logviewer.html#?job_id=213001453&repo=autoland&lineNumber=249
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/e27269b07633 [taskgraph] Factor out schema validation in transformations; r=dustin
You need to log in before you can comment on or make changes to this bug.