Skip to content

Conversation

@cretz
Copy link
Member

@cretz cretz commented Jul 12, 2024

What was changed

  • Added WorkflowOptions.IdConflictPolicy and test

Checklist

  1. Closes Support for WorkflowIdConflictPolicy #217

@cretz cretz requested a review from a team July 12, 2024 16:11
@cretz cretz force-pushed the workflow-id-conflict-policy branch from c9c5f7c to f2b93ce Compare July 12, 2024 16:17
@cretz cretz force-pushed the workflow-id-conflict-policy branch from f2b93ce to 42e1141 Compare July 12, 2024 16:18
Comment on lines +67 to +68
/// <see cref="WorkflowIdConflictPolicy.Unspecified" /> which effectively means
/// <see cref="WorkflowIdConflictPolicy.Fail"/> on the server. If this value is set, then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as Python. Maybe we just want to default to FAIL explicitly?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Discussed at temporalio/sdk-python#579 (comment) (basically it's unfortunate but required)

@cretz cretz merged commit fa3867e into temporalio:main Jul 12, 2024
@cretz cretz deleted the workflow-id-conflict-policy branch July 12, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for WorkflowIdConflictPolicy

2 participants