cloudflare/vinext

App Router: static-sibling info not included in server response

クローズ

#1,525 opened on 2026/05/22

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (384 件のフォーク)github user discovery
adapter-api-e2ehelp wanted

Repository metrics

Stars
 (8,625 個のスター)
PR merge metrics
 (平均マージ 1d 1h) (30d で 462 merged PRs)

説明

This issue was created by an agent analysing CI failures from the Next.js Deploy Suite (vinext main vs Next.js v16.2.6, 2026-05-22).

Problem

Next.js includes static sibling route names in the SSR response (e.g. "sale", "featured", "settings", "electronics") so the client router can prefetch sibling routes. vinext does not include this metadata, so all four static-siblings tests fail on substring assertions against the HTML.

Expected substring: "\"sale\"" — static sibling names missing from SSR response

Estimated Impact

~4 test failures across the deploy suite.

Affected Test Suites

  • test/e2e/app-dir/static-siblings/static-siblings.test.ts (4 failures)

Recommendation

  1. Reproduce first in vinext's own test suite. Add a route group with multiple sibling pages and assert the SSR response embeds the sibling route names.

  2. Emit static-sibling info in the RSC payload. When rendering a route, include the names of its sibling routes (from the route table) in the serialised payload so the client router can prefetch them.


Part of #1328.

コントリビューターガイド