Skip to content

Conversation

@olivier-lacroix
Copy link
Contributor

@olivier-lacroix olivier-lacroix commented Sep 28, 2025

@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:

  • modified the global cache key so that global caches expire at the end of each month, avoiding staleness issue
  • created a separate setting to enable global caching, which defaults to false.

let me know what you think!

Copy link
Collaborator

@pavelzw pavelzw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mostly looks good 👍🏻 feel free to create a pr to update the pixi docs as well.

can you bump the version in package.json to 0.9.2?

@olivier-lacroix
Copy link
Contributor Author

mostly looks good 👍🏻 feel free to create a pr to update the pixi docs as well.

can you bump the version in package.json to 0.9.2?

Done. pixi PR is here: prefix-dev/pixi#4672

@olivier-lacroix
Copy link
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.

@olivier-lacroix
Copy link
Contributor Author

@pavelzw gentle ping 😄 . the documentation has now been updated on the main pixi doc website.

Copy link
Collaborator

@pavelzw pavelzw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for the delay, your pings didn't reach me for some reason

@pavelzw pavelzw merged commit 28eb668 into prefix-dev:main Oct 19, 2025
179 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants