setup-bun icon indicating copy to clipboard operation
setup-bun copied to clipboard

Unable to reserve cache, another job may be creating this cache

Open robertherber opened this issue 1 year ago • 2 comments

I'm getting this warning (and I suspect it's also causing intermittent errors) when running 4 parallell Github Actions that all are running a bun install initially:

Failed to save: Unable to reserve cache with key bun-1.0.20-linux-x64-true-false, another job may be creating this cache. More details: Cache already exists. Scope: refs/heads/main, Key: bun-1.0.20-linux-x64-true-false, Version: 4793076103aa823b0a4c97942d7385d4346f77a3c30a0bad6e0f1d748becbab5

The entire job can be seen here (attempt 1 failed on a thing related to mongodb-memory-server which requires a postinstall action to succeed): https://github.com/kingstinct/zemble/actions/runs/7323721703

robertherber avatar Dec 26 '23 11:12 robertherber

I'm not sure if we can do anything about this.

xhyrom avatar Jan 11 '24 15:01 xhyrom

@xHyroM Does this comment help you with further investigation → https://github.com/shivammathur/cache-extensions/issues/22#issuecomment-996718475 ? That one also mentions this one from actions/cache: https://github.com/actions/cache/issues/485#issuecomment-744145040

mzdr avatar Jan 25 '24 11:01 mzdr