Think about how to best implement workflow versioning with the Node SDK - this will take some time to understand if there's anything in the same vein as source generators available in this space as I'd really rather not take the approach done in the .NET SDKs here.
Here's the PR for .NET: dapr/dotnet-sdk#1700
Design Considerations
- How version is encoded in the workflow type name (e.g., myWorkflow::v2 vs metadata)
- Whether version selection is per-instance or global (latest-wins)
- Interaction with the Dapr sidecar's workflow type registry
- How to handle the case where an in-flight instance's version is no longer registered (results in a
Stalled state from the runtime)
Acceptance Criteria
Think about how to best implement workflow versioning with the Node SDK - this will take some time to understand if there's anything in the same vein as source generators available in this space as I'd really rather not take the approach done in the .NET SDKs here.
Here's the PR for .NET: dapr/dotnet-sdk#1700
Design Considerations
Stalledstate from the runtime)Acceptance Criteria