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

Refactor handler for workflowIdReusePolicy #5486

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

stephanos
Copy link
Contributor

@stephanos stephanos commented Mar 5, 2024

What changed?

  • clearer distinction between the behavior for closed and running workflows
  • name that isn't particular to workflowIdReusePolicy, but the more general issue of an "ID duplication"

Why?

Preparing for changes from temporalio/api#359 by pulling this refactor in early, reducing the size of the change later.

How did you test it?

Existing tests + added a test for Terminate-if-Running earlier in #5483.

Potential risks

Documentation

Is hotfix candidate?

@stephanos stephanos force-pushed the refactor-workflow-id-reuse branch 2 times, most recently from bb23225 to e7f57b5 Compare March 5, 2024 00:34
@stephanos stephanos closed this Mar 5, 2024
@stephanos stephanos reopened this Mar 5, 2024
@stephanos stephanos changed the title refactor handler for workflowIdReusePolicy Refactor handler for workflowIdReusePolicy Mar 5, 2024
@stephanos stephanos marked this pull request as ready for review March 5, 2024 21:41
@stephanos stephanos requested a review from a team as a code owner March 5, 2024 21:41
@stephanos stephanos marked this pull request as draft March 5, 2024 21:43
@stephanos stephanos marked this pull request as ready for review March 6, 2024 23:36
@stephanos stephanos enabled auto-merge (squash) March 7, 2024 16:25
@stephanos stephanos merged commit 20828dc into temporalio:main Mar 7, 2024
42 checks passed
stephanos added a commit to stephanos/temporal that referenced this pull request Mar 21, 2024
- clearer distinction between the behavior for closed and running
workflows
- name that isn't particular to workflowIdReusePolicy, but the more
general issue of an "ID duplication"

Preparing for changes from temporalio/api#359 by
pulling this refactor in early, reducing the size of the change later.

Existing tests + added a test for Terminate-if-Running earlier in
temporalio#5483.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
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.

2 participants