chore: Deprecate the turbo scan command#12406
Merged
anthonyshew merged 3 commits intomainfrom Mar 20, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… the Next.js docs build to fail with "Module not found".
This commit fixes the issue reported at apps/docs/content/docs/reference/scan.mdx:9
**Bug:** The file `apps/docs/content/docs/reference/scan.mdx` contains `import { Callout } from '#/components/callout';` on line 9. This module path `#/components/callout` does not resolve to any file — there is no `#` path alias configured in tsconfig.json or package.json imports, and no `callout.tsx` exists at that path. The `Callout` component is provided globally through `apps/docs/components/geistdocs/mdx-components.tsx`, and all 6 other MDX files in the same directory use `<Callout>` without any import.
This causes the Next.js docs build to fail with `Module not found: Can't resolve '#/components/callout'`.
**Fix:** Remove the broken `import { Callout } from '#/components/callout';` line from `scan.mdx`. The `<Callout>` component usage remains and will work correctly via the global MDX component injection, matching the pattern used by every other file in the directory.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: anthonyshew <[email protected]>
github-actions bot
added a commit
that referenced
this pull request
Mar 20, 2026
## Release v2.8.21-canary.2 Versioned docs: https://v2-8-21-canary-2.turborepo.dev ### Changes - fix: Strip JSX components from heading anchors and TOC entries (#12404) (`3abe553`) - fix: Move docs app icons into app/ directory (#12403) (`ddf3918`) - feat: Add experimental structured logging with `--json` and `--log-file` flags (#12405) (`7ca0601`) - release(turborepo): 2.8.21-canary.1 (#12407) (`adebb95`) - docs: Downgrade Next.js (#12408) (`281e89b`) - chore: Deprecate the `turbo scan` command (#12406) (`4a12c26`) Co-authored-by: Turbobot <[email protected]>
github-actions bot
added a commit
that referenced
this pull request
Mar 23, 2026
## Release v2.8.21-canary.3 Versioned docs: https://v2-8-21-canary-3.turborepo.dev ### Changes - chore: Deprecate the `turbo scan` command (#12406) (`4a12c26`) - release(turborepo): 2.8.21-canary.2 (#12409) (`b9ef212`) - fix(eslint-plugin-turbo): Guard against missing tasks/pipeline in forEachTaskDef (#12411) (`6c107c2`) Co-authored-by: Turbobot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deprecates
turbo scanand removes all of its implementation code. The diagnostics it ran have become irrelevant asturbohas evolved:turboperformance.turbo run, making the daemon health check unnecessary.npx @turbo/codemod update), not an interactive prompt.Since every diagnostic
turbo scanran is now either obsolete or better served elsewhere, the command itself no longer provides value.What changed
turborepo-diagnosticscrate and thecommands/scan.rsimplementation.turbo scanis now hidden from--helpand prints a deprecation warning if invoked.turbo scanadded to the deprecated list on the support policy page.