Closed Bug 1502253 Opened 6 years ago Closed 6 years ago

Improve error messages when there is a schema error in task.run

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(firefox-esr60 fixed, firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox-esr60 --- fixed
firefox65 --- fixed

People

(Reporter: tomprince, Assigned: tomprince)

References

Details

Attachments

(3 files)

Due to Bug 1490141, when there is an error in the `run` block, it shows an error as-if the block needs to match the first option (i.e. docker-worker). Re-arrange things, so that we give a better error message.
Trying to use this will fail, as there isn't a payload builder for it.
Pushed by mozilla@hocat.ca:
https://hg.mozilla.org/integration/autoland/rev/80472227ba89
[taskgraph] Remove unsupported docker-engine worker implementation; r=dustin
https://hg.mozilla.org/integration/autoland/rev/bb0a820903b9
[taskgraph] Give reasonable error message when an error is made in task.run blocks; r=dustin,aki
https://hg.mozilla.org/integration/autoland/rev/c6ccc7065476
[taskgraph] Remove some single-variant `Any` schemas; r=dustin
Assignee: nobody → mozilla
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: