google-cloud-cpp
google-cloud-cpp copied to clipboard
Investigate Re-enabling Experimental Bazel Downloader Config
In pull request #15545, the experimental Bazel downloader configuration was commented out in .bazelrc to resolve build failures on the macOS bazel Kokoro CI. This was necessary because the downloader was causing 404 errors during the build.
As noted by @scotthart in https://github.com/googleapis/google-cloud-cpp/pull/15545#discussion_r2352861699, using alternate mirrors via a downloader config (bazel/downloader.cfg) is beneficial for build stability, as it helps reduce flakiness by providing backups if canonical sources are temporarily unavailable.
This issue is to track the work required to:
- Investigate the cause of the 404 errors when using
bazel/downloader.cfg. - Update the
bazel/downloader.cfgfile and any related configurations to ensure the mirror URLs are correct and accessible. - Re-enable the experimental downloader in
.bazelrconce it's confirmed to be working reliably.
Acceptance Criteria:
- The root cause of the previous 404 errors is understood.
- The
bazel/downloader.cfgis verified to work correctly. -
build --experimental_downloader_config=bazel/downloader.cfgis uncommented and functional in.bazelrc.