Closed hissssst closed 5 months ago
@deemp ping
@hissssst, I'm traveling. Please, share a link to your repo. If you can't, please, try to reproduce this problem in another repo and share a link.
I'll close this issue until there's more context.
@deemp reopen it please and do not close it unless significant time passes or we resolve the issue. You can't just close an issue if someone didn't respond during the weekend
@hissssst, I didn't know about this GH feature.
you cannot reopen your own issues if a repo collaborator closed them.
I expected that you'll reopen this issue when you can provide more context.
I'll reopen the issue.
@deemp I've created open source project where this error is reproduced https://github.com/hissssst/nebulex_adapters_ecto
@hissssst, you saved an incomplete cache and didn't update it later.
https://github.com/hissssst/nebulex_adapters_ecto/actions/runs/5881194692/job/15949164691#step:23:36
If you look at the workflow in the cache-nix-action
repository, you can see that I purge old caches just before saving a new cache.
Currently, purge-cache
is a separate action, but I'll probably include it into the cache-nix-action
.
@deemp purge-cache
action didn't help in my private project. The same error persists
How did you check it's not your error? BTW, I integrated purge-cache
into cache-nix-action
. See https://github.com/nix-community/cache-nix-action#purge-old-caches
If you try the latest version of cache-nix-action
, please, provide the logs of cache-nix-action
(the first and the post phases).
@hissssst, now, there's usually no overwriting due to --skip-old-files
A tar command looks like this
/usr/local/bin/gtar -xf /Users/runner/work/_temp/692c618e-65d6-4229-a8d8-7c11ee882599/cache.tzst -P -C /Users/runner/work/cache-nix-action/cache-nix-action --delay-directory-restore --skip-old-files --use-compress-program unzstd
However, errors occur sometimes on macOS (see https://github.com/nix-community/cache-nix-action/issues/24)
Currently, existing /nix/store
paths are skipped when restoring a cache (link).
@hissssst, I made several releases since September. They may have solved your problem, so I'm closing this issue. Feel free to create new issues if there are any problems with cache-nix-action
.
Whole restore step is filled with errors like this. Action is set up just like in example in the docs
Doc says that it's okay, but my
nix develop
command still downloads all the packages