Closed Bug 1339596 Opened 7 years ago Closed 7 years ago

when clause doesn't work in tests.yml

Categories

(Taskcluster :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Unassigned)

Details

I have been trying to get 'when' to work in tests.yml.  Ifound that whenever we call filed_changed.check() it never invokes a check based on the 'when' clause I add to tests.yml.

In looking at this, it appears that my task label is missing the when syntax.

I found a comment that we lose the when syntax:
https://dxr.mozilla.org/mozilla-central/source/taskcluster/taskgraph/task/transform.py#109

not sure if that applies- either way, I am not sure where in the taskgraph to look for the 'when', I have verified I have no 'when' data at this point:
https://dxr.mozilla.org/mozilla-central/source/taskcluster/taskgraph/generator.py#189

I assume there is some way that an expert would know a more efficient way to debug this.
:dustin, when you have some time, could you help us figure this out?
Flags: needinfo?(dustin)
We're going to talk about this in vidyo tomorrow
I think we sorted this out on vidyo.  Joel's adding functionality to allow `when` to be used in tests.yml, and had missed a spot in implementing it.
Flags: needinfo?(dustin)
I believe this has been fixed, and we're making it even better with the integration of moz.build stuff.  Is this something we need to keep open?
Flags: needinfo?(dustin)
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(dustin)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.