From bc949b7ed490240ed479aee7115f0b0091aa0b27 Mon Sep 17 00:00:00 2001 From: Brett McLarnon Date: Fri, 24 Jan 2025 14:03:38 -0800 Subject: [PATCH] Include repository cache files in the disk cache key. (#64) Like BUILD file changes, changes to workspace dependencies can significantly affect the contents of the disk cache. Prior to this change, upreving dependencies wasn't itself sufficient to update the disk cache, resulting in repeatedly rebuilding dependencies until some subsequent commit happened to modify BUILD files. --- config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/config.js b/config.js index 0f926cb..2a180b5 100644 --- a/config.js +++ b/config.js @@ -139,6 +139,7 @@ module.exports = { diskCache: { enabled: diskCacheEnabled, files: [ + ...repositoryCacheFiles, '**/BUILD.bazel', '**/BUILD' ],