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

Add continued_failure and last_completion_result to StartWorkflowExecution #262

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

dnr
Copy link
Member

@dnr dnr commented Feb 10, 2023

What changed?
Allow these two fields to be set on new workflows at the frontend api level.

Why?
For the schedule feature, we need to be able to set these, but also want the rpc to go through the frontend. They don't have to be exposed anywhere else.

Breaking changes
No

@Quinn-With-Two-Ns
Copy link
Contributor

For the schedule feature, we need to be able to set these, but also want the rpc to go through the frontend. They don't have to be exposed anywhere else.
I am probably missing some context, but if they are needed how does the current schedules feature work?

@dnr
Copy link
Member Author

dnr commented Feb 10, 2023

For the schedule feature, we need to be able to set these, but also want the rpc to go through the frontend. They don't have to be exposed anywhere else.
I am probably missing some context, but if they are needed how does the current schedules feature work?

It works because it goes direct to history, but we want to change it to go through frontend, so we need to be able to set them in the frontend request

Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

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

The fields could use a description despite being meant for internal use, otherwise lgtm.

@@ -174,6 +174,9 @@ message StartWorkflowExecutionRequest {
// The returned task will be marked as started and is expected to be completed by the specified
// `workflow_task_timeout`.
bool request_eager_execution = 17;
// These two fields are intended for internal use only.
Copy link
Member

Choose a reason for hiding this comment

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

Still worth to put some comments here.

@dnr dnr merged commit 65015c0 into temporalio:master Feb 10, 2023
@dnr dnr deleted the sched40 branch February 10, 2023 06:20
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.

None yet

4 participants