Replies: 2 comments
-
|
I second this, it happens to us a lot too. By the "silence" here, it surely looks like there is nothing to do. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @wind57, to post an update here, I could not find a solution to the problem, but at least I could manage to implement a workaround. The main issue we had was the fact that we only did a checkout on our To workaround that I started using a step like this: and use the output to create the cache on the build and then use these outputs as With access to these outputs, I was able to change the cache step on the subsequent jobs to use specific keys and also enable Sadly I could not verify if this will fix the problem for us yet, as the cache timeout is not easy to replicate, but things are looking stable so far. I know this is specific to my case, but I hope it may help you somehow think in ways that may help your workflow. Again, this is not the solution to be able to fail if a cache download times out, but in theory it should workaround that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using
cache/actionsto share assets between jobs. When we have multiple parallel jobs from time to time, we see timeouts with the following warning messageWarning: Failed to restore: The operation cannot be completed in timeout.which makes sense considering that for typical usage, a cache should be rebuilt if it fails to restore, but in our case, we need to guarantee that the restore happened.Besides increasing
SEGMENT_DOWNLOAD_TIMEOUT_MINSto try to avoid timeouts, is it possible to makeactions/cachefail if a restore times out? either byactions/cachefailing or, on the next step having a way to detect that the restore failed.Sadly
cache-hitdoes not work for us as it requires an exact match on the key.Beta Was this translation helpful? Give feedback.
All reactions