-
Notifications
You must be signed in to change notification settings - Fork 26.3k
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
Add @temporalio/client to server-external-packages #58573
base: canary
Are you sure you want to change the base?
Conversation
Hey @iamnafets it seems your branch doesn't allow maintainers to push to it, which means I can't update it to ensure the tests can run correctly. Could you:
|
@iamnafets It looks like this fell through the cracks. Is this something that still needs to be added? |
Yes! |
@@ -11,6 +11,7 @@ | |||
"@react-pdf/renderer", | |||
"@sentry/profiling-node", | |||
"@swc/core", | |||
"@temporalio/client", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be added in https://github.com/vercel/next.js/blob/canary/docs/02-app/02-api-reference/05-next-config-js/serverComponentsExternalPackages.mdx as well
What?
@temporalio/client uses reflection on constructor names and thus breaks. In temporalio/sdk-typescript#1279 they insist that the package should be configured as external to avoid these types of breakages.
Why?
Without this the package is broken in a very non-obvious way.
How?
By adding @temporalio/client to server-external-packages.json.