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

IWF-138: Add stateId and waitForKey to WorkflowWaitForStateCompletion #440

Merged
merged 4 commits into from
Oct 8, 2024

Conversation

lwolczynski
Copy link
Contributor

@lwolczynski lwolczynski commented Oct 4, 2024

Closes #410

@lwolczynski lwolczynski changed the title Draft: IWF-138: Add stateId to WorkflowWaitForStateCompletion IWF-138: Add stateId to WorkflowWaitForStateCompletion Oct 4, 2024
@lwolczynski lwolczynski changed the title IWF-138: Add stateId to WorkflowWaitForStateCompletion Draft: IWF-138: Add stateId to WorkflowWaitForStateCompletion Oct 4, 2024
@longquanzheng
Copy link
Contributor

We also need to change the workflow code to signalWithStart the right one

@lwolczynski lwolczynski changed the title Draft: IWF-138: Add stateId to WorkflowWaitForStateCompletion IWF-138: Add stateId to WorkflowWaitForStateCompletion Oct 4, 2024
@longquanzheng longquanzheng changed the title IWF-138: Add stateId to WorkflowWaitForStateCompletion IWF-138: Add stateId and waitForKey to WorkflowWaitForStateCompletion Oct 7, 2024
}
assertions.Equal("S1-1", output.StateCompletionOutput.CompletedStateExecutionId)

assertions2 := assert.New(t)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: what happened to assertion 1? I believe we can reuse it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. Fixed

@lwolczynski lwolczynski merged commit 3db7524 into main Oct 8, 2024
6 checks passed
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.

allow using a different number or string key to replace the state execution number for waiting
2 participants