Replies: 7 comments 2 replies
-
New beta release v3.1.0-betaWe have released a beta version of cache under Expected behaviourAll the mentioned issues in here should be resolved and not happening with this release. Performance might vary for different files on windows. No changes should happen to Call outs
|
Beta Was this translation helpful? Give feedback.
-
UpdateTag Call out
|
Beta Was this translation helpful? Give feedback.
-
UpdateHave released all the changes to |
Beta Was this translation helpful? Give feedback.
-
UpdateWe have reverted the changes due to multiple complains regarding symlinks not working. If a cache containing symlink is saved on Related issue: #1043 |
Beta Was this translation helpful? Give feedback.
-
UpdateCurrently we are fixing a problem related to symlinks creation on windows during a tarball extraction which was created on Solution:We found that symlink creation is handled differently for different platforms and filesystems. We encountered two solutions to handle this:
We have chosen to go with 2nd solution and would love hear feedback from community. |
Beta Was this translation helpful? Give feedback.
-
UpdateWe have released new changes with symlink issue fixed and allowing to use cross-os cache as an opt-in feature by adding |
Beta Was this translation helpful? Give feedback.
-
I'm having problems restoring caches to macOS that were saved on Linux. I build a (platform independent) conda package on
In the run linked above, the job "Build qtconsole Python-3.10" runs on What am I missing here? |
Beta Was this translation helpful? Give feedback.
-
Problems
There have been multiple reported issues related to compression of caches. The issue we are looking to solve:
gzip
) as compared to onlinux | mac
(zstd
). This leads to different versions for caches created on different platforms. Therefore caches created on windows might not be recoverable onlinux | mac
. For more details on cache version see this.Proposal
We are looking to solve both the problems as follows::
zstd
due to the issue of compression hanging with large caches. In our testing, we found that performing archiving and compression as separate processes (instead of callingtar --use-compress-program
) does not have the hang problem for caches of size up to 2GB.Reasoning to choose GNUtar over BSDtar as default
BSDtar has some implementation problems. That’s the reason it stopped being used in MacOS for our action. For more details see actions/toolkit#552.
Related issues which should get fixed with this proposal
We have consolidated issues related to the above problems here. Feel free to provide feedback regarding these in this issue itself.
tar
on the path #125 (Won’t fix)Beta Was this translation helpful? Give feedback.
All reactions