Repository navigation
Backlog
Description
A consumer that adds rules_dx but builds nothing from it should fetch and set up nothing beyond an empty project. A consumer that uses one language should fetch only that language's tools.
Speed
- Bare consumer builds: fails analysis today on
@dx_rust_toolchains//:..._rustdoc.
Cold
Fresh output base, empty repository cache, median of 3.
- Empty consumer: 66 repos, 125 MB, ~2.7 s.
- Bare rules_dx consumer: 130 repos, 595 MB, 5.4–7.5 s. Target: same as empty.
- Per-language consumers fetch only their own tools.
Warm
Warm build --nobuild after shutdown, median of 5.
- Baseline measured for empty, bare and per-language consumers.
- Toolchain packages load no heavy
.bzl.
Abstract
- One shared helper for toolchain hubs, lazy repos and platform lists that every language uses.
- A test fails when any registered toolchain fetches a repo the build does not use.
- One registration line for consumers that works with
--incompatible_restrict_non_root_registrations.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxwSmXz9LXAwC5de1M
Grouped trackers
- group: apple and jvm patches #15411 group: apple and jvm patches
- group: beam #15412 group: beam
- group: cc, cuda and rust patches #15413 group: cc, cuda and rust patches
- group: CI gate speed and red CI #15414 group: CI gate speed and red CI
- group: cleanup batches #15415 group: cleanup batches
- group: dart and flutter #15416 group: dart and flutter
- group: determinism #15417 group: determinism
- group: first-run UX #15418 group: first-run UX
- group: haskell #15419 group: haskell
- group: julia #15420 group: julia
- group: layout #15421 group: layout
- group: lazy fetch and cold start #15422 group: lazy fetch and cold start
- group: lock redesign #15423 group: lock redesign
- group: other upstream asks and pins #15424 group: other upstream asks and pins
- group: platform gaps #15425 group: platform gaps
- group: prebuilt tools #15426 group: prebuilt tools
- group: python and ruby patches #15427 group: python and ruby patches
- group: release #15428 group: release
- group: remote execution for quality #15429 group: remote execution for quality
- group: rust code quality #15430 group: rust code quality
- group: shared helpers #15431 group: shared helpers
- group: Windows toolchains and bugs #15432 group: Windows toolchains and bugs
- group: zig and coverage #15433 group: zig and coverage
- ci: make the CI gate fast #15405 ci: make the CI gate fast
- budget: bring adopt-polyglot toolchains and quickstart lock bytes back under budget #15406 budget: adopt-polyglot toolchains and quickstart lock bytes
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity
TrapsterDK commentedon Nov 30, 2026
Progress from the bare-consumer and fetch-measurement lane. Measured on Linux x86_64 with Bazel 9.3.1 and
--jobs=4. Each consumer has onlybazel_dep(rules_dx)pluslocal_path_override, and the target isbuild --nobuild //:t.Speed
invalid registered toolchain '@dx_rust_toolchains//:..._musl__stable__clippy'. The musl clippy and rustdoc toolchains existed only when the root-only rules_rust patches applied; they now come from adx_rust_musl_toolchainshub. The PR adds an offline regression case tonested_bazel_harness_test, and it re-records the harness cache set, which was stale onmain(an_indirect_consumer_...was missingrules_kotlin-v2.4.21.tar.gz).tools/testing/consumer/pending.txt):@rules_dx//rust:defs.bzlfails to load without the rules_rust override (@@rules_rust+//rust/private:rustdoc_toolchain.bzl: no such file).rules_py_uv_hostfails withUnable to determine host libc!.--java_runtime_version, because the defaultlocal_jdkfails.Cold
Fresh output base and empty repository cache, median of 3. MB is the whole cache, mostly extracted contents; dl is the downloads.
register_toolchainsregister_toolchainscall one at a time. No single call adds more than 6 repos or 5 MB:julia/private/toolchains.BUILD.bazel→runtime/defs.bzlpython_3_14_x86_64-unknown-linux-gnu.Warm
build --nobuildaftershutdown, median of 5. Spread is about 3%.Abstract
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxwSmXz9LXAwC5de1M
rust: register the musl companion toolchains from a hub, so a bare co…
ci: run the same checks on every path (part of #15298) (#15301)
TrapsterDK commentedon Nov 30, 2026
Abstract: platform support work, built on the platforms.json table from the lazy plan, is tracked in #15302.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxwSmXz9LXAwC5de1M
TrapsterDK commentedon Nov 30, 2026
Warm: the dx_pins lazy-check branch (perf-ext-lazy, 536e466) cuts lockfile restarts from 88 to 36 and the dx_pins check from 668 ms to 451 ms. Warm total is unchanged: 8181 ms vs 8221 ms median of 5, with a spread of about 1.5 s. No PR. The remaining restarts come from re-reading the 35 pins JSON files, so the next gain needs a Bazel change that batch-checks recorded files from the same repository.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxwSmXz9LXAwC5de1M
worktree: read the parent chain in-process instead of two ps calls pe…
worktree: read the parent chain in-process instead of two ps calls pe…
rust: docs aspect loads on stock rules_rust (part of #15298)
rust: docs aspect loads on stock rules_rust (part of #15298) (#15312)
TrapsterDK commentedon Nov 30, 2026
Merged #15312: rules_dx's rust docs rules now load in a consumer on stock rules_rust. Covered by a nested harness case. Items (b) (blocked on aspect-build/rules_py#1686) and (c) remain.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxb7tMzRqzVaKmAvVT
platforms: one platform table in platforms/platforms.json
platforms: one platform table in platforms/platforms.json (#15313)
TrapsterDK commentedon Nov 30, 2026
Merged #15313 (platform table PR1, part of #15303).
macos_x86_64stays host-only until every lang.json lists it; that lands with the rest of #15303.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxb7tMzRqzVaKmAvVT
TrapsterDK commentedon Nov 30, 2026
Merged #15314 (macos_x86_64 analysis fixes, part of #15303). Three rules_apple fixture roots still need a macOS exec platform to analyze for macos_x86_64.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxb7tMzRqzVaKmAvVT
TrapsterDK commentedon Nov 30, 2026
Merged #15315: a warm
dx testmakes one launcher call instead of two. Fresh consumer, 15 interleaved runs: median 700 ms before, 439 ms after.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxb7tMzRqzVaKmAvVT
299 remaining items
ci: address review of the check port (part of #15298)
affected: crate set manifests and locks stay in the generate scope un…
ci: dx check owns the checks the old ci.yml and audit.yml ran (part of …
ci: wire the dx query stack in one function and test its layer order …
ci: persistent rule graph keys on the repository options; dx.cmd and …
ci: wire the dx query stack in one function and test its layer order …
TrapsterDK commentedon Dec 4, 2026
Windows strtoul fix (#15610) is upstream: issue hermeticbuild/hermetic-llvm#1021, PR hermeticbuild/hermetic-llvm#1022. Drop
patches/llvm/runtime_exec_configuration.patchonce a release carries it.TrapsterDK commentedon Dec 4, 2026
B12 item 62 (swift): split merged in #15626. Upstream issue bazelbuild/rules_swift#2044 and PR bazelbuild/rules_swift#2045 for Windows
linker_inputs. Rusttoolchain_components.patchwaits for a rules_rust release with #4354 and #4397, which are already merged.TrapsterDK commentedon Dec 4, 2026
Haskell split (#15632): upstream issues filed: tweag/rules_haskell#2534 (static library action misses cc toolchain files) and tweag/rules_haskell#2535 (cc_wrapper cannot find an external cc). Patch headers will point at them before merge.
TrapsterDK commentedon Dec 4, 2026
Merged #15632 (9dbedf7): Haskell step 2. Patch headers point at tweag/rules_haskell#2534 and #2535. Upstream PRs with regression tests are next.
TrapsterDK commentedon Dec 4, 2026
Merged #15633 (c32bbc2):
dx lockanddx lock --checkfor the root lock (#15409).TrapsterDK commentedon Dec 4, 2026
Upstream PRs opened with regression tests: tweag/rules_haskell#2536 (fixes #2534,
cc_toolchain_inputs.patch) and tweag/rules_haskell#2537 (fixes #2535,cc_wrapper_external_cc.patch). Delete the patches once a release carries them.TrapsterDK commentedon Dec 4, 2026
Main CI fixes merged: #15634 (Biome test globals for
*_test.*), #15635 (Error Prone dataflow jar on the processor path), #15636 (Qt repos on hosts without a pinned 7-Zip). Still open: linux_arm64cc_allocator_libraryhas no C++ toolchain.TrapsterDK commentedon Dec 4, 2026
Upstream follow-ups:
patches/rules_rust/llvm_tools_on_demand.patch).no_checked_in_upb_includes.patchnow points at Bazel: vendored well-known-type upb headers in src/core/ext/upb-gen shadow protobuf's (undeclared inclusion) grpc/grpc#43924 (fix PR [Build] Stop adding src/core/ext/upb-gen and upbdefs-gen to every grpc_cc_library's includes grpc/grpc#43880).TrapsterDK commentedon Dec 4, 2026
Progress: