Skip to content

Conversation

@mischnic
Copy link
Contributor

@mischnic mischnic commented Oct 16, 2025

Backport #83452

Closes PACK-5699

@ijjk ijjk added created-by: Turbopack team PRs by the Turbopack team. tests Turbopack Related to Turbopack with Next.js. labels Oct 16, 2025
@mischnic mischnic requested review from a team October 16, 2025 14:39
@ijjk
Copy link
Member

ijjk commented Oct 16, 2025

Tests Passed

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 16, 2025

CodSpeed Performance Report

Merging #84957 will degrade performances by 11.18%

Comparing mischnic/backport-da54d10 (9ab1346) with canary (ac7c971)1

🎉 Hooray! codspeed-rust just leveled up to 2.10.1!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

❌ 6 regressions
✅ 3 untouched
⏩ 8 skipped2

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Mode Benchmark BASE HEAD Change
Instrumentation build[framer-motion-all] 3 s 3.2 s -5.74%
Instrumentation build[framer-motion-single] 2.2 s 2.3 s -5.08%
Instrumentation build[joy] 2.1 s 2.1 s -3.4%
Instrumentation build[lucide-react-all] 8.6 s 9.3 s -7.12%
Instrumentation build[mui] 3.1 s 3.3 s -5.01%
Instrumentation build[shiki] 5.5 s 6.1 s -11.18%

Footnotes

  1. No successful run was found on next-15-5 (f895b72) during the generation of this report, so canary (ac7c971) was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

  2. 8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Don't compile-time-define `process.cwd()` inside of node_modules.

This means that node_modules cannot break outside of their individual packages anymore, so in the worst case, a given package includes all of itself, but not anymore the whole project.

This means that a `readFileSync(path.join(process.cwd(), "something.txt")))` won't cause that file to be listed in the NFT file anymore.
@mischnic mischnic force-pushed the mischnic/backport-da54d10 branch from 57992a6 to 9ab1346 Compare October 16, 2025 23:45
@mischnic mischnic merged commit 92bbbb1 into next-15-5 Oct 17, 2025
262 of 271 checks passed
@mischnic mischnic deleted the mischnic/backport-da54d10 branch October 17, 2025 00:40
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

created-by: Turbopack team PRs by the Turbopack team. locked tests Turbopack Related to Turbopack with Next.js.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants