You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pipeline cache is not updated when the file cache is updated. This results in the pipeline cache becoming quite stale over time. The only way to update it is to either enable force, either temporarily or permanently, or to delete the file. Both of these options aren't ideal.
Ideally there'd be an option to update more general caches when a file cache changes. E.g. when the manifest hash changes, both fileandpipeline caches are updated. The hash of the pipeline cache itself doesn't need to change, but the cache should. That way the pipeline cache stays relatively fresh compared to the file cache.
An alternative to this could be an option to allow falling back to the most recently created cache, sort of similar to how github actions' restore-keys works.
The text was updated successfully, but these errors were encountered:
askoufis
changed the title
Option to update less specific cache when a more specific cache changes
Option to update less specific cache when a file cache changes
Oct 1, 2024
Currently, if I specify multiple cache levels, e.g.:
The
pipeline
cache is not updated when thefile
cache is updated. This results in thepipeline
cache becoming quite stale over time. The only way to update it is to either enableforce
, either temporarily or permanently, or to delete the file. Both of these options aren't ideal.Ideally there'd be an option to update more general caches when a
file
cache changes. E.g. when themanifest
hash changes, bothfile
andpipeline
caches are updated. The hash of thepipeline
cache itself doesn't need to change, but the cache should. That way thepipeline
cache stays relatively fresh compared to thefile
cache.An alternative to this could be an option to allow falling back to the most recently created cache, sort of similar to how github actions'
restore-keys
works.The text was updated successfully, but these errors were encountered: