Use a file watcher to rebuild the cached taskgraph in the background
Categories
(Developer Infrastructure :: Try, enhancement)
Tracking
(firefox68 fixed)
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
(Depends on 1 open bug)
Details
Attachments
(4 files)
One of the most annoying things about mach try fuzzy/chooser
is the need to wait for the taskgraph to regenerate. Instead of making developers wait for this, we should use a file-watcher to do this in the background whenever something under /taskcluster changes.
I had a proposal in bug 1467147 that would make doing things like this easier. We don't need to block on that, but it might be worth solving this more generically first anyway.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
This allows consumers to call 'generate_tasks()' without arguments.
Assignee | ||
Comment 2•6 years ago
|
||
This adds a 'watchman.json' file to /tools/tryselect and some documentation on
how to use it. Tl;dr, install watchman and then:
$ cd path/to/gecko
$ watchman -j < tools/tryselect/watchman.json
Depends on D28770
Assignee | ||
Comment 3•6 years ago
|
||
Since we need to generate the full_task_set as a prereq to the target_task_set, we might
as well save the computed set to the cache while we have it. This means users that run:
$ ./mach try fuzzy
$ ./mach try fuzzy --full
Will only incur task generation once. It also means that the 'watchman' trigger will cache
both taskgraphs.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d0b5adc9ff32
https://hg.mozilla.org/mozilla-central/rev/82b12442ef44
https://hg.mozilla.org/mozilla-central/rev/5a253216d75b
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Otherwise statedir
is always ""
Comment 8•6 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•