spiderlightning icon indicating copy to clipboard operation
spiderlightning copied to clipboard

fix caching on azure

Open danbugs opened this issue 2 years ago • 0 comments

Description of the bug Our caching has been working somewhat intermittently.

I've ran our pipelines after an empty commit to see our caching take place. On the same agent, we got:

  • a cache hit: https://dev.azure.com/spiderlightning/slight/_build/results?buildId=357&view=logs&j=70fcc8e8-cc68-58a0-49dd-bf3991baaf6b&t=a1c8d2d5-f3e0-5740-cb25-d150119fd493
  • a cache miss: https://dev.azure.com/spiderlightning/slight/_build/results?buildId=357&view=logs&j=70fcc8e8-cc68-58a0-49dd-bf3991baaf6b&t=5cfd1f4a-b154-515d-6662-392410763baa

That said, most of them result in cache misses. Checking the caching post job, I see: image

It should say: image

I'm not too sure what's causing this issue. The keys are fine, and the path is correct — I've tried multiple configurations, and even changing to CacheBeta.

To Reproduce n/a

Additional context n/a

danbugs avatar Dec 11 '22 03:12 danbugs