-
Notifications
You must be signed in to change notification settings - Fork 9
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
foliage caching issues #41
Comments
Yes, this has appened to me too and it was the ause of this failure I could reproduce it reliably doing |
I also don't really understand how it works tbh. I did wonder whether maybe the directories we use within the cache directory need to be properly keyed by all the information in the input (perhaps a hash), so we don't reuse stuff we shouldn't? |
We already do this 🤦
That's actually because the first one has to download all the Nix deps 🤦 |
I am going to keep this issue to track caching issues. Comment here if you have any new issue with caching. |
I had some issues where foliage was broken and I had to delete the cache to continue. I suspect that means we're not invalidating things properly sometimes.
If we could fix this, then we could e.g. cache the cache directory in GHA, saving some CI time. I hypothesize that this would save quite a bit, because the builds of the main/tip repositories for PRs in CHaP accidentally share the cache, and the second build is much faster. That makes sense, since presumably it lets it skip downloading all the stuff that's the same.
The text was updated successfully, but these errors were encountered: