Skip to content

Commit 7f3719d

Browse files
committed
add revision number for startWorkflowExecution so that child workflows can use them
1 parent bb50066 commit 7f3719d

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

openapi/openapiv2.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8846,6 +8846,11 @@
88468846
"eagerWorkerDeploymentOptions": {
88478847
"$ref": "#/definitions/v1WorkerDeploymentOptions",
88488848
"description": "Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`."
8849+
},
8850+
"taskDispatchRevisionNumber": {
8851+
"type": "string",
8852+
"format": "int64",
8853+
"description": "TODO (Shivam): Add a helpful commment here."
88498854
}
88508855
}
88518856
},
@@ -15174,6 +15179,11 @@
1517415179
"eagerWorkerDeploymentOptions": {
1517515180
"$ref": "#/definitions/v1WorkerDeploymentOptions",
1517615181
"description": "Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`."
15182+
},
15183+
"taskDispatchRevisionNumber": {
15184+
"type": "string",
15185+
"format": "int64",
15186+
"description": "TODO (Shivam): Add a helpful commment here."
1517715187
}
1517815188
}
1517915189
},

openapi/openapiv3.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12194,6 +12194,9 @@ components:
1219412194
allOf:
1219512195
- $ref: '#/components/schemas/WorkerDeploymentOptions'
1219612196
description: Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`.
12197+
taskDispatchRevisionNumber:
12198+
type: string
12199+
description: 'TODO (Shivam): Add a helpful commment here.'
1219712200
StartWorkflowExecutionResponse:
1219812201
type: object
1219912202
properties:

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ message StartWorkflowExecutionRequest {
196196
temporal.api.common.v1.Priority priority = 27;
197197
// Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`.
198198
temporal.api.deployment.v1.WorkerDeploymentOptions eager_worker_deployment_options = 28;
199+
// TODO (Shivam): Add a helpful commment here.
200+
int64 task_dispatch_revision_number = 29;
199201
}
200202

201203
message StartWorkflowExecutionResponse {

0 commit comments

Comments
 (0)