[build] use Bazel repo contents cache instead of bazel-contrib external-cache#17602
Conversation
Review Summary by QodoSwitch to Bazel repo_contents_cache, remove external-cache
WalkthroughsDescription• Switches caching strategy from bazel-contrib external-cache to Bazel's built-in repo_contents_cache • Removes complex exclusion manifest for external cache configuration • Eliminates fallback cache setup step, simplifies error handling • Reduces total cache size from ~9.5 GiB to ~8.1 GiB across platforms • Uses --pin_browsers=false for cache population to exclude browser binaries Diagramflowchart LR
A["External Cache<br/>with Manifest"] -->|Remove| B["Repo Contents Cache<br/>Built-in Strategy"]
C["Fallback Setup<br/>Step"] -->|Remove| B
D["Complex Exclusion<br/>Rules"] -->|Simplify| E["Pin Browsers Flag"]
B --> F["Reduced Cache Size<br/>~8.1 GiB"]
File Changes1. .bazelrc.remote
|
Code Review by Qodo
1. Repo cache not enabled
|
b6e4a09 to
135c220
Compare
|
Code review by qodo was updated up to the latest commit 135c220 |
🔗 Related Issues
#17598 reduced cache sizes sufficient to switch strategies
Expected repository-cache size based on fork execution
💥 What does this PR do?
bazel-contrib/setup-bazel's external-cache to Bazel's built-in--repo_contents_cache🔧 Implementation Notes
🤖 AI assistance
🔄 Types of changes