Support a --target-task-filter filter for./mach try auto
Categories
(Firefox Build System :: Mach Core, enhancement)
Tracking
(firefox84 fixed)
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.)
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
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?
Comment 3•4 years ago
|
||
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.
Pushed by tritter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a17eafcddc05 Support a regex filter for./mach try auto r=ahal
Comment 5•4 years ago
|
||
bugherder |
Description
•