Skip to content

Conversation

@coretl
Copy link
Contributor

@coretl coretl commented Oct 27, 2025

Supercedes #304 and #305 by adding a global volume that contains:

  • pre-commit cache
  • uv cache
  • uv managed python cache
  • the venvs for all the projects

This allows us to use hardlink mode which makes it even faster, and avoid the issue of anonymous volumes in devcontainers being left dangling. Added docs to say that there is now a global venv for the container, which is different for how it would look without any environment variables set

@coretl coretl changed the title Add a global cache for uv, pre-commit and global venv feat: Add a global cache for uv, pre-commit and global venv Oct 27, 2025
@coretl coretl requested a review from gilesknap October 28, 2025 09:55
Copy link
Contributor

@gilesknap gilesknap left a comment

Choose a reason for hiding this comment

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

This looks good and I tested it against edge-containers-cli.

This is so quick on my home machine that I can't tell I'm opening a devcontainer.
👍 👍

@coretl coretl merged commit 17daee5 into main Oct 28, 2025
6 checks passed
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 this pull request may close these issues.

4 participants