Closed Bug 1674182 Opened 4 years ago Closed 4 years ago

Support a --target-task-filter filter for./mach try auto

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement

Tracking

(firefox84 fixed)

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

In order to limit try runs to a specific platform (or exclude a specific platform) we'd like to support a regex filter that will be applied to the selection chosen by mach try auto such that all selected tasks must match it.

(I'm exploring if I can express the inverse - that all selected tasks must not match it - in a regex, but it's looking like this may need to either be a separate filter argument or a flag that modifies the filter argument.)

I think I do need to do something for the inverse case. Andrew I think if I allow --tasks-regex to be specified multiple times, I might need to add a second parameter --tasks-regex-exclude that can be specified multiple times also - does that sound alright?

Flags: needinfo?(ahal)

Eh, it's up to you. I was thinking we could just take the union of tasks selected by the regexes and ignore intersections. But maybe it's best to leave it as is for now and we can revisit it if the current implementation actually becomes a problem (doubtful).

Longer term I still envision bug 1635921 being the main way of using this.

Flags: needinfo?(ahal)
Pushed by tritter@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a17eafcddc05
Support a regex filter for./mach try auto r=ahal
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: