Skip to content

Commit

Permalink
Include repository cache files in the disk cache key. (#64)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bmclarnon authored Jan 24, 2025
1 parent 30f5394 commit bc949b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ module.exports = {
diskCache: {
enabled: diskCacheEnabled,
files: [
...repositoryCacheFiles,
'**/BUILD.bazel',
'**/BUILD'
],
Expand Down

0 comments on commit bc949b7

Please sign in to comment.