Bazel: 2 patch releases in the week of Nov 16
9.3.3, 7.7.3
Why it matters: Bazel is in Language & Toolchain (one of your focus areas).

a fast, scalable, multi-language and extensible build system.
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.3 (2026-11-19) Bazel 9.3.3 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. Updated the embedded JDK to 25.0.5.1 to…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 7.7.3 (2026-11-19) Bazel 7.7.3 is a patch LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers. Updated the embedded JDK to 21.0.13.1 to address…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 8.9.0 (2026-11-19) Bazel 8.9.0 is a minor LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers. General Updated the bundled JDK to 25.0.5.1 to address…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.2 (2026-11-05) Bazel 9.3.2 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. Fixed an issue where Bazel occasionally…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 7.7.2 (2026-10-23) Bazel 7.7.2 is a patch LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers. Removed distrusted eMudhra and Sectigo AAA root CA…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 8.8.2 (2026-10-20) Bazel 8.8.2 is a patch LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers. Removed distrusted eMudhra and Sectigo AAA root CA…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.1 (2026-10-20) Bazel 9.3.1 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. General Removed distrusted eMudhra and…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.0 (2026-10-07) Bazel 9.3.0 is a minor LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. General Fix for regression in #29284…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 8.8.1 (2026-09-24) Bazel 8.8.1 is a patch LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers. Remote Execution Fixed a regression that caused source…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 8.8.0 (2026-08-31) Bazel 8.8.0 is a minor LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers. Configurability The and_then method on transitions can be…
9.3.3, 7.7.3
Why it matters: Bazel is in Language & Toolchain (one of your focus areas).
[!NOTE] If you are looking for rolling releases, please visit this page. Release 8.9.0 (2026-11-19) Bazel 8.9.0 is a minor LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers. General Updated the bundled JDK to…
Why it matters: Bazel is in Language & Toolchain (one of your focus areas).
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.2 (2026-11-05) Bazel 9.3.2 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. Fixed an issue…
Why it matters: Bazel is in Language & Toolchain (one of your focus areas).
7.7.2, 8.8.2, 9.3.1
Why it matters: Bazel is in Language & Toolchain (one of your focus areas).
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.0 (2026-10-07) Bazel 9.3.0 is a minor LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. General Fix for…
Why it matters: Bazel is in Language & Toolchain (one of your focus areas).
[!NOTE] If you are looking for rolling releases, please visit this page. Release 8.8.1 (2026-09-24) Bazel 8.8.1 is a patch LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers. Remote Execution Fixed a regression that…
Why it matters: Bazel is in Language & Toolchain (one of your focus areas).
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.3 (2026-11-19) Bazel 9.3.3 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. Updated the embedded JDK to 25.0.5.1 to…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 7.7.3 (2026-11-19) Bazel 7.7.3 is a patch LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers. Updated the embedded JDK to 21.0.13.1 to address…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 8.9.0 (2026-11-19) Bazel 8.9.0 is a minor LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers. General Updated the bundled JDK to 25.0.5.1 to address…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.3rc1 (2026-11-19) Release Notes: General: Updated the embedded JDK to 25.0.5.1 to address CVE-2026-114938. (#32792) Acknowledgements: This release contains contributions from many people at Google, as well as Fabian Meumertzheim.…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 7.7.3rc1 (2026-11-19) Release Notes: General: Updated the embedded JDK to 21.0.13.1 to address CVE-2026-114938. (#32791) Acknowledgements: This release contains contributions from many people at Google. _Notice_: Bazel installers contain…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 10.0.0rc4 (2026-11-19) Release Notes: Android: Add proper error ordering for bazel mobile-install command (#30998) CLI: Target counts of 10,000 or more in the "Found" summaries for builds and tests now include comma separators, matching…
[!NOTE] If you are looking for rolling releases, please visit this page. _The following release notes are still in the process of being updated and cleaned up._ Release 8.9.0rc4 (2026-11-19) Release Notes: _Notice_: Bazel installers contain binaries licensed under the GPLv2 with Classpath exception. Those installers…
[!NOTE] If you are looking for rolling releases, please visit this page. _The following release notes are still in the process of being updated and cleaned up._ Release 8.9.0rc3 (2026-11-17) Release Notes: _Notice_: Bazel installers contain binaries licensed under the GPLv2 with Classpath exception. Those installers…
[!NOTE] If you are looking for rolling releases, please visit this page. _The following release notes are still in the process of being updated and cleaned up._ Release 8.9.0rc2 (2026-11-13) Release Notes: _Notice_: Bazel installers contain binaries licensed under the GPLv2 with Classpath exception. Those installers…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 10.0.0rc3 (2026-11-10) Baseline: 649a7bed0cfaacea171b48b9a986885ab2f2d837 Bazel 10.0 is a major long-term-support (LTS) release. It contains new features and backwards incompatible changes. Highlights TBA Migration-Ready Incompatible…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 8.9.0rc1 (2026-11-09) Bazel 8.9.0 is a minor LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers. Configurability Visibility of implicit dependencies of…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.2 (2026-11-05) Bazel 9.3.2 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. Fixed an issue where Bazel occasionally…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.2rc3 (2026-11-02) Bazel 9.3.2 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. Fixed an issue where Bazel…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.2rc2 (2026-10-29) Bazel 9.3.2 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. Fixed an issue where Bazel…
[!NOTE] If you are looking for rolling releases, please visit this page. Release 9.3.2rc1 (2026-10-28) Bazel 9.3.2 is a patch LTS release. It is fully backward compatible with Bazel 9 releases starting from 9.0.1; see Bazel 9.0.1 release notes for a note on backward compatibility. Fixed an issue where Bazel…
Description of the feature request: When git_repository (and therefore git_override) is given a tag, resolve it to its commit at fetch time and record that commit in MODULE.bazel.lock. Later fetches would use the recorded commit, so the repo is marked reproducible = True and goes through --repo_contents_cache, the same as when commit is set. Updating the lock file (e.g. with --lockfile_mode=update or a bazel mod command) would resolve the tag again; with --lockfile_mode=error, a tag that now points elsewhere would fail the build instead of silently changing the source. Today only commit makes…
Description of the feature request: When git_repository (and therefore git_override) is given a tag, resolve it to its commit at fetch time and record that commit in MODULE.bazel.lock. Later fetches would use the recorded commit, so the repo is marked reproducible = True and…
This sounds like a good idea, happy to review a PR!
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
Description of the feature request: Change --*_tag_filters options to accumulate multiple uses, or provide some alternative mechanism for achieving the same thing. Many of bazel's command line rules accumulate multiple uses. This is very useful for providing default configuration in a repository .bazelrc which users can then build upon or modify in their own bazelrc files and with command-line syntax. Currently, these tag filter rules don't allow for the same sort of use. Feature requests: what underlying problem are you trying to solve with this feature? For example, we have a Makefile rule…
Description of the feature request: Change --*_tag_filters options to accumulate multiple uses, or provide some alternative mechanism for achieving the same thing. Many of bazel's command line rules accumulate multiple uses. This is very useful for providing default…
Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.
Description of the feature request: As of today, the max_cas_entry_size is declared at the server side. In the event that Bazel sends a write request containing a digest larger than the specified max_cas_entry_size, the remote cache throws an 'out_of_range' error. By introducing a Bazel flag for max_cas_entry_size, it becomes possible to validate it on the client side, potentially eliminating the need for a round trip to the server. This improvement has the potential to enhance build performance. What underlying problem are you trying to solve with this feature? Improved build performance…
Description of the feature request: As of today, the max_cas_entry_size is declared at the server side. In the event that Bazel sends a write request containing a digest larger than the specified max_cas_entry_size, the remote cache throws an 'out_of_range' error. By…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the feature request: We're interested in having Bazel integrate with OpenTelemetry, with the idea that we'd like each build graph action to open a new span that links to the parent span for the overall Bazel invocation. This way, when our code invokes Bazel (inside an OTel span) and Bazel makes many actions that may invoke OTel-compatible tools we create, we'd be able to link the spans from those child tools to the specific Bazel action that spawned them rather than the overall Bazel process. We recognize that the JSON profiles and the BEP provide two other ways to get (some…
Description of the feature request: We're interested in having Bazel integrate with OpenTelemetry, with the idea that we'd like each build graph action to open a new span that links to the parent span for the overall Bazel invocation. This way, when our code invokes Bazel…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the feature request MerkleTreeComputer serializes each Directory proto to a byte[] via toByteArray() before hashing it: java byte[] blob = directory.build().toByteArray(); Digest digest = digestUtil.compute(blob); if (blobPolicy != DISCARD) { blobs.putIfAbsent(digest, blob); } Under BlobPolicy.DISCARD, that array exists only to be hashed and is then discarded — an avoidable allocation plus a second pass over the bytes. Proposal: benchmark serializing the protobuf directly into a digesting output stream instead, so the digest is computed while writing rather than after:…
Description of the feature request MerkleTreeComputer serializes each Directory proto to a byte[] via toByteArray() before hashing it: java byte[] blob = directory.build().toByteArray(); Digest digest = digestUtil.compute(blob); if (blobPolicy != DISCARD) {…
@fmeum maybe this is related to your recent work?
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the feature request: Description #29284 made the local scheduler honor resources:cpu and resources:memory from both tags and exec_properties (ResourceSetOrBuilder.buildLocalResources parses both executionInfo and execProperties). That implements #25195 twice. Ignoring cpp_link.cpu under a local link strategy is fixed by either of: tags = ["resources:cpu:10"] (and resources:memory: ) exec_properties = {"cpp_link.resources:cpu": "10"} The tag form is enough. Local resource allocation has to have zero impact on the action key. Reserving 2 CPUs or 10, or 2 GiB or 6 GiB, does not…
Description of the feature request: Description #29284 made the local scheduler honor resources:cpu and resources:memory from both tags and exec_properties (ResourceSetOrBuilder.buildLocalResources parses both executionInfo and execProperties). That implements #25195 twice…
It's worth fixing this violation of the REAPI spec, but going back to tags is a step in the wrong direction. Tags don't support setting properties per exec group, which is necessary for tests. Instead, I think that we should probably revisit the logic that determines whether a…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the feature request: Let users put a size ceiling on the repo contents cache. As far as I can tell, today, the only eviction signal is age (--repo_contents_cache_gc_max_age), so on busy workspaces the cache grows without bound until the age window kicks in. A companion size-based knob would let users say "keep this cache under 20 GB" and have Bazel evict the oldest entries to honour it: matching the pair of knobs the disk cache already exposes (added in #23833). Which category does this issue belong to? Performance What underlying problem are you trying to solve with this…
Description of the feature request: Let users put a size ceiling on the repo contents cache. As far as I can tell, today, the only eviction signal is age (--repo_contents_cache_gc_max_age), so on busy workspaces the cache grows without bound until the age window kicks in. A…
Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.
Description of the feature request: Currently, --reuse_sandbox_directories will leave sandboxes in place after a task is completed. It would be helpful if there was a flag that cleans up those sandboxes automatically once the task that created them has completed. — Motivating example: We're using aspect_rules_py to run Python unit tests with Bazel. Each test gets a forest of symlinks to create the necessary environment for the test. To make this feasible on a CI runner, we use --sandbox_base=/tmp to use tmpfs instead of writing all the symlinks to disk, and we set --reuse_sandbox_directories…
Description of the feature request: Currently, --reuse_sandbox_directories will leave sandboxes in place after a task is completed. It would be helpful if there was a flag that cleans up those sandboxes automatically once the task that created them has completed. — Motivating…
We could make the flag a ternary that allows cleaning between invocations.
Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.
Description of the bug: --platforms only use a single label. If multiple labels are passed, all but the first are dropped silently, without any kind of warning or error message. Which category does this issue belong to? _No response_ What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible. bazel build //:all --platforms=@platforms//host,this-extra-platform-is-ignored-without-warning-or-error Which operating system are you running Bazel on? Linux What is the output of bazel info release? release 9.2.0 If bazel info release returns development…
Description of the bug: --platforms only use a single label. If multiple labels are passed, all but the first are dropped silently, without any kind of warning or error message. Which category does this issue belong to? _No response_ What's the simplest, easiest way to…
@katre What do you think of making multi-valued --platforms work by essentially a top-level split transition? With remote execution as well as all the recent improvements around cross-compiling toolchains and path mappings, this could provide real benefits over a classical CI…
Reproduce the bug on the latest main branch of Bazel, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Description of the bug: When a C++20 module interface is supplied through cc_library.module_interfaces, Bazel's LLVM coverage report does not include that source file. Ordinary C++ sources in srcs are reported as expected. This reproduces with Bazel 9.2.0, the default rules_cc, Clang, and LLVM native coverage. Which category does this issue belong to? C++ Rules What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible. shows the different coverage dat file starlark load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") cc_library( name = "lib2",…
Description of the bug: When a C++20 module interface is supplied through cc_library.module_interfaces, Bazel's LLVM coverage report does not include that source file. Ordinary C++ sources in srcs are reported as expected. This reproduces with Bazel 9.2.0, the default rules_cc…
Could we just drop extensions from rules_cc? It already filters the allowed extensions for all sources, so presumably anything in there that doesn't cause an analysis error should also be considered for coverage?
Reproduce the bug on the latest main branch of Bazel, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Description of the bug: Looks like between bazel 8.6.0 and 9.3.2 (the upgrade I'm doing right now), there was a change (seemingly in ) to try to reduce duplicate toolchain registrations. This works if the labels are identical, but if one is an alias to another, then this fails. This showed up for us when bazel registered @bazel_tools//tools:host_platform and we had an explicit register_execution_platforms(["@platforms//host"]) in our MODULE.bazel. That got us this output when we tried to do a cquery on a target in rules_rust: FATAL: bazel crashed due to an internal error. Printing stack…
Description of the bug: Looks like between bazel 8.6.0 and 9.3.2 (the upgrade I'm doing right now), there was a change (seemingly in ) to try to reduce duplicate toolchain registrations. This works if the labels are identical, but if one is an alias to another, then this fails…
Robot is right, do you want to send a PR?
Reproduce the bug on the latest main branch of Bazel, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Description of the bug: On 10.0.0rc1, the first build inside a Docker/overlayfs container aborts with an internal error. When cleaning the sandbox base on the first build, renaming the stale trash dir fails with EXDEV on overlayfs ("Invalid cross-device link"). SandboxModule falls back to synchronous deletion (see #21719) but then calls setThreads(1) on the already shut-down AsynchronousTreeDeleter, throwing an NPE. This is already fixed on master by commit dcfcb978d9 (2026-10-08), "Fix NullPointerException when asynchronous sandbox deletion falls back to synchronous deletion on first build"…
Description of the bug: On 10.0.0rc1, the first build inside a Docker/overlayfs container aborts with an internal error. When cleaning the sandbox base on the first build, renaming the stale trash dir fails with EXDEV on overlayfs ("Invalid cross-device link"). SandboxModule…
@bazel-io fork 10.0.0
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
Description of the problem / feature request: I'm trying to use gcc cross-compiler as external dependency, when I'm specifying cxx_builtin_include_directory as external/cross_toolchain/... or %package(@cross_toolchain//...) I'm getting error: '/private/var/tmp/_bazel_ilya/d86e0e7cfe53385dc3edff3c0d9662b6/external/cross_toolchain/lib/gcc/x86_64-unknown-linux-gnu/7.3.0/include/stddef.h' '/private/var/tmp/_bazel_ilya/d86e0e7cfe53385dc3edff3c0d9662b6/external/cross_toolchain/lib/gcc/x86_64-unknown-linux-gnu/7.3.0/include/stdarg.h' It works only if you specify absolute path to include directory.…
Description of the problem / feature request: I'm trying to use gcc cross-compiler as external dependency, when I'm specifying cxx_builtin_include_directory as external/cross_toolchain/... or %package(@cross_toolchain//...) I'm getting error…
Reproduce the bug on the latest main branch of Bazel, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Description of the problem / feature request: I was wondering if it was possible/valuable to build bazel with GraalVM's native-image [1]?
Description of the problem / feature request: I was wondering if it was possible/valuable to build bazel with GraalVM's native-image [1]?
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the feature request: I was surprised to find out that there appears to be no simple programmatic way to determine e.g. that a go_ilbrary target depends on the repo's go.mod file. I'm filing a feature request as requested from this Slack thread (2025-08-26). @arxanas: With bzlmod and rules_go, how can I query in such a way that I'll learn that a given Go target depends on our go.MODULE.bazel and the repo's go.mod? The buildfiles(deps(...)) recommendation in the Bazel query guide doesn't seem to produce them. [...] @arxanas: [...] go.mod simply doesn't appear in the dependencies…
Description of the feature request: I was surprised to find out that there appears to be no simple programmatic way to determine e.g. that a go_ilbrary target depends on the repo's go.mod file. I'm filing a feature request as requested from this Slack thread (2025-08-26)…
Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.
Description We've captured three independent JVM thread dumps of stuck bazel build invocations (Bazel 9.3.0, OpenJDK 21.0.12.1) where the build hangs indefinitely after analysis/execution starts, with no deadlock reported by the JVM. In two of the three dumps, the root cause is directly visible: a single thread holds the BuildEventStreamer instance monitor while inside maybeReportConfiguration/buildEvent, and that same thread is itself parked deep inside a synchronous BEP artifact upload call: "skyframe-evaluator-13" ... waiting on condition at java.util.concurrent.locks.LockSupport.park at…
Description We've captured three independent JVM thread dumps of stuck bazel build invocations (Bazel 9.3.0, OpenJDK 21.0.12.1) where the build hangs indefinitely after analysis/execution starts, with no deadlock reported by the JVM. In two of the three dumps, the root cause is…
@michaeledgar @meisterT
Reproduce the bug on the latest main branch of Bazel, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Description of the bug: action.prepare step - 4.4 seconds ActionContinuation.execute - 10.4 seconds Since all of this is in critical path where every second savings matter, we would like to explore if there are opportunities for improving the performance of the action.prepare step. From the documentation here, // This call generally deletes any files at locations that are declared outputs of the // action, although some actions perform additional work, while others intentionally // keep previous outputs in place. Which category does this issue belong to? Performance What's the simplest,…
Description of the bug: action.prepare step - 4.4 seconds ActionContinuation.execute - 10.4 seconds Since all of this is in critical path where every second savings matter, we would like to explore if there are opportunities for improving the performance of the action.prepare…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the feature request: Currently our bazel build crashes on most machines due to an inaccurate RAM estimation: our .cpp compiles take 2-4 GB of RAM so will crash on machines where the available RAM/CPU count is less than that. Currently there doesn't seem to be a way to override the estimate: return ResourceSet.createWithRamCpu(/* memoryMb= */ 80 + 0.7 * inputs, /* cpu= */ 1); for this action, though resource_set is available to do this for some other actions. It is also not clear what "inputs" is in the context of cppcompile actions (this probably makes more sense for links).…
Description of the feature request: Currently our bazel build crashes on most machines due to an inaccurate RAM estimation: our .cpp compiles take 2-4 GB of RAM so will crash on machines where the available RAM/CPU count is less than that. Currently there doesn't seem to be a…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the feature request: The response from ctx.super() contains the providers returned by the parent rule, and it is possible to get these by indexing the returned value. However, there is no easy way to get a particular provider from the response. Native providers can be found by looking at the type of each provider, but custom providers simply show up as a struct. Which category does this issue belong to? Rules API What underlying problem are you trying to solve with this feature? I need to get a field from one of the providers returned by the parent rule. Which operating system…
Description of the feature request: The response from ctx.super() contains the providers returned by the parent rule, and it is possible to get these by indexing the returned value. However, there is no easy way to get a particular provider from the response. Native providers…
Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.
Description of the feature request: Whenever there is a preprocessor-only change to the build graph (say a new -I flag added to the compiles), Bazel will invalidate all C++ actions and recompile all of them. This can be very costly. ccache has logic to mitigate this problem by splitting a single C++ compile into its preprocessing step and its compilation step. These two steps are then cached separately, so that if the preprocessing of a file does not result in a different output, the recompilation is skipped. For an individual action, the performance impact may be small, but the key here is…
Description of the feature request: Whenever there is a preprocessor-only change to the build graph (say a new -I flag added to the compiles), Bazel will invalidate all C++ actions and recompile all of them. This can be very costly. ccache has logic to mitigate this problem by…
Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.
Description of the bug: Right now, if you want to use a remote cache for Bazel, and you are on a machine that has no non-proxied network access, that machine must expose _both_ a TCP _and_ a Unix domain socket endpoint; the former for dependency downloads, the latter for --remote_proxy. This is troublesome. (And fwiw, this is currently the case on Claude Code for the Web, which also runs afoul of a long-standing issue where Bazel does not like HTTPS proxies with credentials—Anthropic, for whatever reason, uses a JWT credential in its HTTPS_PROXY setup.) This ticket tracks reducing the scope…
Description of the bug: Right now, if you want to use a remote cache for Bazel, and you are on a machine that has no non-proxied network access, that machine must expose _both_ a TCP _and_ a Unix domain socket endpoint; the former for dependency downloads, the latter for…
Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.
Description of the problem: When I try to use Bazel in an environment with TLS only working with custom CA certificates, it does not work (e.g. download dependencies). One of the errors is: ERROR: An error occurred during the fetch of repository 'zlib': java.io.IOException: Error downloading [ to /home/abergmei/.cache/bazel/_bazel_user/a05519119102d261558210037d2dc4c6/external/zlib/zlib-1.2.11.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Bugs: what's the simplest, easiest way to…
Description of the problem: When I try to use Bazel in an environment with TLS only working with custom CA certificates, it does not work (e.g. download dependencies). One of the errors is: ERROR: An error occurred during the fetch of repository 'zlib': java.io.IOException…
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
Description of the bug: Whenever I try to build a protobuf cc library I get this error with some of the source protobuf files. Starting local Bazel server and connecting to it... INFO: Analyzed 3 targets (132 packages loaded, 4243 targets configured). ERROR: C:/bazel-bin/external/protobuf~23.1/src/google/protobuf/BUILD.bazel:184:11: Compiling src/goo gle/protobuf/port.cc [for tool] failed: absolute path inclusion(s) found in rule '@@protobuf~23.1//s rc/google/protobuf:port_def': the source file 'src/google/protobuf/port.cc' includes the following non-builtin files with absolute paths (if…
Description of the bug: Whenever I try to build a protobuf cc library I get this error with some of the source protobuf files. Starting local Bazel server and connecting to it... INFO: Analyzed 3 targets (132 packages loaded, 4243 targets configured). ERROR…
Reproduce the bug on the latest main branch of Bazel, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Description of the feature request: Instead of one static file name provided for the "execution log" file creation feature, this CR proposes the possibility to have differently named files created. E.g. instead of having a static file like --execution_log_json_file=execution-log.json you could configure a file name like execution-log-$N-$TS.json resulting in files named in the provided scheme, e.g. execution-log-test-unit-2025.09.02-13.17.123.json (syntax is just an example, not a recommendation) Which category does this issue belong to? CLI What underlying problem are you trying to solve…
Description of the feature request: Instead of one static file name provided for the "execution log" file creation feature, this CR proposes the possibility to have differently named files created. E.g. instead of having a static file like…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the bug: Seems to be related to #20834 When I enable build --incompatible_strict_action_env in .bazelrc building our project fails with the following error: ➜ kotlin git:(agluszak/refactor-spaghetti) ✗ bazel build //... --sandbox_debug INFO: Analyzed 150 targets (0 packages loaded, 7 targets configured). DEBUG: Sandbox debug output for CppLink @@protobuf~21.7//:protoc: 1707844200.104456969: src/main/tools/linux-sandbox.cc:156: calling pipe(2)... 1707844200.104511302: src/main/tools/linux-sandbox.cc:165: Netns is 0 1707844200.104513667: src/main/tools/linux-sandbox.cc:176:…
Description of the bug: Seems to be related to #20834 When I enable build --incompatible_strict_action_env in .bazelrc building our project fails with the following error: ➜ kotlin git:(agluszak/refactor-spaghetti) ✗ bazel build //... --sandbox_debug INFO: Analyzed 150 targets…
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
Description of the bug: Seen with Bazel 10.0.0rc2: FATAL: bazel crashed due to an internal error. Printing stack trace: java.lang.NullPointerException: Cannot call setThreads after shutdown at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:975) at com.google.devtools.build.lib.sandbox.AsynchronousTreeDeleter.setThreads(AsynchronousTreeDeleter.java:86) at com.google.devtools.build.lib.sandbox.SandboxModule.setup(SandboxModule.java:297) at com.google.devtools.build.lib.sandbox.SandboxModule.registerSpawnStrategies(SandboxModule.java:155) at…
Description of the bug: Seen with Bazel 10.0.0rc2: FATAL: bazel crashed due to an internal error. Printing stack trace: java.lang.NullPointerException: Cannot call setThreads after shutdown at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:975) at…
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
Description of the bug: makes heavy use of the lockfile facts API to perform Cargo crate resolution and avoid registry metadata fetches. (Specifically, the existing Cargo.lock records the set of all possible dependencies for each crate along with their hashes, but in order to compute the actual set of dependencies, taking into account optional and platform-specific deps, each crate's metadata must be fetched from the registry. rules_rs records the minimal amount of extra information about the crate's own features and the flavor of each dependency that is needed to perform the correct…
Description of the bug: makes heavy use of the lockfile facts API to perform Cargo crate resolution and avoid registry metadata fetches. (Specifically, the existing Cargo.lock records the set of all possible dependencies for each crate along with their hashes, but in order to…
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
Description of the feature request: (description copied from related issue Our repository contains about 700,000 targets. We use the output of bazel query to improve CI performance, by restricting the Bazel build to changed targets and their transitive dependencies (similar to bazel-diff). Specifically, we run: bazel query --output=streamed_proto //... This produces a 6.8 GB file and takes (~cold): 16 seconds to download/unpack external repos 14 seconds to parse all the BUILD.bazel files 4 seconds to evaluate the query expression 1 minute, 35 seconds to render the protos to stdout We'd like…
Description of the feature request: (description copied from related issue Our repository contains about 700,000 targets. We use the output of bazel query to improve CI performance, by restricting the Bazel build to changed targets and their transitive dependencies (similar to…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
Description of the bug: Bazel RC versions are not semantic versions (10.0.0rc1 instead of 10.0.0-rc.1). Currently, conditional imports are skipped for these builds, but that causes difficulties when one wants to enable RC builds to work in a Bazel workspace in preparation for a major release (e.g. disabling some incompatible flags, or enabling incompatible flags not present in an earlier major release). Assuming the rc format will not change, the following could be done: Internally convert X.Y.ZrcN to X.Y.Z-rc.N. This already compares less than a full release so existing >=X.0.0 checks will…
Description of the bug: Bazel RC versions are not semantic versions (10.0.0rc1 instead of 10.0.0-rc.1). Currently, conditional imports are skipped for these builds, but that causes difficulties when one wants to enable RC builds to work in a Bazel workspace in preparation for a…
We should probably just change the release format to be semver for RCs. @meisterT @Wyverald
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
Description of the bug: When using --experimental_remote_cache_chunking against a remote cache that does not support CDC, Bazel will print out: ERROR: Unable to write all BEP events to file due to 'com.google.devtools.build.lib.remote.common.RemoteExecutionCapabilitiesException: java.io.IOException: --experimental_remote_cache_chunking requested but remote does not support any chunking algorithm supported by Bazel (FastCDC 2020 or RepMaxCDC)' This means usage of the flag needs to tailored to the remote cache; it would be preferable if Bazel would gracefully continue without chunking, as if…
Description of the bug: When using --experimental_remote_cache_chunking against a remote cache that does not support CDC, Bazel will print out: ERROR: Unable to write all BEP events to file due to…
@tyler-french
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.
The phrase appears in open issue titles of Bazel, DuckDB, MPICH, ONNX Runtime and 4 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of Bazel, ClickHouse, DuckDB, LLVM and 4 more. Found automatically from title word pairs; read the threads before treating it as one problem.
Description of the feature request: Java and the JVM have served Bazel well for twenty years, and recent JVM improvements continue to deliver solid gains. On large monorepos, though, we are hitting the limits of the JVM memory model. Per-ob
The phrase appears in open issue titles of Apache Doris, Bazel, Fast DDS, Godot Engine and 3 more. Found automatically from title word pairs; read the threads before treating it as one problem.
Recent issues and discussions in 14 tracked projects (Apache Arrow, Bazel, DOLFINx (FEniCS), Dragonfly and 10 more) mention “deadlock”. This is an automatically detected signal, not a validated need.
The phrase appears in open issue titles of Apache TVM, Bazel, CUTLASS, ClickHouse and 5 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of Apache Arrow, Apache TVM, Bazel, FlatBuffers and 8 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of Apache Arrow, Bazel, Intel oneAPI DPC++ compiler (intel/llvm), JUCE and 8 more. Found automatically from title word pairs; read the threads before treating it as one problem.