Skip to content

v4 not using the new cache service #1594

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

Open
juanjoi-empathy opened this issue Apr 16, 2025 · 2 comments
Open

v4 not using the new cache service #1594

juanjoi-empathy opened this issue Apr 16, 2025 · 2 comments

Comments

@juanjoi-empathy
Copy link

Using the last version of the actions/cache we have started to receive the following error:

Failed to save: Unable to reserve cache with key ....., another job may be creating this cache. More details: This legacy service is shutting down, effective April 15, 2025. Migrate to the new service ASAP. For more information: https://gh.io/gha-cache-sunset
Warning: Cache save failed.

The error references the already announced service deprecation. However, using @v4 according to the documentation (or even specifying the last 4.2.3 release), it must work with the new service API.
Is there anything to change/update to start using the new API?

Thanks in advance!

@RobertDeRose
Copy link

RobertDeRose commented Apr 17, 2025

Similar issue, pinned to tag v4 and I and getting 422 from the service:

When attempting to save the cache, I get:

Failed to save: Unable to reserve cache with key 93fa68fe9dd436551cd506e3ea114524f8724348fba531a6157e72b89b8f9838, another job may be creating this cache. More details: This legacy service is shutting down, effective April 15, 2025. Migrate to the new service ASAP. For more information: https://gh.io/gha-cache-sunset

But there are no other jobs with this workflow.

When attempting to restore from cache, I get:

Warning: Failed to restore: Cache service responded with 422

updated

I checked, v4.2.3 and v4 both point to 5a3ec84.

In my action, it is pulling this she as well.
Download action repository 'actions/cache@v4' (SHA:5a3ec84eff668545956fd18022155c47e93e2684)

Yet, for some reason I am still get a legacy service warning

@ktrzcinx
Copy link

ktrzcinx commented Apr 23, 2025

I have the problem too since April 17th, problem is on self hosted runners

Current runner version: '2.320.0'

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