From 78079f5d28862d583ea5bdab57f8725c49449b35 Mon Sep 17 00:00:00 2001 From: Stephan Behnke Date: Fri, 27 Mar 2026 11:06:01 -0700 Subject: [PATCH 1/2] Add identity to TerminatedFailureInfo --- openapi/openapiv2.json | 8 +++++++- openapi/openapiv3.yaml | 5 ++++- temporal/api/failure/v1/message.proto | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index d2ffdad75..e301b62e7 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -16887,7 +16887,13 @@ "type": "object" }, "v1TerminatedFailureInfo": { - "type": "object" + "type": "object", + "properties": { + "identity": { + "type": "string", + "description": "The identity of the worker or client that requested the termination." + } + } }, "v1TimeSkippingConfig": { "type": "object", diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 418ea1ba7..5a6f5ac50 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -14957,7 +14957,10 @@ components: properties: {} TerminatedFailureInfo: type: object - properties: {} + properties: + identity: + type: string + description: The identity of the worker or client that requested the termination. TimeSkippingConfig: type: object properties: diff --git a/temporal/api/failure/v1/message.proto b/temporal/api/failure/v1/message.proto index fa17872a6..b5954c442 100644 --- a/temporal/api/failure/v1/message.proto +++ b/temporal/api/failure/v1/message.proto @@ -38,6 +38,8 @@ message CanceledFailureInfo { } message TerminatedFailureInfo { + // The identity of the worker or client that requested the termination. + string identity = 1; } message ServerFailureInfo { From d81e63cd5d5422c15491184241e3f521b21bb2c4 Mon Sep 17 00:00:00 2001 From: Stephan Behnke Date: Mon, 30 Mar 2026 12:44:02 -0700 Subject: [PATCH 2/2] add CanceledFailureInfo --- openapi/openapiv2.json | 4 ++++ openapi/openapiv3.yaml | 3 +++ temporal/api/failure/v1/message.proto | 2 ++ 3 files changed, 9 insertions(+) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index e301b62e7..04339f72a 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -12162,6 +12162,10 @@ "properties": { "details": { "$ref": "#/definitions/v1Payloads" + }, + "identity": { + "type": "string", + "description": "The identity of the worker or client that requested the cancellation." } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 5a6f5ac50..d571ed376 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -9144,6 +9144,9 @@ components: properties: details: $ref: '#/components/schemas/Payloads' + identity: + type: string + description: The identity of the worker or client that requested the cancellation. ChildWorkflowExecutionCanceledEventAttributes: type: object properties: diff --git a/temporal/api/failure/v1/message.proto b/temporal/api/failure/v1/message.proto index b5954c442..a8634dc93 100644 --- a/temporal/api/failure/v1/message.proto +++ b/temporal/api/failure/v1/message.proto @@ -35,6 +35,8 @@ message TimeoutFailureInfo { message CanceledFailureInfo { temporal.api.common.v1.Payloads details = 1; + // The identity of the worker or client that requested the cancellation. + string identity = 2; } message TerminatedFailureInfo {