next.js
c41ff08e - Reword the error for a blocking route loaded while navigations are paused (#102398)

Commit
8 hours ago
Reword the error for a blocking route loaded while navigations are paused (#102398) ## Summary When a Playwright test loads a route with no static shell inside [`instant()`](https://nextjs.org/docs/app/guides/testing/playwright#testing-instant-navigations), the error tells the developer to reset the Navigation Inspector, even if they never opened it. Both tools can pause navigations. The development error now explains why there’s nothing to display, says that Next.js has released the pause, and tells the developer where to look next. In a test, open the route outside `instant()` to see the validation details. The production recovery page tells the reader to reload. The Playwright guide documents the same limitation. The paused render can detect an empty shell, but it doesn’t run the development validation that identifies the blocking read. That’s why the error points to an unpaused load. The change is to the messages and docs; the recovery behavior stays the same. ## Verification The [reproduction](https://github.com/aurorascharff/reproductions/tree/main/cases/playwright-route-hides-dev-blocking-route) includes the paused and unpaused Playwright loads in `run.mjs`. The existing test for loading a blocking route with navigations paused now expects the revised development error. <!-- NEXT_JS_LLM -->
Author
Parents
Loading