What this thread does
The problem
Your existing Turborepo repo needs an upgrade without losing task selection, environment inputs or reliable cache restoration. This is a release checklist, not runner selection.
Release baseline, checked 2026-11-24
| Item | Officially verified baseline |
|---|---|
| Stable target | As of November 2026, turbo 2.11.13, released 2026-11-18, is marked Latest on GitHub; this checklist was written for 2.11.9, released 2026-10-16 |
| Latest minor | 2.11 announcement, dated 2026-09-18 |
| Previous minor | 2.10 announcement, covering shutdown, hashing, filters and eviction |
The original release/version statements were checked 2026-10-20; the stable target was rechecked 2026-11-24. npm metadata was inaccessible; stable status comes from GitHub. Licence and hosting prices are outside this migration decision.
What changed in the last two minors
- 2.11 adds experimental Cargo, uv and Go workspace discovery, supports
devEngines.packageManageralongside the legacy declaration, and addsturbo prune web --productionto omit workspace packages reachable only through development dependencies. Keep experimental language discovery opt-in. The announcement does not require replacingtasks. Official announcement, checked 2026-10-20. - 2.10 forwards shutdown signals and waits for cleanup. Structured
inputssupport just-in-time hashing (modeset tojit) and upstream output hashing (dependencyOutputs).--affectedand--filternow intersect. Local eviction is opt-in throughcacheMaxAgeandcacheMaxSize. A narrower filter can schedule fewer tasks; eviction can cause a local miss. Official announcement, checked 2026-10-20. - 2.11.9 cache maintenance includes multithreaded archive compression, cache-output checks and skipping the dry-run batching window without a remote cache. These notes do not establish a mandatory remote-cache protocol migration. Patch changelog, checked 2026-10-20.
Choose the migration path
| Starting point | Action |
|---|---|
| Working recent minor | Review codemod diff; retain tasks; test shutdown, filters and deployment output |
| Old major or copied tutorial | Also migrate legacy schema and audit strict environment mode |
| Custom remote cache | Verify upload and restoration against the provider before changing CI |
Ordered migration
1. Record pnpm exec turbo --version and turbo --version, lockfile and existing task results. Use the local binary throughout verification. These are proposed inspection commands, not commands run for this draft. 2. After the repo's normal dependency install, run the documented pnpm dlx @turbo/codemod migrate (npm equivalent npx @turbo/codemod migrate). Review the diff. The official list includes rename-pipeline, rename-output-mode, migrate-dot-env, schema updates and package-name additions. Codemods, checked 2026-10-20. 3. Confirm the resolved target matches the stable baseline; the migration command is not a permanent version pin. Declare the actual package manager in root devEngines.packageManager; legacy packageManager remains supported. Update eslint-config-turbo if used to match the CLI major. Upgrade guide, checked 2026-10-20. 4. Run pnpm exec turbo run build test using tasks present in this repo. Repeat unchanged, then change a source input and verify the expected rerun. If using deferred hashing, change generated inputs and check downstream results. Compare filtered CI task sets with the baseline. 5. Test shutdown and the deployment artifact. Use pnpm exec turbo prune web --production only for the real target package and an intended production closure. Verify runtime workspace dependencies remain. Do not prune away build tools before a stage that still needs them.
Breakage, causes and recovery
Legacy schema rejected. The official codemod list confirms the earlier major migration from pipeline to tasks, with outputMode handled separately. Run the migration in step 2 and retry pnpm exec turbo run build. Do not retain both schema keys or rename ordinary package scripts. Exact terminal wording is unverified; see Limits. Codemods, checked 2026-10-20.
Environment variables disappear from tasks. Strict mode became the default in the earlier major transition. Declare build-affecting names in task env or globalEnv; use pnpm exec turbo run build --env-mode=loose only as an incremental diagnostic. Do not substitute permanent loose mode for correct cache inputs. Upgrade guide, checked 2026-10-20.
Remote cache misses. Verify linking/authentication with documented turbo login then turbo link, or turbo login --manual for a custom provider. Test restoration in a disposable checkout without local artifacts. Signed artifacts that fail verification become misses; check producer/consumer signing configuration. Do not disable verification to hide a key mismatch. The docs still describe compatible remote-cache endpoints; the new minor announcements do not establish a mandatory server migration. Remote caching, checked 2026-10-20.
Community evidence
- In discussion 8367, ya2s reported missing variables after the major upgrade. Maintainer Anthony Shew linked the upgrade guide and clarified environment-file handling. This supports auditing environment inputs before blaming the cache.
- In discussion 3309, yashsway asked about task-override inheritance. Shew answered that package-task overrides do not inherit configuration, whereas package configurations do. Audit overrides instead of assuming root settings apply.
Both fetched and checked 2026-10-20. These establish configuration pitfalls, not independent adoption evidence for the latest minor.
A prompt to give your agent
Read the linked release notes, codemod reference, upgrade guide and remote-cache docs before editing; do not guess flags or error strings. Record our local CLI, lockfile and package-manager declaration. Propose the migration diff, distinguish legacy major changes from new minor features, then test selection, cold execution, warm restoration, generated inputs, shutdown and deployment pruning. Report commands actually run and unresolved failures.
Limits
No installs, codemods, builds or cache tests were run. Latest-minor community evidence is thin. Unverified strings include the pipeline/tasks diagnostic, missing-package-manager diagnostics and provider-specific cache errors; no exact literal is asserted for them. npm dist-tags and performance gains on this repo remain unverified.
Started from a post by @vercel/turborepo, packaged by the editor. Original post