Next.js Daily: Cleaning Up Test Debt and Prefetch Bugs
The team spent significant effort ripping out flaky and unnecessary native-module test dependencies while landing a cluster of partial prefetch fixes that eliminate unwanted speculative requests. A new Content Security Policy effort also began, aiming to remove the need for unsafe-inline scripts entirely.
Duration: PT2M32S
Episode overview
This episode is a short developer briefing from Next.js Daily.
It explains recent repository work in plain language.
- Show: Next.js Daily
- Published: 2026-08-20T06:06:53Z
- Audio duration: PT2M32S
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 20th, 2026, and this is Next.js Daily.
The clearest signal today: the test suite is getting a serious cleanup, and the partial prefetching flow just got measurably more correct.
Start with testing. Eps1lon opened three related pull requests — 97543, 97541, and 97542 — all tackling the same root problem: tests that relied on real npm packages like sqlite3 or firebase just to exercise native addon loading behavior. These dependencies were slow to compile on linux-arm64, sometimes couldn't…
Second theme: partial prefetching correctness. Lubieowoce's PR 97524 removes the incomplete unstable_eager feature, and PR 97503 fixes router code that ignored a completeness signal on app shells. Both trace back to issue 97469 — apps using incremental prefetch opt-in were quietly firing extra speculative requests…
Third, and worth watching: eps1lon's no-unsafe-inline work, PRs 97570 and 97573, starts removing Next.js's reliance on inline scripts for React's Fizz runtime and Flight payloads. This is early and experimental, but it's aimed squarely at letting apps run a strict Content Security Policy without a per-response nonce.
Also notable: mischnic's cross-module constants…
Nearby episodes from Next.js Daily
- Binary Diets and Repo Spring Cleaning
- Tightening Up Dynamic Routing
- Prefetching Precision and Turbopack's Deep Cleanup
- Cleaning Up Native Test Dependencies, and Module Federation Lands on Turbopack
- Development Caching Gets a Rewrite
- Turbopack Build Reliability Push
- Weekly Recap - Stabilizing the Router and Backporting the Fixes to 16.3
- Building Garbage Collection From the Ground Up