Metadata streaming: parallel route slot metadata not emitted
#1,341 opened on May 20, 2026
Repository metrics
- Stars
- (8,563 stars)
- PR merge metrics
- (Avg merge 1d 1h) (462 merged PRs in 30d)
Description
This issue was created by an agent analysing CI failures from the Next.js Deploy Suite (vinext
mainvs Next.jsv16.2.6, 2026-05-20).
Problem
Metadata from parallel route slots is not properly emitted or updated:
-
Empty title in parallel routes. When a parallel routes layout sets metadata but does not render
children, the<title>tag is empty instead of containing the layout's metadata. -
Stale metadata on slot navigation. Navigating between pages under a parallel route slot does not update the
<title>tag. It stays on the layout's default title instead of switching to the page-specific title. -
Missing charset meta. The root not-found page renders without
<meta charset="utf-8">when metadata streaming is active.
Expected: "parallel-routes-default layout title"
Received: ""
Expected: "first page - @bar"
Received: "parallel-routes-default layout title"
Expected: 1 // meta[charset="utf-8"] count
Received: 0
Estimated Impact
~8 test failures across the deploy suite.
Affected Test Suites
test/e2e/app-dir/metadata-streaming-parallel-routes/metadata-streaming-parallel-routes.test.ts(2 failures)test/e2e/app-dir/metadata-navigation/metadata-navigation.test.ts(4 failures)test/e2e/app-dir/metadata-streaming/metadata-streaming.test.tstest/e2e/app-dir/metadata-streaming-static-generation/metadata-streaming-static-generation.test.ts(2 failures)
Recommendation
-
Reproduce first in vinext's own test suite. Add a test with parallel routes that set different metadata at each level and verify the correct title renders. Confirm it fails.
-
Study Next.js metadata resolution for parallel routes. The metadata resolution logic needs to walk all slots, not just the
childrenslot, when determining which metadata to emit. -
Fix client-side metadata updates during slot navigation. When navigating within a parallel route slot, the metadata should update to reflect the new page's metadata.