Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEXT-1293] Server action redirect RSC response discarded - new request invoked #51423

Closed
1 task done
pawelblaszczyk5 opened this issue Jun 16, 2023 · 2 comments
Closed
1 task done
Assignees
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.

Comments

@pawelblaszczyk5
Copy link

pawelblaszczyk5 commented Jun 16, 2023

Verify canary release

  • I verified that the issue exists in the latest Next.js 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

  1. Start the dev server
  2. Open index page
  3. Submit form with button
  4. Observe being redirected to a different page
  5. Check network tab

Describe the Bug

This bug started happening in the latest stable release 13.4.6 it still persists in the latest canary 13.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

@pawelblaszczyk5 pawelblaszczyk5 added the bug Issue was opened via the bug report template. label Jun 16, 2023
@shuding shuding added the linear: next Confirmed issue that is tracked by the Next.js team. label Jun 19, 2023
@shuding shuding self-assigned this Jun 19, 2023
@shuding shuding changed the title Server action redirect RSC response discarded - new request invoked [NEXT-1293] Server action redirect RSC response discarded - new request invoked Jun 19, 2023
@nextjs-bot
Copy link
Collaborator

This issue has been automatically marked as stale due to two years of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.

@nextjs-bot nextjs-bot added the stale The issue has not seen recent activity. label Feb 16, 2025
@nextjs-bot
Copy link
Collaborator

This issue has been automatically closed due to two years of inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!

@nextjs-bot nextjs-bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants