Open Bug 1499079 Opened 7 years ago Updated 3 years ago

Fail taskgraph generation if all the conditions under by-* have the same value

Categories

(Firefox Build System :: Task Configuration, task, P5)

task

Tracking

(Not tracked)

People

(Reporter: RyanVM, Unassigned, Mentored)

Details

(Keywords: good-first-bug)

See the below code: https://searchfox.org/mozilla-central/rev/3a54520d8d2319a4116866371ed3d9ed2ec0cc2b/taskcluster/ci/test/web-platform.yml#141 Those 4 lines could all be condensed to down to just a single "chunks: 2" line instead. We currently fail taskgraph generation if there's a by-* condition with only a default key under it. However, it's still legal to have multiple keys under it with the same value, which seems unnecessarily verbose. Can we extend the default checks to include this case?
Mentor: dustin
Keywords: good-first-bug
Severity: normal → enhancement
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.