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.
This commit is contained in:
Brett McLarnon 2025-01-24 14:03:38 -08:00 committed by GitHub
parent 30f539412d
commit bc949b7ed4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,6 +139,7 @@ module.exports = {
diskCache: {
enabled: diskCacheEnabled,
files: [
...repositoryCacheFiles,
'**/BUILD.bazel',
'**/BUILD'
],