Closed stephanos closed 2 months ago
@stephanos - can you also make sure this is added for ScheduleWorkflowAction
?
@cretz I might be missing something, but when I looked at the schedule code I saw it's not using StartWorkflowOptions
anywhere and therefore doesn't have either WorkflowIdReusePolicy
or WorkflowIdConflictPolicy
fields?
My mistake, this is not needed, I was confusing with languages that reused common sets of start options.
What was changed
Added
WorkflowIdConflictPolicy
to ExecuteWorkflow and SignalWithStart.NOTE: I haven't seen any
WorkflowIdReusePolicy
validation inside oftestsuite.WorkflowTestSuite
(except for child workflows), so I didn't add any for theWorkflowIdConflictPolicy
either.Checklist
Closes https://github.com/temporalio/sdk-go/issues/1447