Open dekimsey opened 7 months ago
This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.
This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.
Still valid
Issue
I recently attempted to save and restore a cache between my self-hosted OSX runners and the GH-hosted ones. However I was unable to get this working, as I receiving a key not found error.
Background
It came down to the fact that the compression tool is a hidden flag on the cache (the "version"). Which I had a lot of trouble discovering (UI, API calls, error messages, or default logs).
Only when I executed both the save and restore with debug logging enabled was I able to determine
zstd
was missing on my on-premise hosts.Examples: On-premise save logs:
vs. GH-hosted restore logs:
This is with
enableCrossOsArchive
enabled on both sides.Request
To make this kind of failure more obvious to users, I'd like to propose:
zstd
, it seems to be the suggested/desired compression tool on all OS's by the action.enableCrossOSArchive
?).While I now understand how we got this happened, I'd like to make sure others in the future are more easily able to understand and address the issue.
Thank you!