Skip to content

Revert "Fix tracing of server actions imported by client components (#78968) #35

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

Closed
wants to merge 2 commits into from

Conversation

austinderek
Copy link
Owner

It seems these additional fs operations/transforms on client components while tracing dependencies is causing a big perf hit which is not worth the edge case of catching fs dependencies in server actions from client components.

A workaround is available without our automatic tracing via outputFileTracingIncludes so this reverts the tracing to alleviate the perf concern.

We will be able to handle cases like this without the perf consequence with turbopack going forward.

This reverts commit af0473b.

Closes: vercel#81902


🔄 This is a mirror of upstream PR #82161

ijjk added 2 commits July 29, 2025 09:46
…ercel#78968)"

This reverts commit af0473b.

# Conflicts:
#	test/e2e/app-dir/actions/app-action.test.ts
Copy link

staging bot commented Jul 30, 2025

✅ This pull request was succesfully scanned and it was determined that it does not contain any changes that present immediate security concerns. If you would still like for it to be reviewed by an expert from our reviewer community, you can submit it manually via the HackerOne PullRequest dashboard.

⏱️ Latest scan covered changes up to commit 2fbb6cc (latest)

@austinderek austinderek deleted the ijjk/revert-server-actions-trace branch July 30, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants