Hey folks,

Just a quick PSA that it's now possible to re-use existing tasks from a
previous try push. Simply pass in `-E/--use-existing-tasks` into `./mach
try fuzzy` or `./mach try chooser`, e.g:

   $ ./mach try fuzzy -E

This will query the Treeherder API to find your most recent try push, and
forward all tasks from that push into the `existing_tasks` parameter of
your in-progress push. This means tasks which you've explicitly selected
will depend on those older tasks rather than causing new ones to be
scheduled (explicitly selected tasks are also excluded from
`existing_tasks` themselves). It's also possible to choose a specific try
push using `-E revision=<revision>` where <revision> is the head rev of the
push or `-E task-id=<task id>` where <task id> is the Decision task id for
the push (note that it's even possible to point at non-try branches using
this method).

But before you get too excited, there's a big caveat. It's currently not
possible to use this method to iterate quickly on most tests (like
mochitest, WPT, reftest, etc) because these tests get packaged in the build
and exposed as an artifact there (so running just the test task would not
pick up your changes). As a rule of thumb, this will only work for test
tasks that run out of a source checkout. Bug 1878157
<https://bugzilla.mozilla.org/show_bug.cgi?id=1878157> tracks one possible
way to get this working for all tests (volunteers welcome!). Of course
there are likely non-test related use cases for this feature as well.

Feel free to give it a shot and let me know if you have any questions or
feedback,
Cheers,
Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAAJAz%2B6L%2BZyrB%3DUNQJQ1irFfVC%3D%2Byx1BsHSVF%2ByfdUga89FAQg%40mail.gmail.com.

Reply via email to