From 943a21829d0bc3462a725f9fb3cb704c21b64b91 Mon Sep 17 00:00:00 2001 From: "Adam Perry @ OpenAI" Date: Tue, 3 Nov 2026 21:25:37 +0000 Subject: [PATCH] Set seven-day garbage collection ages for Bazel caches (#59242) Configure `--experimental_disk_cache_gc_max_age` and `--repo_contents_cache_gc_max_age` to `7d` in `.bazelrc`. GitOrigin-RevId: d4d9c652269d56b854ad8d473b83809b76d683e5 --- .bazelrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bazelrc b/.bazelrc index b62d2d0fcc..1d0692abcc 100644 --- a/.bazelrc +++ b/.bazelrc @@ -4,7 +4,9 @@ common --repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1 common --xcode_version_config=//:disable_xcode common --disk_cache=~/.cache/bazel-disk-cache +common --experimental_disk_cache_gc_max_age=7d common --repo_contents_cache=~/.cache/bazel-repo-contents-cache +common --repo_contents_cache_gc_max_age=7d common --repository_cache=~/.cache/bazel-repo-cache common --remote_cache_compression startup --experimental_remote_repo_contents_cache