Next.js: Cleaning Up Test Debt and Prefetch Bugs
A cluster of test-infrastructure rewrites removed fragile dependencies on native modules like sqlite3, while three Partial Prefetching fixes eliminated unnecessary speculative network requests. Both efforts trade short-term churn for long-term reliability.
Duration: PT2M21S
Episode overview
This episode is a short developer briefing from Next.js.
It explains recent repository work in plain language.
- Show: Next.js
- Published: 2026-08-20T13:12:14Z
- Audio duration: PT2M21S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning. It's August twentieth, twenty twenty-six, and today's codebase activity centers on paying down test debt and fixing prefetch behavior that's been quietly over-firing requests.
The biggest thread, led by Sebastian Silbermann, touches four separate pull requests all solving the same underlying problem: tests that depended on real native modules like sqlite3 to simulate low-level behavior. PR ninety-seven five forty-three replaces a long-broken firebase test with a purpose-built addon to…
Second theme: Partial Prefetching correctness, from Janka Uryga. PR ninety-seven five twenty-four removes an incomplete feature called "unstable eager" after tracing it to a real bug — apps using incremental prefetch opt-in were issuing speculative prefetches for every link, not just the ones asking for it. A…
Two more items worth flagging: PR ninety-six oh oh four moves preview-mode encryption keys into their own manifest, shrinking what the giant prerender manifest needs to carry into production. And PR ninety-seven five ninety switches Turborepo remote caching from a long-lived personal access token to short-lived OIDC…
What to remember: if you're touching prefetch logic, the…
Nearby episodes from Next.js
- Weekly Recap - Slimming Down the Build Output and the Dev Server
- Tightening Up Static Rendering Edges
- Partial Prefetching Precedence Gets Cleaned Up
- Module Federation Lands in Turbopack, Partial Prefetching Gains New APIs
- Development Caching Comes Full Circle
- Development Caching Gets a Rethink
- Garbage Collection Groundwork Lands in Turbopack's Storage Layer
- Weekly Recap - Stabilizing 16.3 and Untangling the Router