Similar to:
What happens if you try to change the inputs to a workflow, like adding a new parameter? Clearly, you need to add a version check since the new parameter is used somewhere in the workflow, but what about the workflow parameter itself?
Imagine func SomeFunc(workflow.Context) becomes func SomeFunc(workflow.Context, bool). What happens during the deployment process if:
- we still have old pods trying to execute SomeFunc(ctx), and there’s still some pods registered with that
- and there’s some new pods with SomeFunc(ctx, bool) and other executions with SomeFunc(ctx, bool)?