-
Notifications
You must be signed in to change notification settings - Fork 95
remove reset_heartbeats field in ResetActivityExecutionRequest #820
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2386,24 +2386,20 @@ message ResetActivityExecutionRequest { | |
| // The identity of the client who initiated this request. | ||
| string identity = 5; | ||
|
|
||
| // Indicates that activity should reset heartbeat details. | ||
| // This flag will be applied only to the new instance of the activity. | ||
| bool reset_heartbeat = 6; | ||
|
|
||
| // If activity is paused, it will remain paused after reset | ||
| bool keep_paused = 7; | ||
| bool keep_paused = 6; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm assuming swapping is ok if no one uses this API?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree it's OK to renumber: |
||
|
|
||
| // If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. | ||
| // (unless it is paused and keep_paused is set) | ||
| google.protobuf.Duration jitter = 8; | ||
| google.protobuf.Duration jitter = 7; | ||
|
|
||
| // If set, the activity options will be restored to the defaults. | ||
| // Default options are then options activity was created with. | ||
| // They are part of the first schedule event. | ||
| bool restore_original_options = 9; | ||
| bool restore_original_options = 8; | ||
|
|
||
| // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. | ||
| string resource_id = 10; | ||
| string resource_id = 9; | ||
| } | ||
|
|
||
| // Deprecated. Use `ResetActivityExecutionRequest`. | ||
|
|
||
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.
if we did my above comment, I don't think we need this
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.
Agree we can swap, but since this has never been used server side I think it is cleaner to remove