From ec888acce53f7337a45d69ea5a24068fb64ed38e Mon Sep 17 00:00:00 2001 From: "gh-worker-campaigns-3e9aa4[bot]" <244854796+gh-worker-campaigns-3e9aa4[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 13:14:38 +0000 Subject: [PATCH] [#incident-62343-language-tools] Bazel Upgrade Upgrade Bazel 8 and below to 8.8.2, and Bazel 9 to 9.3.1, because these releases remove the compromised CA. Preserve optional file glob compatibility as mitigation for incident 62343. --- .bazelrc | 3 +++ .bazelrc.absl | 3 +++ .bazelrc.std | 3 +++ .bazelversion | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index c2210dda5..b76885688 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1 +1,4 @@ .bazelrc.absl + +# Preserve Bazel 7 behavior for optional file globs under Bazel 8. +common --incompatible_disallow_empty_glob=false diff --git a/.bazelrc.absl b/.bazelrc.absl index ca0b0c978..1fb824a97 100644 --- a/.bazelrc.absl +++ b/.bazelrc.absl @@ -16,3 +16,6 @@ build --enable_platform_specific_config build:linux --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-Wextra' --cxxopt='-pedantic' --cxxopt='-DDD_USE_ABSEIL_FOR_ENVOY' --cxxopt='-DABSL_OPTION_USE_STD_OPTIONAL=0' --cxxopt='-DABSL_OPTION_USE_STD_STRING_VIEW=0' --cxxopt='-DABSL_OPTION_USE_STD_VARIANT=0' build:macos --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-Wextra' --cxxopt='-pedantic' --cxxopt='-DDD_USE_ABSEIL_FOR_ENVOY' --cxxopt='-DABSL_OPTION_USE_STD_OPTIONAL=0' --cxxopt='-DABSL_OPTION_USE_STD_STRING_VIEW=0' --cxxopt='-DABSL_OPTION_USE_STD_VARIANT=0' build:windows --cxxopt='/std:c++17' --cxxopt='/DDD_USE_ABSEIL_FOR_ENVOY' --cxxopt='/DABSL_OPTION_USE_STD_OPTIONAL=0' --cxxopt='/DABSL_OPTION_USE_STD_STRING_VIEW=0' --cxxopt='/DABSL_OPTION_USE_STD_VARIANT=0' --linkopt='ws2_32.lib' + +# Preserve Bazel 7 behavior for optional file globs under Bazel 8. +common --incompatible_disallow_empty_glob=false diff --git a/.bazelrc.std b/.bazelrc.std index 802f014dd..72da30481 100644 --- a/.bazelrc.std +++ b/.bazelrc.std @@ -13,3 +13,6 @@ build --enable_platform_specific_config build:linux --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-Wextra' --cxxopt='-pedantic' build:macos --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-Wextra' --cxxopt='-pedantic' build:windows --cxxopt='/std:c++17' --linkopt='ws2_32.lib' + +# Preserve Bazel 7 behavior for optional file globs under Bazel 8. +common --incompatible_disallow_empty_glob=false diff --git a/.bazelversion b/.bazelversion index 44931da26..3b7404213 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -9.1.1 +9.3.1