Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robertherber opened this issue Dec 26, 2023 · 2 comments
Open

Comments

@robertherber
Copy link

robertherber commented Dec 26, 2023

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

@xhyrom
Copy link
Collaborator

xhyrom commented Jan 11, 2024

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

@xhyrom xhyrom changed the title Unable to reserve cache with key bun-1.0.20-linux-x64-true-false, another job may be creating this cache Unable to reserve cache, another job may be creating this cache Jan 11, 2024
@mzdr
Copy link

mzdr commented Jan 25, 2024

@xhyrom Does this comment help you with further investigation → shivammathur/cache-extensions#22 (comment) ? That one also mentions this one from actions/cache: actions/cache#485 (comment)

ManasJayanth added a commit to ManasJayanth/fullstack-reason-react-demo2 that referenced this issue May 11, 2024
We kept getting,

```
Error: Unable to reserve cache with key
build-darwin-arm64-ed94a82639847ed06afe84af9fb368d5dae34dfd4556ef0c864fc11b0b9f3b58,
another job may be creating this cache.
```

As suggested here: oven-sh/setup-bun#45 (comment)

```
@xhyrom Does this comment help you with further investigation →
shivammathur/cache-extensions#22 (comment) ? That one also mentions
this one from actions/cache: actions/cache#485 (comment)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants