Next.js Discord

Discord Forum

Upgrading to Next 14 causes Temporal workflows to break

Unanswered
Northeast Congo Lion posted this in #help-forum
Open in Discord
Northeast Congo LionOP
Hi there. I'm trying to upgrade our Next app from 13 to 14. We run on the pages router, and use Temporal to run background jobs.

It seems like something changed between 13.5.6 and 14.2.4 causing the workflow type name to be N, rather than the name of the workflow being called (in our case we pass a workflow function rather than the name, but this shows on the Temporal UI as the name of the function). The rest of the payload seems to be correct otherwise.

I've tried to add @temporalio/client to serverComponentsExternalPackages, but no luck there. Anyone use Temporal that has seen this sort of behavior before? Happy to provide whatever information might be useful

0 Replies