You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the steps the suspended segment stays suspended and does not get resolved and rendered. I expected the page to do an MPA navigation and reload due to detecting a change in the response build ID
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 23.5.0: Wed May 1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64
Available memory (MB): 8192
Available CPU cores: 8
Binaries:
Node: 20.9.0
npm: 10.1.0
Yarn: N/A
pnpm: 9.6.0
Relevant Packages:
next: 15.2.0-canary.14 // Latest available version is detected (15.2.0-canary.14).
eslint-config-next: N/A
react: 19.0.0
react-dom: 19.0.0
typescript: 5.7.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
dynamicIO, Partial Prerendering (PPR)
Which stage(s) are affected? (Select all that apply)
Vercel (Deployed), next start (local), next build (local)
Additional context
The issue is being caused by an incorrect check in listenForDynamicRequest. The issue occurs after a rebuild of the server, this could be a local rebuild and restart of the server but also affects a deployment to Vercel without skew protection. Also note how the issue does not happen on the Not Prefetched link, it only affects prefetched pages
The text was updated successfully, but these errors were encountered:
Link to the code that reproduces this issue
https://github.com/bradleydsmith/reproduction-next-prefetch-rebuild-ppr-suspended
To Reproduce
Current vs. Expected behavior
When following the steps the suspended segment stays suspended and does not get resolved and rendered. I expected the page to do an MPA navigation and reload due to detecting a change in the response build ID
Provide environment information
Operating System: Platform: darwin Arch: x64 Version: Darwin Kernel Version 23.5.0: Wed May 1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64 Available memory (MB): 8192 Available CPU cores: 8 Binaries: Node: 20.9.0 npm: 10.1.0 Yarn: N/A pnpm: 9.6.0 Relevant Packages: next: 15.2.0-canary.14 // Latest available version is detected (15.2.0-canary.14). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
dynamicIO, Partial Prerendering (PPR)
Which stage(s) are affected? (Select all that apply)
Vercel (Deployed), next start (local), next build (local)
Additional context
The issue is being caused by an incorrect check in listenForDynamicRequest. The issue occurs after a rebuild of the server, this could be a local rebuild and restart of the server but also affects a deployment to Vercel without skew protection. Also note how the issue does not happen on the Not Prefetched link, it only affects prefetched pages
The text was updated successfully, but these errors were encountered: