cloudflare/vinext

App Router: misc navigation regressions (unicode params, useParams identity, push pending)

已關閉

#1,555 建立於 2026年5月22日

 (0 則留言) (0 個反應) (0 位負責人)TypeScript (385 個分叉)github user discovery
adapter-api-e2ehelp wanted

倉庫指標

星標
 (8,633 顆星)
PR 合併指標
 (平均合併 1天 1小時) (30 天內合併 462 個 PR)

描述

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

A handful of app-router navigation regressions: (1) unicode search params not surfaced in the RSC ok-response stream; (2) useParams returns 0 items (no identity stability) when rendered under pages; (3) external router.push() reports lastIsPending: false instead of true. These do not cleanly fit any single existing issue.

unicode search params: expected pathname "/" with content-type text/x-component
useParams identity: Expected length 2, Received length 0

Estimated Impact

~4 test failures across the deploy suite.

Affected Test Suites

  • test/e2e/app-dir/navigation/navigation.test.ts (3 failures)
  • test/e2e/app-dir/search-params-react-key/layout-params.test.ts

Recommendation

  1. Reproduce first in vinext's own test suite. Cover each regression independently: unicode search params in RSC stream, useParams identity stability, external router.push pending status.

  2. Address each root cause. Unicode: ensure search params are decoded/encoded consistently on the SSR path. useParams: stabilise the identity across renders. External push: thread the pending status back to the consumer.


Part of #1328.

貢獻者指南