Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PSA: Avoid |mach try| task generation by running it in the background

0 views
Skip to first unread message

Andrew Halberstadt

unread,
May 3, 2019, 10:08:47 AM5/3/19
to dev-platform, to...@lists.mozilla.org, Firefox Dev
If you use |mach try fuzzy| or |mach try chooser|, you've probably noticed
the line:
*Task configuration changed, generating target task set*

Followed by a 20-30 second delay as we rebuild the taskgraph locally. I
just landed a change in bug 1546757
<https://bugzilla.mozilla.org/show_bug.cgi?id=1546757> to make it easier to
use watchman <https://facebook.github.io/watchman/>
to do this computation in the background whenever a file under /taskcluster
is modified. With this feature enabled re-generating in the foreground will
be
extremely rare.

Follow the instructions here to get it set up:
https://firefox-source-docs.mozilla.org/tools/try/tasks.html#configuring-watchman

While watchman purportedly works everywhere, I haven't personally tested
the trigger across platforms. So if you run into issues please ping me or
file a bug under Firefox Build System :: Try.

Cheers,
Andrew

Kartikaya Gupta

unread,
May 3, 2019, 10:46:59 AM5/3/19
to Andrew Halberstadt, dev-platform, to...@lists.mozilla.org, Firefox Dev
This is great, thank you!

On Fri, May 3, 2019 at 10:08 AM Andrew Halberstadt <ah...@mozilla.com> wrote:
>
> If you use |mach try fuzzy| or |mach try chooser|, you've probably noticed
> the line:
> Task configuration changed, generating target task set
>
> Followed by a 20-30 second delay as we rebuild the taskgraph locally. I
> just landed a change in bug 1546757 to make it easier to use watchman
> to do this computation in the background whenever a file under /taskcluster
> is modified. With this feature enabled re-generating in the foreground will be
> extremely rare.
>
> Follow the instructions here to get it set up:
> https://firefox-source-docs.mozilla.org/tools/try/tasks.html#configuring-watchman
>
> While watchman purportedly works everywhere, I haven't personally tested
> the trigger across platforms. So if you run into issues please ping me or
> file a bug under Firefox Build System :: Try.
>
> Cheers,
> Andrew
> _______________________________________________
> firefox-dev mailing list
> firef...@mozilla.org
> https://mail.mozilla.org/listinfo/firefox-dev
0 new messages