feat: Allow caching global environment(s)#226
Merged
pavelzw merged 9 commits intoprefix-dev:mainfrom Oct 19, 2025
Merged
Conversation
3f60898 to
299140a
Compare
olivier-lacroix
commented
Sep 30, 2025
olivier-lacroix
commented
Sep 30, 2025
pavelzw
approved these changes
Sep 30, 2025
69411aa to
59969fd
Compare
8b050e6 to
508686f
Compare
Contributor
Author
Done. pixi PR is here: prefix-dev/pixi#4672 |
Contributor
Author
|
@pavelzw thanks for your review and comments. I have actioned all of them. The global cache will also cache the pixi binary. as the hash takes the binary into account, we should be fine, but maybe there is a way to do better, and skip pixi installation if it can be restored from the global cache? Any way, just a thought; and that could be done in a followup PR. |
Contributor
Author
|
@pavelzw gentle ping 😄 . the documentation has now been updated on the main pixi doc website. |
pavelzw
approved these changes
Oct 19, 2025
Collaborator
pavelzw
left a comment
There was a problem hiding this comment.
sorry for the delay, your pings didn't reach me for some reason
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@pavelzw , this PR brings back the option to cache global environments. To take into account your comment around the lack of lock file making this a bit more tricky, I have:
let me know what you think!