Avatar for the vercel user
vercel
next.js
Instrumentation
Wall Time
BlogDocsChangelog

Emit build error when `'use cache'` directive is misspelled

#83756Merged
Comparing
hl/use-cache-remote-typo-error
(
aaa8d19
) with
canary
(
370ba8d
)
CodSpeed Performance Gauge
0%
Untouched
9
Ignored
3

Benchmarks

Passed

build[mui]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[mui]
CodSpeed Performance Gauge
0%
3.2 s3.2 s
build[date-fns-single]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[date-fns-single]
CodSpeed Performance Gauge
0%
1.3 s1.3 s
build[framer-motion-all]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[framer-motion-all]
CodSpeed Performance Gauge
0%
3.2 s3.2 s
build[shiki]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[shiki]
CodSpeed Performance Gauge
0%
6 s6 s
build[framer-motion-single]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[framer-motion-single]
CodSpeed Performance Gauge
0%
2.3 s2.3 s
build[lucide-react-all]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[lucide-react-all]
CodSpeed Performance Gauge
0%
8.9 s8.9 s
build[lucide-react-single]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[lucide-react-single]
CodSpeed Performance Gauge
0%
865.5 ms865.9 ms
build[joy]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[joy]
CodSpeed Performance Gauge
0%
2.1 s2.1 s
build[date-fns-all]
turbopack/crates/turbopack-cli/benches/small_apps.rs::benches::bench_small_apps::turbopack/build/apps::build[date-fns-all]
CodSpeed Performance Gauge
-1%
2.2 s2.2 s

Ignored

hmr_updates_small_5
crates/next-api/benches/hmr.rs::hmr_updates_small_5
Ignored
CodSpeed Performance Gauge
+2%
17 µs16.6 µs
hmr_updates_large_20
crates/next-api/benches/hmr.rs::hmr_updates_large_20
Ignored
CodSpeed Performance Gauge
-1%
16.6 µs16.8 µs
hmr_updates_medium_10
crates/next-api/benches/hmr.rs::hmr_updates_medium_10
Ignored
CodSpeed Performance Gauge
0%
16.7 µs16.8 µs

Commits

Click on a commit to change the comparison range
Base
canary
370ba8d
0%
Emit build error when `'use cache'` directive is misspelled Handles cases like: - `'use cache:remote'` (missing space after colon) - `'use cache : default'` (extra space before colon) - `'use cache private'` (missing colon) - `'use cache: '` (missing cache kind) closes NAR-392
aaa8d19
21 days ago
by unstubbable
© 2025 CodSpeed Technology
Home Terms Privacy Docs