Add a /renderdoc-capture debug-server endpoint plus a wrshell `rd`
command and "Capture (RenderDoc)" GUI button. To produce a self-contained
capture, it clears the resource caches and forces a full invalidated
rebuild, so the captured frame re-rasterizes all picture-cache tiles,
glyphs and images in-frame (a single-frame RenderDoc capture can't replay
WebRender's persistent caches populated in earlier frames).
Includes a `mach wrshell` launcher (preloads librenderdoc, disables the
GPU process, starts wrshell) and a RenderDoc bootstrap script. Gated
behind --enable-webrender-debugger.
Differential Revision: https://phabricator.services.mozilla.com/D305080
Add a /renderdoc-capture debug-server endpoint plus a wrshell `rd`
command and "Capture (RenderDoc)" GUI button. To produce a self-contained
capture, it clears the resource caches and forces a full invalidated
rebuild, so the captured frame re-rasterizes all picture-cache tiles,
glyphs and images in-frame (a single-frame RenderDoc capture can't replay
WebRender's persistent caches populated in earlier frames).
Includes a `mach wrshell` launcher (preloads librenderdoc, disables the
GPU process, starts wrshell) and a RenderDoc bootstrap script. Gated
behind --enable-webrender-debugger.
Differential Revision: https://phabricator.services.mozilla.com/D305080
This patch adds the `./mach perfdocs` command to mozperftest. It also sets up the logger required by perfdocs for producing reviewbot-compatible lint errors, and output these into a JSON file. A `--generate` option is added to enable re-generation of the documentation. At the same time, the existing lint task is changed to use this new command.
Because of a slight change in how perfdocs works, this patch also fixes a bug with the talos gatherer that had caused an existing failure to slip through.
Differential Revision: https://phabricator.services.mozilla.com/D297130
CCACHE_CPP2 is no longer a thing and hasn't been for ~10y.
There are other ways to configure icecream that isn't CCACHE_PREFIX, so
remove the broken and special-casey detection while at it.
The right thing to check would be to run `ccache -k prefix_command` or
so (and even so `mk_add_option` would bypass it).
It seems nobody had regenerated the metrics doc in a while...
Differential Revision: https://phabricator.services.mozilla.com/D295254
We temporarily hide the vendored `filelock` package and load it via wrapper in
`python/mach/mach/filelock.py`, which allows the `mach` site to use a fixed version
while other command sites can depend on different versions of `filelock` from `PyPI`
without conflicts.
This can be reverted once we upgrade our minimum Python version to `3.10`, see bug 2014269.
Differential Revision: https://phabricator.services.mozilla.com/D279757
This reverts commit 0382300c2d.
Revert "Bug 2015841 - ruff: fix 'String is split more times than necessary' r=linter-reviewers,ahal,sergesanspaille"
This reverts commit 1e0b4c3c7b.
Revert "Bug 2015841 - Reformat the code with ruff-format 0.15.0 r=linter-reviewers,perftest-reviewers,mozperftest-reviewers,releng-reviewers,sessionstore-reviewers,dom-storage-reviewers,dom-worker-reviewers,whimboo,chutten,ahal,sparky,sclements"
This reverts commit 15a20a737e.
Revert "Bug 2015841 - Update to ruff 0.15.0 r=linter-reviewers,ahal"
This reverts commit 4b0785d39e.
This reverts commit 5eca473e96.
Revert "Bug 2015841 - ruff: fix 'String is split more times than necessary' r=linter-reviewers,ahal,sergesanspaille"
This reverts commit 654a09320c.
Revert "Bug 2015841 - Reformat the code with ruff-format 0.15.0 r=linter-reviewers,perftest-reviewers,mozperftest-reviewers,releng-reviewers,sessionstore-reviewers,dom-storage-reviewers,dom-worker-reviewers,whimboo,chutten,ahal,sparky,sclements"
This reverts commit 93b38f0d79.
Revert "Bug 2015841 - Update to ruff 0.15.0 r=linter-reviewers,ahal"
This reverts commit cc04e8271b.
This login will allow the test infrastructure access the MLPA endpoint
for language models in both the test run and in the evaluation.
Differential Revision: https://phabricator.services.mozilla.com/D277468
This makes it more ergonomic for running evals as a unique test type.
Originally I wanted this to run like `./mach eval test.js -- --headless`
where everything past the -- would be forwarded to the underlying test.
However I struggled with the argument parsing in mach having surprising
behavior and swallowing the -- before the mach command was run.
Mostly this serves as an entrypoint and area for future documentation
for browser evals.
Differential Revision: https://phabricator.services.mozilla.com/D277467
D235335 removed our home-brewed `filelock` implementation. This reverts that
change, bringing back an in-house implementation to avoid relying on the
vendored `filelock` so that we can work around a dependency constraint.
The in-house implementation has been expanded to support context managers and an
acquire/release interface similar to `filelock`. It also detects and cleans
up stale locks left by processes that died while holding a lock.
Differential Revision: https://phabricator.services.mozilla.com/D279757
The rule is never used from CI, it's just there for user convenience,
and it's not something we can model from moz.build, so we should
move it elsewhere.
Differential Revision: https://phabricator.services.mozilla.com/D281792