You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running WPT tests we spend 6min on mach bootstrap installing build deps and utils (crown, taplo, cargo-deny, ...) that will not be used. Instead we should provide --runtime-only flag that would only install runtime deps.
The distinction isn't build / run exactly. It's more like run / build / lint. Maybe we can be a bit clever about how we express that or install those tools. In particular, it would be better to use python based tools when there are alternatives. I think taplo is the main culprit there. I agree the bots shouldn't be compiling a lot of extra rust code when unnecessary.
Most of the CI jobs (example) use a dedicated cargo-install step to install taplo / cargo-deny, which has the benefit of using the github actions cache to cache the binary, at the cost of making the CI yaml files more verbose. Skipping would of course be the better solution, but as a quick fix, we could also use the cache for the wpt tests.
Activity
mrobinson commentedon Jun 23, 2024
The distinction isn't build / run exactly. It's more like run / build / lint. Maybe we can be a bit clever about how we express that or install those tools. In particular, it would be better to use python based tools when there are alternatives. I think taplo is the main culprit there. I agree the bots shouldn't be compiling a lot of extra rust code when unnecessary.
jschwe commentedon Jun 24, 2024
Most of the CI jobs (example) use a dedicated
cargo-installstep to install taplo / cargo-deny, which has the benefit of using the github actions cache to cache the binary, at the cost of making the CI yaml files more verbose. Skipping would of course be the better solution, but as a quick fix, we could also use the cache for the wpt tests.mach: Expose a `--skip-static-analysis` to `mach boostrap`
mach: Expose a `--skip-static-analysis` to `mach boostrap`
mach: Expose a `--skip-static-analysis` to `mach boostrap` (#32587)
mach: Expose a `--skip-static-analysis` to `mach boostrap` (servo#32587)
chore: update readablestream branch to latest main commit (#32823)