Skip to content

Failed to save: Unable to reserve cache with key ... another job may be creating this cache. More details: Cache already exists.Β #28

@adjsky

Description

@adjsky

The install action reads and writes the nix store to different keys for some reason.

Example repository: https://github.com/adjsky/devbox-action-cache

https://github.com/adjsky/devbox-action-cache/actions/runs/7302430758/job/19901021653#step:3:346
https://github.com/adjsky/devbox-action-cache/actions/runs/7302430758/job/19901021653#step:3:694

When reading the key is Linux-devbox-nix-store-3a2654425ec8f477c946ced19122871a8ba12acf7aa422229029e8399cfb464e, but when saving the key is Linux-devbox-nix-store-496d8beac83195b1e6331c2845b230b457389e8192ef75d1f89b84e8dcc45753.

Since this job has been run before and successfully saved the cache, subsequent jobs display a warning.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions