diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 0b643ceb7..a793da51c 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -22602,6 +22602,10 @@ "workerVersion": { "$ref": "#/definitions/v1WorkerVersionStamp", "title": "Version info of the worker who processed this workflow task. If present, the `build_id` field\nwithin is also used as `binary_checksum`, which may be omitted in that case (it may also be\npopulated to preserve compatibility).\nDeprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]" + }, + "resetRequestId": { + "type": "string", + "description": "The request ID of the public ResetWorkflowExecution request that created new_run_id.\nOnly set when cause is WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW. Used by the server\nto restore reset request deduplication when rebuilding state or replicating history.\nEmpty for internal resets and reset events written before this field was introduced." } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 2aa7c45bf..48531b276 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -21236,6 +21236,13 @@ components: within is also used as `binary_checksum`, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + resetRequestId: + type: string + description: |- + The request ID of the public ResetWorkflowExecution request that created new_run_id. + Only set when cause is WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW. Used by the server + to restore reset request deduplication when rebuilding state or replicating history. + Empty for internal resets and reset events written before this field was introduced. WorkflowTaskScheduledEventAttributes: type: object properties: diff --git a/temporal/api/history/v1/message.proto b/temporal/api/history/v1/message.proto index b40324d68..65e69e41d 100644 --- a/temporal/api/history/v1/message.proto +++ b/temporal/api/history/v1/message.proto @@ -415,6 +415,11 @@ message WorkflowTaskFailedEventAttributes { // populated to preserve compatibility). // Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] temporal.api.common.v1.WorkerVersionStamp worker_version = 10 [deprecated = true]; + // The request ID of the public ResetWorkflowExecution request that created new_run_id. + // Only set when cause is WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW. Used by the server + // to restore reset request deduplication when rebuilding state or replicating history. + // Empty for internal resets and reset events written before this field was introduced. + string reset_request_id = 11; } message ActivityTaskScheduledEventAttributes {