Commit 4a12c26
chore: Deprecate the
## Summary
Deprecates `turbo scan` and removes all of its implementation code. The
diagnostics it ran have become irrelevant as `turbo` has evolved:
- **Turbo no longer shells out to Git**, so configuring Git's FS Monitor
daemon provides no benefit to `turbo` performance.
- **The Turborepo daemon is no longer used for `turbo run`**, making the
daemon health check unnecessary.
- **Remote Cache linking should be automatic and frictionless**, not
gated behind an interactive wizard. We have better flows for this now.
- **The LSP check is premature** -- we don't want to actively push users
toward the extension at this stage.
- **Version update checks** are better handled by existing tooling (e.g.
`npx @turbo/codemod update`), not an interactive prompt.
Since every diagnostic `turbo scan` ran is now either obsolete or better
served elsewhere, the command itself no longer provides value.
## What changed
- Deleted the `turborepo-diagnostics` crate and the `commands/scan.rs`
implementation.
- `turbo scan` is now hidden from `--help` and prints a deprecation
warning if invoked.
- Documentation updated: reference page shows a deprecation callout,
reference index card marked deprecated, and `turbo scan` added to the
[deprecated list on the support policy
page](https://turborepo.dev/docs/support-policy#deprecated).
---------
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>turbo scan command (#12406)1 parent 281e89b commit 4a12c26
File tree
16 files changed
+16
-832
lines changed- apps/docs/content/docs
- reference
- crates
- turborepo-diagnostics
- src
- turborepo-lib
- src
- cli
- snapshots
- commands
16 files changed
+16
-832
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
This file was deleted.
This file was deleted.
0 commit comments