Skip to content

Commit 695123c

Browse files
authored
Bump Bazel to 9.2.0 for remote cache and Windows fixes (#53619)
### What does this PR do? Bump the pinned Bazel version from 9.1.1 to 9.2.0 and refresh `MODULE.bazel.lock` accordingly. ### Motivation Bazel 9.2.0 ships fixes this repo has been working around over the past month. #### Windows issues Our contributions: - bazelbuild/bazel#29984, which should remove the need for temporary countermeasures we had to come up with: - DataDog/datadog-agent-buildimages#1212 (alas ineffective), - DataDog/datadog-agent-buildimages#1215 (effective), - #52500, - bazelbuild/bazel#30182, which should remove the need for: - #52061, - #53591. #### Caching issues - bazelbuild/bazel#29791, - bazelbuild/bazel#29868, - bazelbuild/bazel#29885, - bazelbuild/bazel#30193, a caveat mentioned in: - #53356. #### Others Also worth noting, though not tied to a specific incident here: - bazelbuild/bazel#29807, - bazelbuild/bazel#29898, - bazelbuild/bazel#30194. ### Describe how you validated your changes `bazel version` reports 9.2.0 after `bazelisk` re-bootstraps. `bazel build //pkg/config/schema/...` completes successfully. `bazel shutdown` followed by `bazel mod deps --lockfile_mode=refresh` leaves `MODULE.bazel.lock` unchanged. ### Additional Notes None of the .bazelrc UAC/8dot3 workarounds (DataDog/datadog-agent-buildimages#1215, #52500, #52061, #53591) are removed here. Each needs its own re-verification on Windows before being reverted as follow-ups. Co-authored-by: regis.desgroppes <regis.desgroppes@datadoghq.com>
1 parent 0f59341 commit 695123c

2 files changed

Lines changed: 102 additions & 101 deletions

File tree

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.1.1
1+
9.2.0

0 commit comments

Comments
 (0)