Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/bazelbuild/bazel.git. Pull mirroring updated .
  1. Aug 09, 2025
  2. Aug 08, 2025
    • Googler's avatar
      Automated rollback of commit f726568e. · 8fd848e2
      Googler authored
      PiperOrigin-RevId: 792634757
      Change-Id: I0fe46233e78e30ce1fee7818aca8ff0c991969ba
      8fd848e2
    • Googler's avatar
      Automated rollback of commit f0a0d8a6. · d5821ede
      Googler authored
      PiperOrigin-RevId: 792622748
      Change-Id: Id3cda96446b70a191664f5ab32c7185a37d4fd64
      d5821ede
    • Googler's avatar
      Port proto_library tests to Starlark · 2bd3402f
      Googler authored
      The remaining test in BazelProtoLibraryTest are more adequate for integration testing than unit testing.
      
      PiperOrigin-RevId: 792567553
      Change-Id: I098534d30ec5a7d46485c26f93b2e5ed0c53892b
      2bd3402f
    • Googler's avatar
      Delete a redundant method · 91e95645
      Googler authored
      PiperOrigin-RevId: 792537906
      Change-Id: Ifb0346c2bc9955796f9c74cca1ab881788105919
      91e95645
    • Googler's avatar
      Convert to new-style arrow switch. · 2a5f1d0c
      Googler authored
      PiperOrigin-RevId: 792533001
      Change-Id: Id9bcb6fda32207c0a8f78ee6f1abd4b95c92ee94
      2a5f1d0c
    • Googler's avatar
      Migrate `CompileCommandLineTest` from textproto-based `CcToolchainConfigInfo` to Starlark · 8d3831dd
      Googler authored
      PiperOrigin-RevId: 792532654
      Change-Id: If47311fa3799582e0138208c7d5e32159386f19a
      8d3831dd
    • Googler's avatar
      Delete a redundant method · 4ae95627
      Googler authored
      PiperOrigin-RevId: 792529880
      Change-Id: I3cda5b3ab9b7b2dc8ce6a5d6d19120d3f9b8a4d0
      4ae95627
    • Fabian Meumertzheim's avatar
      Fix comparator used in `ConcurrentArtifactPathTrie` · a9e2a156
      Fabian Meumertzheim authored
      The default comparator for `PathFragment` may sort unrelated paths between a path and a child path, which results in `contains` behaving incorrectly as soon as paths such as `foo/bar` and `foo/bar-baz` are present in the set. This is a bug introduced by #26639.
      
      This is fixed by introducing a new `Comparator` for `PathFragment` that sorts `/` lower than any other character. This will also be used in future work on #21378 and is thus placed in `PathFragment`. It may become the default in the future, but not until Blaze has been confirmed to not rely on the order.
      
      Closes #26714.
      
      PiperOrigin-RevId: 792519419
      Change-Id: I8bf8fc6b15cc5bcf0d303057a828fbd644032bab
      a9e2a156
    • Googler's avatar
      Split out devtools/build/lib/util:command_failure_utils into its own target · 2f3430d2
      Googler authored
      command_failure_utils - unlike the `command` target it was split from - doesn't
      depend on devtools/build/lib:shell (and, in turn, unix_jni); this breaks the
      unnecessary dependency chain between e.g. package_options and unix_jni.
      
      Pointed out by nharmata@ in discussion of b/437155683.
      
      PiperOrigin-RevId: 792474304
      Change-Id: I45f38f4ad0b6b21d23b0ff9fd40312cad96ed958
      2f3430d2
    • Googler's avatar
      Split out devtools/build/lib/packages:provider out of packages into its own target · b9f5a236
      Googler authored
      This significantly reduces the transitive dependencies of the Starlark json module,
      and, transitively, of Bazel's Starlark interpreter.
      
      Also take the opportunity to remove unused build dependencies in affected targets.
      
      PiperOrigin-RevId: 792415905
      Change-Id: Ic9b6a67d1dc7591c6daac6e5369ccea6e4d08c3f
      b9f5a236
    • Fabian Meumertzheim's avatar
      Strictify exception types in `remote` package to reduce wrapping · 85e6cff2
      Fabian Meumertzheim authored
      This makes it easier to understand what kinds of exceptions can be thrown by a particular function and avoids wrapping in `RuntimeException` that can turn regular failures into crashes.
      
      In particular, this resolves an issue seen on a PR in which `RemoteSpawnRunner` turned an `ExecException` raised by `RES.uploadInputsIfNotPresent` due to a lost input into a `RuntimeException`, thus resulting in a crash. It's not clear whether this behavior can also happen at HEAD or whether all callers unwrap the `RuntimeException`, so this change doesn't necessarily fix a bug.
      
      Work towards #21378
      
      Closes #26650.
      
      PiperOrigin-RevId: 792329428
      Change-Id: Iced921ce8633926e6488d38502c9b93c9fffa393
      85e6cff2
    • Googler's avatar
      Automated rollback of commit 67e22e7c. · 757240fc
      Googler authored
      *** Reason for rollback ***
      
      b/437115008
      
      *** Original change description ***
      
      Add experimental_managed_storage_service_table_name flag.
      
      Updates the RemoteAnalysisCachingServicesSupplier.configure method
      signature to include the buildId.
      
      PiperOrigin-RevId: 792294579
      Change-Id: I5c322101fb5578d14b252a75a3bac3cc2f2ba7b9
      757240fc
    • Bazel Release System's avatar
      Release 9.0.0-pre.20250730.2 (2025-08-07) · 7ce3cb04
      Bazel Release System authored
      Baseline: b4216efd
      
      Cherry picks:
      
         + bbfb288a:
           Fix
           https://github.com/bazelbuild/bazel/commit/9aa7583e97bffb17d2a6f4
           8aecefa932e8064daa performance regression.
      
      Important changes:
      
        - Tool paths specified in `cc_toolchain` action configs are now
          normalized based on the current execution platform's OS rather
          than the host OS. In particular, Windows-style absolute paths are
          now treated as absolute paths when building on a Windows executor
          from a non-Windows host.
      
      This release contains contributions from many people at Google, as well as Austin Schuh, Benjamin Peterson, Ed Schouten, Fabian Meumertzheim, George Gensure, Mike Lundy, Wade Carpenter.
      7ce3cb04
    • Googler's avatar
      Support packages assembled from package pieces in query and genquery machinery · b2eedf25
      Googler authored
      For a package loaded with lazy macro expansion, Target.getPackage() returns null,
      so we now need to use TargetProvider/PackageProvider to retrieve a target's
      package's BUILD file target or to iterate sibling targets.
      
      As a follow-up, we'd want to avoid unnecessarily loading full packages in
      implementations of TargetProvider.getTarget() and in TargetLoadingUtil -
      but that requires another new skyfunction.
      
      Working towards https://github.com/bazelbuild/bazel/issues/23852
      
      PiperOrigin-RevId: 792276714
      Change-Id: I76266c10d4f5d6e087a6f38c6b6bfe06eb72603b
      b2eedf25
    • Fabian Meumertzheim's avatar
      Add configuration short ID to analysis error · 8e552b02
      Fabian Meumertzheim authored
      This makes it possible to debug config-dependent errors.
      
      Closes #26690.
      
      PiperOrigin-RevId: 792275177
      Change-Id: I026d6aae8a3dbc1da20a155f4b873d0349b76a8d
      8e552b02
    • Googler's avatar
      Introduce --experimental_lazy_macro_expansion_packages and allow... · 1e9b2337
      Googler authored
      Introduce --experimental_lazy_macro_expansion_packages and allow PackageFunction to assemble packages from package pieces
      
      At present, lazy symbolic macro expansion is incompatible with any package that
      calls native.existing_rule() or native.existing_rules() outside of a finalizer
      symbolic macro, and so cannot be enabled globally.
      
      Working towards https://github.com/bazelbuild/bazel/issues/23852
      
      PiperOrigin-RevId: 792253787
      Change-Id: Ifb1fc9f0259b188e2bf33f58cd0a2ec610362db2
      1e9b2337
    • Fabian Meumertzheim's avatar
      Prepare for the flip of `-DBAZEL_TRACK_SOURCE_DIRECTORIES` · f12e8435
      Fabian Meumertzheim authored
      Preparation for #25870
      
      Closes #26698.
      
      PiperOrigin-RevId: 792236653
      Change-Id: Iaf10cc32c4938987a6afef1b73081666963435b2
      f12e8435
    • Googler's avatar
      Rename CcInfo#transitive_native_libraries to _legacy_transitive_native_libraries · c5873507
      Googler authored
      This is needed to convert CcInfo to Starlark without causing a major regression.
      
      Mark the field as legacy, because we'll need to eventually clean it up.
      Upgrade rules_java, that support both old and new field location.
      
      PiperOrigin-RevId: 792196604
      Change-Id: I1b26336b6f234bd3cb123c213e68daee19c2e50f
      c5873507
    • Googler's avatar
      Delete `CcToolchainConfigInfo.proto` · e83f5e9d
      Googler authored
      PiperOrigin-RevId: 792195826
      Change-Id: I23da70add656315a42c1e4ff3ec9573da494f78d
      e83f5e9d
  3. Aug 07, 2025
  4. Aug 06, 2025