From d6d0a9921a4bc11d6f745c7b6b67551175c78214 Mon Sep 17 00:00:00 2001 From: Alex Shtin Date: Thu, 14 Nov 2024 16:21:05 -0800 Subject: [PATCH] Deprecate history field --- openapi/openapiv2.json | 4 ++++ openapi/openapiv3.yaml | 3 +++ temporal/api/history/v1/message.proto | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index cba6551a..00105299 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -12158,6 +12158,10 @@ "$ref": "#/definitions/v1Header", "description": "Headers that were passed by the sender of the signal and copied by temporal \nserver into the workflow task." }, + "skipGenerateWorkflowTask": { + "type": "boolean", + "description": "This field is deprecated and never respected. It should always be set to false." + }, "externalWorkflowExecution": { "$ref": "#/definitions/v1WorkflowExecution", "description": "When signal origin is a workflow execution, this field is set." diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 8c980bbd..484c584f 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -9682,6 +9682,9 @@ components: allOf: - $ref: '#/components/schemas/Header' description: "Headers that were passed by the sender of the signal and copied by temporal \n server into the workflow task." + skipGenerateWorkflowTask: + type: boolean + description: This field is deprecated and never respected. It should always be set to false. externalWorkflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' diff --git a/temporal/api/history/v1/message.proto b/temporal/api/history/v1/message.proto index 7cc0f5c1..af7901fe 100644 --- a/temporal/api/history/v1/message.proto +++ b/temporal/api/history/v1/message.proto @@ -472,7 +472,8 @@ message WorkflowExecutionSignaledEventAttributes { // Headers that were passed by the sender of the signal and copied by temporal // server into the workflow task. temporal.api.common.v1.Header header = 4; - reserved 5; + // This field is deprecated and never respected. It should always be set to false. + bool skip_generate_workflow_task = 5 [deprecated = true]; // When signal origin is a workflow execution, this field is set. temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6; }