Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bazel: Upgrade to 7.4.0, set max disk cache size (#30395)
Upgrades the version of Bazel we use from `7.2.1` to `7.4.0`. Developers won't need to do anything since we use `bazelisk`, the new version will automatically get downloaded for them. This also updates our `.bazelrc` to include: ``` common --experimental_disk_cache_gc_max_size=80G ``` This combined with users specifying `--disk_cache` in their home `.bazelrc`, should bound the total size of artifacts that are kept around for builds. Hopefully this should solve the "Low Disk Warnings" folks frequently run into, if they use Bazel instead of Cargo. ### Motivation Pickup the new automatic gc disk cache to bound the total size of artifacts. ### Checklist - [x] This PR has adequate test coverage / QA involvement has been duly considered. ([trigger-ci for additional test/nightly runs](https://trigger-ci.dev.materialize.com/)) - [x] This PR has an associated up-to-date [design doc](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/design/README.md), is a design doc ([template](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/design/00000000_template.md)), or is sufficiently small to not require a design. <!-- Reference the design in the description. --> - [x] If this PR evolves [an existing `$T ⇔ Proto$T` mapping](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/command-and-response-binary-encoding.md) (possibly in a backwards-incompatible way), then it is tagged with a `T-proto` label. - [x] If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label ([example](MaterializeInc/cloud#5021)). <!-- Ask in #team-cloud on Slack if you need help preparing the cloud PR. --> - [x] If this PR includes major [user-facing behavior changes](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/guide-changes.md#what-changes-require-a-release-note), I have pinged the relevant PM to schedule a changelog post.
- Loading branch information