Skip to content

feat: Cache native uv tool tasks - #13748

Merged
anthonyshew merged 3 commits into
mainfrom
shew/cache-native-uv-tasks
Aug 14, 2026
Merged

anthonyshew merged 3 commits into
mainfrom
shew/cache-native-uv-tasks

Conversation

@anthonyshew

@anthonyshew anthonyshew commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add path-independent uv, Python executable, interpreter, and host compatibility identities to Python external-resolution hashes.
  • Cache discovered lockfile-backed lint, check, and test tasks when identities are available.
  • Cache uv_build builds when the package requirement accepts the backend bundled in the identified uv executable.
  • Keep arbitrary PEP 517 builds, formatters, fallback uv check, unsafe environments, unsupported version requirements, and pass-through invocations fail-closed.
  • Document the cache contract and add unit plus second-run cache-hit and output-restoration coverage.

Testing

  • cargo test -p turborepo-repository uv::test --no-default-features
  • cargo test -p turbo --test uv_workspace_test test_uv_quality_tasks_cache_with_toolchain_identity -- --nocapture
  • cargo test -p turbo --test uv_workspace_test test_uv_build_caches_bundled_backend -- --nocapture
  • cargo clippy -p turborepo-repository --all-targets --no-default-features -- -D warnings
  • pnpm exec oxfmt --check
  • Pre-push hooks

The full uv integration suite reached 16/17 locally. test_uv_prune failed because uv considered the fixture lockfile stale after applying its time-based global exclude-newer value.

@anthonyshew
anthonyshew requested review from a team and tknickman August 14, 2026 20:59
@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
examples-basic-web Ready Ready Preview Aug 14, 2026 9:26pm
examples-designsystem-docs Ready Ready Preview Aug 14, 2026 9:26pm
examples-gatsby-web Ready Ready Preview Aug 14, 2026 9:26pm
examples-kitchensink-blog Ready Ready Preview Aug 14, 2026 9:26pm
examples-nonmonorepo Ready Ready Preview Aug 14, 2026 9:26pm
examples-svelte-web Ready Ready Preview Aug 14, 2026 9:26pm
examples-tailwind-web Ready Ready Preview Aug 14, 2026 9:26pm
examples-vite-web Ready Ready Preview Aug 14, 2026 9:26pm
turbo-site Ready Ready Preview Aug 14, 2026 9:26pm
turborepo-eve-agent Ready Ready Preview Aug 14, 2026 9:26pm

@anthonyshew
anthonyshew merged commit b4bd235 into main Aug 14, 2026
53 checks passed
@anthonyshew
anthonyshew deleted the shew/cache-native-uv-tasks branch August 14, 2026 21:58
github-actions Bot added a commit that referenced this pull request Aug 14, 2026
## Release v2.10.11-canary.3

> [!CAUTION]
> Versioned docs aliasing FAILED. [View
logs](https://github.com/vercel/turborepo/actions/runs/31844769995)

### Changes

- chore: Release Turborepo 2.10.11-canary.2 (#13747) (`dec1a95`)
- feat: Cache native uv tool tasks (#13748) (`b4bd235`)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot added a commit that referenced this pull request Aug 18, 2026
## Release v2.10.11

> [!CAUTION]
> Versioned docs aliasing FAILED. [View
logs](https://github.com/vercel/turborepo/actions/runs/32150657734)

### Changes

- chore: Release Turborepo 2.10.10 (#13741) (`f7cb04d`)
- fix: Automatically approve release workflows (#13743) (`237aef5`)
- chore: Release Turborepo 2.10.11-canary.1 (#13744) (`e5c7298`)
- fix: Avoid repeated strict entrypoint traversal (#13745) (`616985b`)
- chore: Release Turborepo 2.10.11-canary.2 (#13747) (`dec1a95`)
- feat: Cache native uv tool tasks (#13748) (`b4bd235`)
- chore: Release Turborepo 2.10.11-canary.3 (#13749) (`b08ab5f`)
- fix: Isolate concurrent generator config bundles (#13750) (`3f64c07`)
- chore: Forbid release-age exclusions in examples maintenance (#13751)
(`0b501f1`)
- fix: Respect gitignore without git metadata (#13756) (`45a87a0`)
- chore: Release Turborepo 2.10.11-canary.4 (#13759) (`9f94a7d`)
- feat: Expand performance agent toolbox (#13761) (`f924510`)
- docs: Redesign Turborepo homepage (#13702) (`09bf969`)
- fix: Tolerate transient input files (#13734) (`3226457`)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview – turborepo-eve-agent 8e0efc4d Deployed Aug 14, 2026 by vercel[bot]
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.

1 participant