You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My best guess is, that this caused by a corrupted cache, where a cache entry with the key exists, but cache.restoreCache is unable to restore it properly (maybe on: push and on: pull_request wanted to save the cache at the same time? 😵 ).
So this might be a very rare and quite impossible to reproduce case.
Anyway, since the cache is nice and all, but not a key feature, IMHO it would be reasonable to catch errors caused by cache.saveCache and give users a warning ( core.warning), instead of letting it bubble up to core.setFailed.
First of all thanks for this action 😄
Today I had my pre-commit job failing, with the following error, which isn't fixable by rerunning the job:
My best guess is, that this caused by a corrupted cache, where a cache entry with the key exists, but
cache.restoreCache
is unable to restore it properly (maybeon: push
andon: pull_request
wanted to save the cache at the same time? 😵 ).So this might be a very rare and quite impossible to reproduce case.
Anyway, since the cache is nice and all, but not a key feature, IMHO it would be reasonable to catch errors caused by
cache.saveCache
and give users a warning (core.warning
), instead of letting it bubble up tocore.setFailed
.action/index.js
Line 87 in 763fbaf
Also, there have been some changes to
@actions/cache
since version 0.2.1 which you use, so runningnpm upgrade
might improve this action as well.The text was updated successfully, but these errors were encountered: