Skip to content

Commit d7d9fce

Browse files
committed
Add identity to TerminatedFailureInfo
1 parent 2547d30 commit d7d9fce

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

openapi/openapiv2.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16276,7 +16276,13 @@
1627616276
"type": "object"
1627716277
},
1627816278
"v1TerminatedFailureInfo": {
16279-
"type": "object"
16279+
"type": "object",
16280+
"properties": {
16281+
"identity": {
16282+
"type": "string",
16283+
"description": "The identity of the worker or client that requested the termination."
16284+
}
16285+
}
1628016286
},
1628116287
"v1TimeoutFailureInfo": {
1628216288
"type": "object",

openapi/openapiv3.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14435,7 +14435,10 @@ components:
1443514435
properties: {}
1443614436
TerminatedFailureInfo:
1443714437
type: object
14438-
properties: {}
14438+
properties:
14439+
identity:
14440+
type: string
14441+
description: The identity of the worker or client that requested the termination.
1443914442
TimeoutFailureInfo:
1444014443
type: object
1444114444
properties:

temporal/api/failure/v1/message.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ message CanceledFailureInfo {
3838
}
3939

4040
message TerminatedFailureInfo {
41+
// The identity of the worker or client that requested the termination.
42+
string identity = 1;
4143
}
4244

4345
message ServerFailureInfo {

0 commit comments

Comments
 (0)