Skip to content

Conversation

@tpoliaw
Copy link
Contributor

@tpoliaw tpoliaw commented Sep 25, 2025

Uses uv for python management

@tpoliaw tpoliaw requested a review from a team as a code owner September 25, 2025 10:33
@coretl
Copy link
Contributor

coretl commented Oct 1, 2025

Issues:

@codecov
Copy link

codecov bot commented Oct 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.73%. Comparing base (c623987) to head (fea4953).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1214   +/-   ##
=======================================
  Coverage   94.73%   94.73%           
=======================================
  Files          41       41           
  Lines        2638     2638           
=======================================
  Hits         2499     2499           
  Misses        139      139           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw tpoliaw force-pushed the uv_copier_update branch 3 times, most recently from 81abb40 to 2b35608 Compare October 3, 2025 13:02
Re-using the user's local cache means invalid links get created
Once the uv cache has been set up, configuring the pre-commit hooks
takes the most significant amount of time building the container. Using
a shared volume for the pre-commit cache as well takes the devcontainer
re-build time from ~1m10s to ~10s.
Convenience trumps consistency

This reverts commit 95b8c2e.
@DiamondJoseph DiamondJoseph changed the title Update to 5.0 pre-release of copier template chore(deps): Update to 5.0 pre-release of copier template Oct 29, 2025
Comment on lines +67 to +84
// Keep a persistent cross container cache for uv, pre-commit, and the venvs
{
"source": "persistent-uv-cache",
"target": "/root/.cache/uv",
"type": "volume"
},
// ...and for pre-commit
{
"source": "persistent-pre-commit-cache",
"target": "/root/.cache/pre-commit",
"type": "volume"
}
// Use a volume mount for the uv venv so it is local to the container
{
"target": "/workspaces/${localWorkspaceFolderBasename}/.venv",
"source": "devcontainer-shared-cache",
"type": "volume"
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This has been changed upstream to use a single cache for everything, do we want to keep in sync with that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, with the envvars set above this does need to change one way or the other

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