Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for workflow ID conflict policy #304

Merged
merged 1 commit into from
Jul 12, 2024

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
7 checks passed
@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