Skip to content

budget: bring adopt-polyglot toolchains and quickstart lock bytes back under budget #15406

In progress

Description

@TrapsterDK

adopt-polyglot measures 1785 toolchains vs a budget of 1574, and 6 configurations vs 4. quickstart lock_bytes is 645934 vs 287513.

  • rules_rust++rust registers 348 toolchains vs 180: add WASM_TRIPLES to the dx rust hub and drop register_toolchains("@rust_toolchains//:all") at MODULE.bazel:2963 (348 to about 48).
  • python_interpreters registers 28 vs 7 and adds 2 configurations: drop the consumer python 3.12 pin at MODULE.bazel:2796-2800.
  • rules_dx+ registers 216 vs 5: rebaseline to 216 in the lock-refresh: per-tool quality members, extension-union lock merge, host-only Rust hub (part of #15298) #15391 fixup.
  • Lock bytes 645934 vs 287513: make the flutter and python extensions reproducible and stop saving pinned indexes in the lock.
  • Re-measure, then rebaseline the budgets.

Related: #15298, #15391, #15016, #15152.

Done when adopt-polyglot and quickstart pass their budgets without raising them, except the measured rebaseline.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hxb7tMzRqzVaKmAvVT

Activity

  1. added 9 commits that reference this issue on Dec 2, 2026
    4701c89
    cef987e
    0a2ffce
    5b5b7eb
    07e23c7
    8842bc9
    672bec4
    8a764b9
    1904aac
  2. TrapsterDK commented on Dec 4, 2026

    @TrapsterDK
    CollaboratorAuthor

    Merged #15507 (1904aac). In a minimal consumer, rules_rust's own toolchain repo now registers 0 toolchains (was 684); Rust resolution checks 76 candidates, all rules_dx. Python resolves to rules_dx, Intel Mac included. Consumers without their own rust.toolchain tag: rust_build_script and raw rules_rust targets without an edition now default to 2024, and nightly needs a consumer rust.toolchain tag (documented in rust/README.md). Timing benchmark not run yet.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions