[turbopack] Render code frames on the turbopack side#90534
[turbopack] Render code frames on the turbopack side#90534lukesandberg wants to merge 1 commit intocode_frame_defencefrom
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Failing test suitesCommit: 1999aaa | About building and testing Next.js
Expand output● typed-routes-validator › should have passing tsc after the server generated types
Expand output● Cache Components Errors › Build With --prerender-debug › Sync Dynamic Request › cookies › should error the build with a runtime error ● Cache Components Errors › Build With --prerender-debug › Sync Dynamic Request › headers › should error the build with a runtime error ● Cache Components Errors › Build Without --prerender-debug › Sync Dynamic Request › cookies › should error the build with a runtime error ● Cache Components Errors › Build Without --prerender-debug › Sync Dynamic Request › headers › should error the build with a runtime error |
Merging this PR will not alter performance
Comparing Footnotes
|
Stats from current PR🔴 1 regression
📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles: **400 kB** → **400 kB** ✅ -13 B80 files with content-based hashes (individual files not comparable between builds) Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
📝 Changed Files (1 file)Files with changes:
View diffsserver.runtime.prod.jsDiff too large to display 📎 Tarball URL |
34f1ced to
1999aaa
Compare
f838eb7 to
562de08
Compare

Not that error rendering performance is critical, but it is silly to pass frame information from turbopack to js just to have js pass the same information back to native code to draw a frame.