Replies: 3 comments 3 replies
-
|
Caches are indeed stored in volumes, but so is everything else - so it's normal for volumes to be GCed pretty frequently, and that's not necessarily an indicator that your caches are being GCed. If you're curious, I did a bit of a write-up on volumes in this discussion. Specifically, it mentions that...:
So as long as the task hasn't been removed, its caches should stick around indefinitely. Note that caches are per-worker, so if you've warmed the cache by running a task on worker A but then the next build runs the task on worker B, it'll be a cache miss. What behavior are you observing that makes it seem like they're going away? |
Beta Was this translation helpful? Give feedback.
-
|
I see, thanks for pointing me to that @vito, I haven't been removing/renaming tasks so I don't think that's it. I'm observing our I should put some extra effort into debugging this it seems. I'll configure the pipeline to list the amount of files in the |
Beta Was this translation helpful? Give feedback.
-
|
I have noticed that every time we |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
We're using the task
cachesinput to cache ournode_moduleswhen compiling JS, which is an amazing speed boost (~50%!). We're deploying our concourse with control-tower.The cache directories don't seem to hang around for very long though, maybe a few hours at most? Our worker disk usage is very low - around 20%, so there is plenty of space these directories to lie around.
Can anything be done to make these hang around for longer? Is this configurable at any level?
I noticed that "volumes" are consistently being removed. Are these "volumes" also the cache directories?

Any help or advice on where to look is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions