Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost files in the cache #61

Closed
lazka opened this issue Aug 3, 2020 · 5 comments · Fixed by #63
Closed

Lost files in the cache #61

lazka opened this issue Aug 3, 2020 · 5 comments · Fixed by #63

Comments

@lazka
Copy link
Member

lazka commented Aug 3, 2020

I managed to get a file lost in our cache here: https://github.com/msys2/msys2-devtools/runs/942546549?check_suite_focus=true

pacman -Qkq checks if all files that should be there are there and one was missing

I'm not sure how and why, and how likely. Let's watch out for similar cases..

lazka added a commit to msys2/msys2-autobuild that referenced this issue Aug 3, 2020
@jeremyd2019
Copy link
Member

It might be useful (definitely while working on the this action, but apparently maybe for others) to have an option to not use (or maybe just not restore, to replace) the cache

@lazka
Copy link
Member Author

lazka commented Aug 4, 2020

I'd prefer if it just worked :)

@lazka
Copy link
Member Author

lazka commented Aug 11, 2020

It happened again now:

pacman -Qkq
mingw-w64-x86_64-headers-git /mingw64/x86_64-w64-mingw32/include/tapi.h

https://github.com/msys2/msys2-devtools/runs/972714924?check_suite_focus=true

@lazka
Copy link
Member Author

lazka commented Aug 11, 2020

The cache was created in https://github.com/msys2/msys2-devtools/runs/972534368?check_suite_focus=true and restored in https://github.com/msys2/msys2-devtools/runs/972714924?check_suite_focus=true. After the cache save the file was still there so I'd guess cache store is buggy.

@lazka
Copy link
Member Author

lazka commented Aug 14, 2020

happened again. I think we have to disable the caching sadly.

lazka added a commit to lazka/setup-msys2 that referenced this issue Aug 14, 2020
For some reason it sometimes loses files. It's not clear where the error
is, so let's disable for now.

Fixes msys2#61
@eine eine closed this as completed in #63 Aug 14, 2020
eine pushed a commit that referenced this issue Aug 14, 2020
For some reason it sometimes loses files. It's not clear where the error
is, so let's disable for now.

Fixes #61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants