Skip to content

fix: disable BuildBuddy before BCR bazel info - #252

Open
dzbarsky wants to merge 1 commit into
mainfrom
codex/bcr-info-downloads
Open

dzbarsky wants to merge 1 commit into
mainfrom
codex/bcr-info-downloads

Conversation

@dzbarsky

@dzbarsky dzbarsky commented Sep 5, 2026

Copy link
Copy Markdown
Member

BCR's v0.0.109 presubmit hit PERMISSION_DENIED: Missing API key while fetching platforms during bazel info (failed job). bazelci runs bazel info before applying test_flags, so the existing downloader override arrives too late. Move the downloader override and a remote-cache override into shell_commands, which appends them to .bazelrc before bazel info.

Validation: parsed the YAML, executed its exact shell command against the v0.0.109 archive, and ran Bazel 9.2.0 info --announce_rc successfully with both overrides confirmed. The release's original BCR jobs subsequently passed on retry and BCR PR10408 merged; this change prevents recurrence in future releases.

-zbarskybot

bazelci runs bazel info before applying test_flags, so the BuildBuddy downloader configured in .bazelrc fails without an API key. Append common downloader and cache overrides in shell_commands before bazel info runs.
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