From 9cdd43ab349c6add369ae152964ca3cbb0544f1d Mon Sep 17 00:00:00 2001 From: jmaeagle99 <44687433+jmaeagle99@users.noreply.github.com> Date: Mon, 23 Feb 2026 12:33:47 -0800 Subject: [PATCH 1/2] Add storage driver info to worker heartbeats --- openapi/openapiv2.json | 17 +++++++++++++++++ openapi/openapiv3.yaml | 11 +++++++++++ temporal/api/worker/v1/message.proto | 8 ++++++++ 3 files changed, 36 insertions(+) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 2f21bedcc..48cc256c5 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -15864,6 +15864,15 @@ "v1StopBatchOperationResponse": { "type": "object" }, + "v1StorageDriverInfo": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the driver, required." + } + } + }, "v1StructuredCalendarSpec": { "type": "object", "properties": { @@ -16889,6 +16898,14 @@ "$ref": "#/definitions/v1PluginInfo" }, "description": "Plugins currently in use by this SDK." + }, + "drivers": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/v1StorageDriverInfo" + }, + "description": "Storage drivers in use by this SDK." } }, "description": "Worker info message, contains information about the worker and its current state.\nAll information is provided by the worker itself." diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index c220f6773..d3ef13923 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -14042,6 +14042,12 @@ components: StopBatchOperationResponse: type: object properties: {} + StorageDriverInfo: + type: object + properties: + name: + type: string + description: The name of the driver, required. StructuredCalendarSpec: type: object properties: @@ -15515,6 +15521,11 @@ components: items: $ref: '#/components/schemas/PluginInfo' description: Plugins currently in use by this SDK. + drivers: + type: array + items: + $ref: '#/components/schemas/StorageDriverInfo' + description: Storage drivers in use by this SDK. description: |- Worker info message, contains information about the worker and its current state. All information is provided by the worker itself. diff --git a/temporal/api/worker/v1/message.proto b/temporal/api/worker/v1/message.proto index 3df3aaa33..209a0454d 100644 --- a/temporal/api/worker/v1/message.proto +++ b/temporal/api/worker/v1/message.proto @@ -127,6 +127,9 @@ message WorkerHeartbeat { // Plugins currently in use by this SDK. repeated PluginInfo plugins = 23; + + // Storage drivers in use by this SDK. + repeated StorageDriverInfo drivers = 24; } message WorkerInfo { @@ -139,3 +142,8 @@ message PluginInfo { // The version of the plugin, may be empty. string version = 2; } + +message StorageDriverInfo { + // The name of the driver, required. + string name = 1; +} From ad22cceb7de8b94da5bc8cefe9be88360559536b Mon Sep 17 00:00:00 2001 From: jmaeagle99 <44687433+jmaeagle99@users.noreply.github.com> Date: Mon, 23 Feb 2026 15:35:36 -0800 Subject: [PATCH 2/2] Correct name to type --- openapi/openapiv2.json | 4 ++-- openapi/openapiv3.yaml | 4 ++-- temporal/api/worker/v1/message.proto | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 48cc256c5..fee4fdf00 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -15867,9 +15867,9 @@ "v1StorageDriverInfo": { "type": "object", "properties": { - "name": { + "type": { "type": "string", - "description": "The name of the driver, required." + "description": "The type of the driver, required." } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index d3ef13923..e0283c283 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -14045,9 +14045,9 @@ components: StorageDriverInfo: type: object properties: - name: + type: type: string - description: The name of the driver, required. + description: The type of the driver, required. StructuredCalendarSpec: type: object properties: diff --git a/temporal/api/worker/v1/message.proto b/temporal/api/worker/v1/message.proto index 209a0454d..b36a01c1e 100644 --- a/temporal/api/worker/v1/message.proto +++ b/temporal/api/worker/v1/message.proto @@ -144,6 +144,6 @@ message PluginInfo { } message StorageDriverInfo { - // The name of the driver, required. - string name = 1; + // The type of the driver, required. + string type = 1; }