From dc3fc7fad1b4d9cd2dfe6d330cd5d58ec09def2a Mon Sep 17 00:00:00 2001 From: Fred Tzeng Date: Wed, 29 Jul 2026 13:30:28 -0700 Subject: [PATCH 1/5] Add request IDs to activity update, unpause, and reset --- openapi/openapiv2.json | 28 ++++++++++---- openapi/openapiv3.yaml | 38 +++++++++++++++---- .../workflowservice/v1/request_response.proto | 33 ++++++++++++---- 3 files changed, 75 insertions(+), 24 deletions(-) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 2fb4fd307..3544788b0 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -11633,7 +11633,7 @@ "properties": { "runId": { "type": "string", - "description": "Run ID of the workflow or standalone activity." + "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run.\nFor standalone activities, specify a run ID to avoid retrying a different\nexecution when the activity ID is reused." }, "identity": { "type": "string", @@ -11649,7 +11649,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe pause requests." + "description": "Used to de-dupe pause requests within the targeted execution." } } }, @@ -11775,7 +11775,7 @@ "properties": { "runId": { "type": "string", - "description": "Activity run ID, targets the latest run if run_id is empty." + "description": "Activity run ID. If empty, targets the latest run.\nSpecify a run ID to avoid retrying a different execution when the activity ID is reused." }, "identity": { "type": "string", @@ -11783,7 +11783,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe cancellation requests." + "description": "Used to de-dupe cancellation requests within the targeted activity execution." }, "reason": { "type": "string", @@ -11897,7 +11897,7 @@ "properties": { "runId": { "type": "string", - "description": "Run ID of the workflow or standalone activity." + "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run.\nFor standalone activities, specify a run ID to avoid retrying a different\nexecution when the activity ID is reused." }, "identity": { "type": "string", @@ -11918,6 +11918,10 @@ "resourceId": { "type": "string", "description": "Resource ID for routing. Contains \"workflow:{workflow_id}\" for workflow activities or \"activity:{activity_id}\" for standalone activities." + }, + "requestId": { + "type": "string", + "description": "Used to de-dupe reset requests within the targeted execution." } } }, @@ -12761,7 +12765,7 @@ "properties": { "runId": { "type": "string", - "description": "Activity run ID, targets the latest run if run_id is empty." + "description": "Activity run ID. If empty, targets the latest run.\nSpecify a run ID to avoid retrying a different execution when the activity ID is reused." }, "identity": { "type": "string", @@ -12769,7 +12773,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe termination requests." + "description": "Used to de-dupe termination requests within the targeted activity execution." }, "reason": { "type": "string", @@ -12928,6 +12932,10 @@ "resourceId": { "type": "string", "description": "Resource ID for routing. Contains \"workflow:{workflow_id}\" for workflow activities or \"activity:{activity_id}\" for standalone activities." + }, + "requestId": { + "type": "string", + "description": "Used to de-dupe unpause requests within the targeted execution." } } }, @@ -12957,7 +12965,7 @@ "properties": { "runId": { "type": "string", - "description": "Run ID of the workflow or standalone activity." + "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run.\nFor standalone activities, specify a run ID to avoid retrying a different\nexecution when the activity ID is reused." }, "identity": { "type": "string", @@ -12978,6 +12986,10 @@ "resourceId": { "type": "string", "description": "Resource ID for routing. Contains \"workflow:{workflow_id}\" for workflow activities or \"activity:{activity_id}\" for standalone activities." + }, + "requestId": { + "type": "string", + "description": "Used to de-dupe update requests within the targeted execution." } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index f15bc0a12..4e58198b8 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -14118,7 +14118,10 @@ components: description: The ID of the activity to target. runId: type: string - description: Run ID of the workflow or standalone activity. + description: |- + Run ID of the workflow or standalone activity. If empty, targets the latest run. + For standalone activities, specify a run ID to avoid retrying a different + execution when the activity ID is reused. identity: type: string description: The identity of the client who initiated this request. @@ -14130,7 +14133,7 @@ components: description: Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. requestId: type: string - description: Used to de-dupe pause requests. + description: Used to de-dupe pause requests within the targeted execution. PauseActivityExecutionResponse: type: object properties: {} @@ -15134,13 +15137,15 @@ components: type: string runId: type: string - description: Activity run ID, targets the latest run if run_id is empty. + description: |- + Activity run ID. If empty, targets the latest run. + Specify a run ID to avoid retrying a different execution when the activity ID is reused. identity: type: string description: The identity of the worker/client. requestId: type: string - description: Used to de-dupe cancellation requests. + description: Used to de-dupe cancellation requests within the targeted activity execution. reason: type: string description: |- @@ -15354,7 +15359,10 @@ components: description: The ID of the activity to target. runId: type: string - description: Run ID of the workflow or standalone activity. + description: |- + Run ID of the workflow or standalone activity. If empty, targets the latest run. + For standalone activities, specify a run ID to avoid retrying a different + execution when the activity ID is reused. identity: type: string description: The identity of the client who initiated this request. @@ -15376,6 +15384,9 @@ components: resourceId: type: string description: Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. + requestId: + type: string + description: Used to de-dupe reset requests within the targeted execution. ResetActivityExecutionResponse: type: object properties: {} @@ -17714,13 +17725,15 @@ components: type: string runId: type: string - description: Activity run ID, targets the latest run if run_id is empty. + description: |- + Activity run ID. If empty, targets the latest run. + Specify a run ID to avoid retrying a different execution when the activity ID is reused. identity: type: string description: The identity of the worker/client. requestId: type: string - description: Used to de-dupe termination requests. + description: Used to de-dupe termination requests within the targeted activity execution. reason: type: string description: Reason for requesting the termination, recorded in in the activity's result failure outcome. @@ -17997,6 +18010,9 @@ components: resourceId: type: string description: Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. + requestId: + type: string + description: Used to de-dupe unpause requests within the targeted execution. UnpauseActivityExecutionResponse: type: object properties: {} @@ -18078,7 +18094,10 @@ components: description: The ID of the activity to target. runId: type: string - description: Run ID of the workflow or standalone activity. + description: |- + Run ID of the workflow or standalone activity. If empty, targets the latest run. + For standalone activities, specify a run ID to avoid retrying a different + execution when the activity ID is reused. identity: type: string description: The identity of the client who initiated this request @@ -18101,6 +18120,9 @@ components: resourceId: type: string description: Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. + requestId: + type: string + description: Used to de-dupe update requests within the targeted execution. UpdateActivityExecutionOptionsResponse: type: object properties: diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index 66f478c5c..d3e146359 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -2183,7 +2183,9 @@ message UpdateActivityExecutionOptionsRequest { string workflow_id = 2; // The ID of the activity to target. string activity_id = 3; - // Run ID of the workflow or standalone activity. + // Run ID of the workflow or standalone activity. If empty, targets the latest run. + // For standalone activities, specify a run ID to avoid retrying a different + // execution when the activity ID is reused. string run_id = 4; // The identity of the client who initiated this request @@ -2204,6 +2206,9 @@ message UpdateActivityExecutionOptionsRequest { // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. string resource_id = 9; + + // Used to de-dupe update requests within the targeted execution. + string request_id = 10; } // Deprecated. Use `UpdateActivityExecutionOptionsResponse`. @@ -2253,7 +2258,9 @@ message PauseActivityExecutionRequest { string workflow_id = 2; // The ID of the activity to target. string activity_id = 3; - // Run ID of the workflow or standalone activity. + // Run ID of the workflow or standalone activity. If empty, targets the latest run. + // For standalone activities, specify a run ID to avoid retrying a different + // execution when the activity ID is reused. string run_id = 4; // The identity of the client who initiated this request. @@ -2265,7 +2272,7 @@ message PauseActivityExecutionRequest { // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. string resource_id = 7; - // Used to de-dupe pause requests. + // Used to de-dupe pause requests within the targeted execution. string request_id = 8; } @@ -2335,6 +2342,9 @@ message UnpauseActivityExecutionRequest { // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. string resource_id = 10; + + // Used to de-dupe unpause requests within the targeted execution. + string request_id = 11; } // Deprecated. Use `UnpauseActivityExecutionResponse`. @@ -2391,7 +2401,9 @@ message ResetActivityExecutionRequest { string workflow_id = 2; // The ID of the activity to target. string activity_id = 3; - // Run ID of the workflow or standalone activity. + // Run ID of the workflow or standalone activity. If empty, targets the latest run. + // For standalone activities, specify a run ID to avoid retrying a different + // execution when the activity ID is reused. string run_id = 4; // The identity of the client who initiated this request. @@ -2411,6 +2423,9 @@ message ResetActivityExecutionRequest { // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. string resource_id = 9; + + // Used to de-dupe reset requests within the targeted execution. + string request_id = 10; } // Deprecated. Use `ResetActivityExecutionRequest`. @@ -3553,11 +3568,12 @@ message CountNexusOperationExecutionsResponse { message RequestCancelActivityExecutionRequest { string namespace = 1; string activity_id = 2; - // Activity run ID, targets the latest run if run_id is empty. + // Activity run ID. If empty, targets the latest run. + // Specify a run ID to avoid retrying a different execution when the activity ID is reused. string run_id = 3; // The identity of the worker/client. string identity = 4; - // Used to de-dupe cancellation requests. + // Used to de-dupe cancellation requests within the targeted activity execution. string request_id = 5; // Reason for requesting the cancellation, recorded and available via the PollActivityExecution API. // Not propagated to a worker if an activity attempt is currently running. @@ -3570,11 +3586,12 @@ message RequestCancelActivityExecutionResponse { message TerminateActivityExecutionRequest { string namespace = 1; string activity_id = 2; - // Activity run ID, targets the latest run if run_id is empty. + // Activity run ID. If empty, targets the latest run. + // Specify a run ID to avoid retrying a different execution when the activity ID is reused. string run_id = 3; // The identity of the worker/client. string identity = 4; - // Used to de-dupe termination requests. + // Used to de-dupe termination requests within the targeted activity execution. string request_id = 5; // Reason for requesting the termination, recorded in in the activity's result failure outcome. string reason = 6; From a3d77b8a485ddf20139fb46427afc08cf37e1a69 Mon Sep 17 00:00:00 2001 From: Fred Tzeng Date: Wed, 29 Jul 2026 14:40:33 -0700 Subject: [PATCH 2/5] Address PR comments --- .../workflowservice/v1/request_response.proto | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index d3e146359..bfa7f8c2a 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -2184,8 +2184,6 @@ message UpdateActivityExecutionOptionsRequest { // The ID of the activity to target. string activity_id = 3; // Run ID of the workflow or standalone activity. If empty, targets the latest run. - // For standalone activities, specify a run ID to avoid retrying a different - // execution when the activity ID is reused. string run_id = 4; // The identity of the client who initiated this request @@ -2207,7 +2205,7 @@ message UpdateActivityExecutionOptionsRequest { // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. string resource_id = 9; - // Used to de-dupe update requests within the targeted execution. + // Used to de-dupe update requests. string request_id = 10; } @@ -2259,8 +2257,6 @@ message PauseActivityExecutionRequest { // The ID of the activity to target. string activity_id = 3; // Run ID of the workflow or standalone activity. If empty, targets the latest run. - // For standalone activities, specify a run ID to avoid retrying a different - // execution when the activity ID is reused. string run_id = 4; // The identity of the client who initiated this request. @@ -2272,7 +2268,7 @@ message PauseActivityExecutionRequest { // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. string resource_id = 7; - // Used to de-dupe pause requests within the targeted execution. + // Used to de-dupe pause requests. string request_id = 8; } @@ -2322,7 +2318,7 @@ message UnpauseActivityExecutionRequest { string workflow_id = 2; // The ID of the activity to target. string activity_id = 3; - // Run ID of the workflow or standalone activity. + // Run ID of the workflow or standalone activity. If empty, targets the latest run. string run_id = 4; // The identity of the client who initiated this request. @@ -2343,7 +2339,7 @@ message UnpauseActivityExecutionRequest { // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. string resource_id = 10; - // Used to de-dupe unpause requests within the targeted execution. + // Used to de-dupe unpause requests. string request_id = 11; } @@ -2402,8 +2398,6 @@ message ResetActivityExecutionRequest { // The ID of the activity to target. string activity_id = 3; // Run ID of the workflow or standalone activity. If empty, targets the latest run. - // For standalone activities, specify a run ID to avoid retrying a different - // execution when the activity ID is reused. string run_id = 4; // The identity of the client who initiated this request. @@ -2424,7 +2418,7 @@ message ResetActivityExecutionRequest { // Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. string resource_id = 9; - // Used to de-dupe reset requests within the targeted execution. + // Used to de-dupe reset requests. string request_id = 10; } From bbac65ade5e572fba45d6f297e7c39f9ff6e48ad Mon Sep 17 00:00:00 2001 From: Fred Tzeng Date: Wed, 29 Jul 2026 14:43:44 -0700 Subject: [PATCH 3/5] regen api --- openapi/openapiv2.json | 16 ++++++++-------- openapi/openapiv3.yaml | 25 ++++++++----------------- 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 3544788b0..a2a88f9ef 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -11633,7 +11633,7 @@ "properties": { "runId": { "type": "string", - "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run.\nFor standalone activities, specify a run ID to avoid retrying a different\nexecution when the activity ID is reused." + "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run." }, "identity": { "type": "string", @@ -11649,7 +11649,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe pause requests within the targeted execution." + "description": "Used to de-dupe pause requests." } } }, @@ -11897,7 +11897,7 @@ "properties": { "runId": { "type": "string", - "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run.\nFor standalone activities, specify a run ID to avoid retrying a different\nexecution when the activity ID is reused." + "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run." }, "identity": { "type": "string", @@ -11921,7 +11921,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe reset requests within the targeted execution." + "description": "Used to de-dupe reset requests." } } }, @@ -12907,7 +12907,7 @@ "properties": { "runId": { "type": "string", - "description": "Run ID of the workflow or standalone activity." + "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run." }, "identity": { "type": "string", @@ -12935,7 +12935,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe unpause requests within the targeted execution." + "description": "Used to de-dupe unpause requests." } } }, @@ -12965,7 +12965,7 @@ "properties": { "runId": { "type": "string", - "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run.\nFor standalone activities, specify a run ID to avoid retrying a different\nexecution when the activity ID is reused." + "description": "Run ID of the workflow or standalone activity. If empty, targets the latest run." }, "identity": { "type": "string", @@ -12989,7 +12989,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe update requests within the targeted execution." + "description": "Used to de-dupe update requests." } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 4e58198b8..a7b4fec3f 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -14118,10 +14118,7 @@ components: description: The ID of the activity to target. runId: type: string - description: |- - Run ID of the workflow or standalone activity. If empty, targets the latest run. - For standalone activities, specify a run ID to avoid retrying a different - execution when the activity ID is reused. + description: Run ID of the workflow or standalone activity. If empty, targets the latest run. identity: type: string description: The identity of the client who initiated this request. @@ -14133,7 +14130,7 @@ components: description: Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. requestId: type: string - description: Used to de-dupe pause requests within the targeted execution. + description: Used to de-dupe pause requests. PauseActivityExecutionResponse: type: object properties: {} @@ -15359,10 +15356,7 @@ components: description: The ID of the activity to target. runId: type: string - description: |- - Run ID of the workflow or standalone activity. If empty, targets the latest run. - For standalone activities, specify a run ID to avoid retrying a different - execution when the activity ID is reused. + description: Run ID of the workflow or standalone activity. If empty, targets the latest run. identity: type: string description: The identity of the client who initiated this request. @@ -15386,7 +15380,7 @@ components: description: Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. requestId: type: string - description: Used to de-dupe reset requests within the targeted execution. + description: Used to de-dupe reset requests. ResetActivityExecutionResponse: type: object properties: {} @@ -17990,7 +17984,7 @@ components: description: The ID of the activity to target. runId: type: string - description: Run ID of the workflow or standalone activity. + description: Run ID of the workflow or standalone activity. If empty, targets the latest run. identity: type: string description: The identity of the client who initiated this request. @@ -18012,7 +18006,7 @@ components: description: Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. requestId: type: string - description: Used to de-dupe unpause requests within the targeted execution. + description: Used to de-dupe unpause requests. UnpauseActivityExecutionResponse: type: object properties: {} @@ -18094,10 +18088,7 @@ components: description: The ID of the activity to target. runId: type: string - description: |- - Run ID of the workflow or standalone activity. If empty, targets the latest run. - For standalone activities, specify a run ID to avoid retrying a different - execution when the activity ID is reused. + description: Run ID of the workflow or standalone activity. If empty, targets the latest run. identity: type: string description: The identity of the client who initiated this request @@ -18122,7 +18113,7 @@ components: description: Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities. requestId: type: string - description: Used to de-dupe update requests within the targeted execution. + description: Used to de-dupe update requests. UpdateActivityExecutionOptionsResponse: type: object properties: From c1dfa8c3df44ee8a3aef27a22911bdfc4908bffc Mon Sep 17 00:00:00 2001 From: Fred Tzeng Date: Wed, 29 Jul 2026 16:20:03 -0700 Subject: [PATCH 4/5] shorten comment --- openapi/openapiv2.json | 4 ++-- openapi/openapiv3.yaml | 4 ++-- temporal/api/workflowservice/v1/request_response.proto | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index a2a88f9ef..9f4fa4eab 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -11783,7 +11783,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe cancellation requests within the targeted activity execution." + "description": "Used to de-dupe cancellation requests." }, "reason": { "type": "string", @@ -12773,7 +12773,7 @@ }, "requestId": { "type": "string", - "description": "Used to de-dupe termination requests within the targeted activity execution." + "description": "Used to de-dupe termination requests." }, "reason": { "type": "string", diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index a7b4fec3f..dd844cee3 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -15142,7 +15142,7 @@ components: description: The identity of the worker/client. requestId: type: string - description: Used to de-dupe cancellation requests within the targeted activity execution. + description: Used to de-dupe cancellation requests. reason: type: string description: |- @@ -17727,7 +17727,7 @@ components: description: The identity of the worker/client. requestId: type: string - description: Used to de-dupe termination requests within the targeted activity execution. + description: Used to de-dupe termination requests. reason: type: string description: Reason for requesting the termination, recorded in in the activity's result failure outcome. diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index bfa7f8c2a..e70b891d3 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -3567,7 +3567,7 @@ message RequestCancelActivityExecutionRequest { string run_id = 3; // The identity of the worker/client. string identity = 4; - // Used to de-dupe cancellation requests within the targeted activity execution. + // Used to de-dupe cancellation requests. string request_id = 5; // Reason for requesting the cancellation, recorded and available via the PollActivityExecution API. // Not propagated to a worker if an activity attempt is currently running. @@ -3585,7 +3585,7 @@ message TerminateActivityExecutionRequest { string run_id = 3; // The identity of the worker/client. string identity = 4; - // Used to de-dupe termination requests within the targeted activity execution. + // Used to de-dupe termination requests. string request_id = 5; // Reason for requesting the termination, recorded in in the activity's result failure outcome. string reason = 6; From d9286b5f017865e9b010664b577dc065b6217aa6 Mon Sep 17 00:00:00 2001 From: Fred Tzeng Date: Thu, 30 Jul 2026 10:55:54 -0700 Subject: [PATCH 5/5] comment cleanup --- openapi/openapiv2.json | 4 ++-- openapi/openapiv3.yaml | 8 ++------ temporal/api/workflowservice/v1/request_response.proto | 2 -- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 9f4fa4eab..6a1a01496 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -11775,7 +11775,7 @@ "properties": { "runId": { "type": "string", - "description": "Activity run ID. If empty, targets the latest run.\nSpecify a run ID to avoid retrying a different execution when the activity ID is reused." + "description": "Activity run ID. If empty, targets the latest run." }, "identity": { "type": "string", @@ -12765,7 +12765,7 @@ "properties": { "runId": { "type": "string", - "description": "Activity run ID. If empty, targets the latest run.\nSpecify a run ID to avoid retrying a different execution when the activity ID is reused." + "description": "Activity run ID. If empty, targets the latest run." }, "identity": { "type": "string", diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index dd844cee3..10874ca4b 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -15134,9 +15134,7 @@ components: type: string runId: type: string - description: |- - Activity run ID. If empty, targets the latest run. - Specify a run ID to avoid retrying a different execution when the activity ID is reused. + description: Activity run ID. If empty, targets the latest run. identity: type: string description: The identity of the worker/client. @@ -17719,9 +17717,7 @@ components: type: string runId: type: string - description: |- - Activity run ID. If empty, targets the latest run. - Specify a run ID to avoid retrying a different execution when the activity ID is reused. + description: Activity run ID. If empty, targets the latest run. identity: type: string description: The identity of the worker/client. diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index e70b891d3..09298b842 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -3563,7 +3563,6 @@ message RequestCancelActivityExecutionRequest { string namespace = 1; string activity_id = 2; // Activity run ID. If empty, targets the latest run. - // Specify a run ID to avoid retrying a different execution when the activity ID is reused. string run_id = 3; // The identity of the worker/client. string identity = 4; @@ -3581,7 +3580,6 @@ message TerminateActivityExecutionRequest { string namespace = 1; string activity_id = 2; // Activity run ID. If empty, targets the latest run. - // Specify a run ID to avoid retrying a different execution when the activity ID is reused. string run_id = 3; // The identity of the worker/client. string identity = 4;