-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Turbopack server hmr: extract core hmr client logic #88912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: wbinnssmith/server-hmr-runtime-mvp
Are you sure you want to change the base?
Turbopack server hmr: extract core hmr client logic #88912
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. |
65424d5 to
98149b4
Compare
Failing test suitesCommit: a8262a5 | About building and testing Next.js
Expand output● app dir client cache with parallel routes › prefetch={true} › should prefetch the full page
Expand output● runtime prefetching › in a private cache › includes dynamic params, but not dynamic content |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
98149b4 to
4bea106
Compare
278d39f to
392acd5
Compare
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: **432 kB** → **432 kB** ✅ -32 B82 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
|
4bea106 to
b77b14c
Compare
b77b14c to
a8262a5
Compare
0e13692 to
36882f9
Compare
This extracts the core HMR client logic, abstracting away hooks for platform-specific features like the websocket transport and page reload. In a future PR this will be implemented as an in-process backend for nodejs server hmr. Test Plan: CI, existing hmr tests
a8262a5 to
0c9c18d
Compare

This PR mostly moves existing code.
This extracts the core HMR client logic, abstracting away hooks for platform-specific features like the websocket transport and page reload.
In a future PR this will be implemented as an in-process backend for nodejs server hmr.
Test Plan: CI, existing hmr tests