[NEXT-1293] Server action redirect RSC response discarded - new request invoked #51423
Closed
1 task done
Labels
bug
Issue was opened via the bug report template.
linear: next
Confirmed issue that is tracked by the Next.js team.
stale
The issue has not seen recent activity.
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.0.0: Mon May 22 22:52:05 PDT 2023; root:xnu-10002.0.40.505.5~4/RELEASE_ARM64_T6000 Binaries: Node: 18.15.0 npm: 9.5.0 Yarn: 1.22.19 pnpm: 8.6.2 Relevant packages: next: 13.4.7-canary.1 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.3
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://github.com/pawelblaszczyk5/cache-bug-reproduction
To Reproduce
Describe the Bug
This bug started happening in the latest stable release
13.4.6
it still persists in the latest canary13.4.7-canary.1
. It seems like the RSC tree from server action redirect response is ignored and the new request is being made. It happens only if we didn't visit the page that we're being redirected to before.Expected Behavior
Only one request for RSC should be made if I understand the stuff behind it correctly :smile
Which browser are you using? (if relevant)
not relevant
How are you deploying your application? (if relevant)
not relevant
NEXT-1293
The text was updated successfully, but these errors were encountered: