From 955089d94e963b1d4b248b577b04d10936ab88ad Mon Sep 17 00:00:00 2001 From: Fred Tzeng Date: Thu, 4 Jun 2026 11:50:30 -0700 Subject: [PATCH] add start_delay to ActivityExecutionInfo --- openapi/openapiv2.json | 4 ++++ openapi/openapiv3.yaml | 4 ++++ temporal/api/activity/v1/message.proto | 3 +++ 3 files changed, 11 insertions(+) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 316854a1a..ef36ebd55 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -13358,6 +13358,10 @@ "sdkVersion": { "type": "string", "description": "The version of the SDK of the worker that most recently picked up an attempt of this activity.\nOverwritten on each new attempt. Empty if unknown." + }, + "startDelay": { + "type": "string", + "description": "Time to wait before dispatching the first activity task. This delay is not applied to retry attempts." } }, "description": "Information about a standalone activity." diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 845ee0704..e7d691117 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -9770,6 +9770,10 @@ components: description: |- The version of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown. + startDelay: + pattern: ^-?(?:0|[1-9][0-9]{0,11})(?:\.[0-9]{1,9})?s$ + type: string + description: Time to wait before dispatching the first activity task. This delay is not applied to retry attempts. description: Information about a standalone activity. ActivityExecutionListInfo: type: object diff --git a/temporal/api/activity/v1/message.proto b/temporal/api/activity/v1/message.proto index 076240492..01f058576 100644 --- a/temporal/api/activity/v1/message.proto +++ b/temporal/api/activity/v1/message.proto @@ -178,6 +178,9 @@ message ActivityExecutionInfo { // The version of the SDK of the worker that most recently picked up an attempt of this activity. // Overwritten on each new attempt. Empty if unknown. string sdk_version = 36; + + // Time to wait before dispatching the first activity task. This delay is not applied to retry attempts. + google.protobuf.Duration start_delay = 37; } // Limited activity information returned in the list response.