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
5 changes: 5 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -12725,6 +12725,11 @@
"properties": {
"deploymentVersion": {
"$ref": "#/definitions/v1WorkerDeploymentVersion"
},
"revisionNumber": {
"type": "string",
"format": "int64",
"description": "Revision number of the task queue routing config at the time the target\nwas declined. If an incoming target's revision is <= this value, it is\nnot newer and is not used for deciding whether or not to suppress the\nupgrade signal."
}
},
"description": "Wrapper for a target deployment version that the SDK declined to upgrade to.\nSee declined_target_version_upgrade on WorkflowExecutionStartedEventAttributes."
Expand Down
7 changes: 7 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9762,6 +9762,13 @@ components:
properties:
deploymentVersion:
$ref: '#/components/schemas/WorkerDeploymentVersion'
revisionNumber:
type: string
description: |-
Revision number of the task queue routing config at the time the target
was declined. If an incoming target's revision is <= this value, it is
not newer and is not used for deciding whether or not to suppress the
upgrade signal.
description: |-
Wrapper for a target deployment version that the SDK declined to upgrade to.
See declined_target_version_upgrade on WorkflowExecutionStartedEventAttributes.
Expand Down
5 changes: 5 additions & 0 deletions temporal/api/history/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ message WorkflowExecutionStartedEventAttributes {
// See declined_target_version_upgrade on WorkflowExecutionStartedEventAttributes.
message DeclinedTargetVersionUpgrade {
temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 1;
// Revision number of the task queue routing config at the time the target
// was declined. If an incoming target's revision is <= this value, it is
// not newer and is not used for deciding whether or not to suppress the
// upgrade signal.
int64 revision_number = 2;
}

message WorkflowExecutionCompletedEventAttributes {
Expand Down
Loading