Closed Bug 1244801 Opened 4 years ago Closed 4 years ago

Loading task definitions with the same keyword multiples times should fail

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: armenzg, Unassigned)

References

Details

Without noticing it, we had a task definition with payload being defined twice.
Unfortunately, this took us a very long time to be noticed.

IMHO we should prevent this by failing when generating the task graph.

[1]
https://bug1244720.bmoattachments.org/attachment.cgi?id=8714375
I think this is an inherent flaw in YAML syntax.
Depends on: 1247703
Summary: Loading task definitions with the same keyboard multiples times should fail → Loading task definitions with the same keyword multiples times should fail
Component: General → Task Configuration
..or in the YAML parser.  Using less YAML will help, but beyond that I don't think there's much we can do.  I don't see anything useful on the PyYAML documentation page.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
can we not parse the yaml with a different tool?  Is yaml the best format for these files?
Product: TaskCluster → Firefox Build System
You need to log in before you can comment on or make changes to this bug.