From 1a3ee6b51bb2b5a3f9f10f1afd32ccaa6577d95a Mon Sep 17 00:00:00 2001 From: Louis-Michel Couture Date: Thu, 11 Sep 2025 17:35:13 -0400 Subject: [PATCH] Set the task queue kind to prevent "Unspecified task queue kind" warning Set the task queue kind when long polling for a workflow task to avoid the "Unspecified task queue kind" warning from the Temporal server. https://github.com/temporalio/temporal/blob/0eb7f21c34b9f5c8f48878af9200db6ddab5b276/service/frontend/workflow_handler.go#L859 This is aligned with the default behavior of the Temporal SDKs. See this PR that implements the same change in the Java SDK for reference: https://github.com/temporalio/sdk-java/pull/1420 --- lib/temporal/connection/grpc.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/temporal/connection/grpc.rb b/lib/temporal/connection/grpc.rb index f35d2dc3..1824d7d7 100644 --- a/lib/temporal/connection/grpc.rb +++ b/lib/temporal/connection/grpc.rb @@ -198,7 +198,8 @@ def poll_workflow_task_queue(namespace:, task_queue:, binary_checksum:) identity: identity, namespace: namespace, task_queue: Temporalio::Api::TaskQueue::V1::TaskQueue.new( - name: task_queue + name: task_queue, + kind: Temporalio::Api::Enums::V1::TaskQueueKind::TASK_QUEUE_KIND_NORMAL ), binary_checksum: binary_checksum )