-
Notifications
You must be signed in to change notification settings - Fork 917
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
Messages protocol implementation #3843
Messages protocol implementation #3843
Conversation
newWorkflowTaskType := enumsspb.WORKFLOW_TASK_TYPE_UNSPECIFIED | ||
if ms.IsWorkflowExecutionRunning() && (hasBufferedEvents || request.GetForceCreateNewWorkflowTask() || activityNotStartedCancelled) { | ||
newWorkflowTaskType = enumsspb.WORKFLOW_TASK_TYPE_NORMAL | ||
} | ||
createNewWorkflowTask := newWorkflowTaskType != enumsspb.WORKFLOW_TASK_TYPE_UNSPECIFIED | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block looks little weird but there are more cases to come in #3822.
|
||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will have real code in #3822.
|
||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will have real code in #3822.
1011173
to
bc4ec00
Compare
What changed?
Messages protocol implementation.
Corresponding API changes: temporalio/api#253.
Why?
The protocol is used by upcoming synchronous workflow update feature: #3822.
How did you test it?
Integration tests in #3822.
Potential risks
No risks.
Is hotfix candidate?
No.