Skip to content

build: configure secondary mirror fallback#3814

Open
rickeylev wants to merge 10 commits into
bazel-contrib:mainfrom
rickeylev:configure-bazel-dependency-mirrors
Open

build: configure secondary mirror fallback#3814
rickeylev wants to merge 10 commits into
bazel-contrib:mainfrom
rickeylev:configure-bazel-dependency-mirrors

Conversation

@rickeylev
Copy link
Copy Markdown
Collaborator

Currently, transient GitHub network issues can cause builds to fail
when pulling platforms.

To fix, configure Bazel's downloader to try GitHub first and fall back
to mirror.bazel.build.

Currently, transient GitHub network issues can cause builds to fail
when pulling platforms.

To fix, configure Bazel's downloader to try GitHub first and fall back
to mirror.bazel.build.
@rickeylev rickeylev requested a review from aignas as a code owner June 8, 2026 06:56
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request configures an experimental downloader configuration in .bazelrc and adds rewrite rules in downloader_config.cfg to handle fallbacks for Bazel platforms. The review feedback correctly points out that the regular expressions used for rewriting URLs are unanchored and contain unescaped dots, which could lead to unexpected matching behavior, and provides a robust alternative.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread downloader_config.cfg Outdated
@rickeylev rickeylev force-pushed the configure-bazel-dependency-mirrors branch from f5b088f to 42a9b9f Compare June 8, 2026 07:11
@rickeylev rickeylev force-pushed the configure-bazel-dependency-mirrors branch from 42a9b9f to 2a21ddc Compare June 8, 2026 07:13
@rickeylev rickeylev requested a review from dougthor42 as a code owner June 8, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant