Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ breaking:
- WIRE_JSON
ignore:
- google
ignore_only:
# TODO(seankane): Remove these temporary breaking-change ignores after this PR merges.
FIELD_SAME_JSON_NAME:
- temporal/api/workflowservice/v1/request_response.proto
FIELD_SAME_NAME:
- temporal/api/workflowservice/v1/request_response.proto
FIELD_WIRE_JSON_COMPATIBLE_TYPE:
- temporal/api/workflowservice/v1/request_response.proto
FIELD_NO_DELETE_UNLESS_NAME_RESERVED:
- temporal/api/workflowservice/v1/request_response.proto
FIELD_NO_DELETE_UNLESS_NUMBER_RESERVED:
- temporal/api/workflowservice/v1/request_response.proto
lint:
use:
- DEFAULT
Expand Down
4 changes: 0 additions & 4 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11533,10 +11533,6 @@
"type": "string",
"description": "The identity of the client who initiated this request."
},
"resetHeartbeat": {
"type": "boolean",
"description": "Indicates that activity should reset heartbeat details.\nThis flag will be applied only to the new instance of the activity."
},
"keepPaused": {
"type": "boolean",
"title": "If activity is paused, it will remain paused after reset"
Expand Down
5 changes: 0 additions & 5 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14789,11 +14789,6 @@ components:
identity:
type: string
description: The identity of the client who initiated this request.
resetHeartbeat:
type: boolean
description: |-
Indicates that activity should reset heartbeat details.
This flag will be applied only to the new instance of the activity.
keepPaused:
type: boolean
description: If activity is paused, it will remain paused after reset
Expand Down
12 changes: 4 additions & 8 deletions temporal/api/workflowservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2328,24 +2328,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;

// 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`.
Expand Down
Loading