mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#780
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/698
Author: @yunus25jmi1
Created: 3/27/2026
Status: 🔄 Open
Base:
main← Head:fix/issue-654-action-redirect-soft-nav📝 Commits (10+)
de4bf6ffix: server action redirects use soft RSC navigation instead of hard reload (#654)7a94313fix: use manual glob implementation for Node compatibilityed29480fix: complete soft RSC navigation for server action redirectsc714eb3fix: improve file-matcher glob handling and update snapshotsc16cae3fix: address review feedback for soft RSC navigation0fb28cetest: update entry-templates snapshots after review fixes7a249dafix: refactor scanWithExtensions to use glob for file matching28750cdfix(server-actions): address round-3 review feedback for soft redirects0730addtest: update entry-templates snapshots after round-3 review fixesf14713cfix(rewrites): include middleware headers in static file responses📊 Changes
8 files changed (+1192 additions, -1265 deletions)
View changed files
📝
packages/vinext/src/entries/app-rsc-entry.ts(+129 -5)📝
packages/vinext/src/index.ts(+62 -29)📝
packages/vinext/src/server/app-browser-entry.ts(+82 -12)📝
packages/vinext/src/server/prod-server.ts(+49 -0)📝
tests/__snapshots__/entry-templates.test.ts.snap(+774 -1219)📝
tests/e2e/app-router/server-actions.spec.ts(+52 -0)➕
tests/fixtures/app-basic/app/action-self-redirect/page.tsx(+29 -0)📝
tests/fixtures/app-basic/app/actions/actions.ts(+15 -0)📄 Description
Fixes #654
What changed
This PR fixes the RSC parity gap where server action redirects caused full page reloads instead of SPA-style soft navigation like Next.js does.
Server-side (app-rsc-entry.ts)
Client-side (app-browser-entry.ts)
Tests
Additional fix
Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.