Skip to content

Separate build/run time deps #32582

Closed

Description

@sagudev

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.

Activity

  1. added
    L-python
    A-build
    on Jun 23, 2024
  2. mrobinson commented on Jun 23, 2024

    @mrobinson
    Member

    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.

  3. jschwe commented on Jun 24, 2024

    @jschwe
    Member

    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.

  4. added 2 commits that reference this issue on Jun 24, 2024
    dd825c2
    600c0e3
  5. added a commit that references this issue on Jun 24, 2024
    e331cc6
  6. added a commit that references this issue on Jul 1, 2024
    31b6d6c
  7. added a commit that references this issue on Jul 22, 2024
    4ee3eec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildL-python

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions