From 89c62689c926ceaa5d560c5c63162bebaa9f6f42 Mon Sep 17 00:00:00 2001 From: Yichao Yang Date: Fri, 27 Mar 2026 16:58:20 -0700 Subject: [PATCH] Add resource id annnotation for SAA --- temporal/api/workflowservice/v1/service.proto | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/temporal/api/workflowservice/v1/service.proto b/temporal/api/workflowservice/v1/service.proto index 18e579c2c..9079af848 100644 --- a/temporal/api/workflowservice/v1/service.proto +++ b/temporal/api/workflowservice/v1/service.proto @@ -1597,6 +1597,10 @@ service WorkflowService { body: "*" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // DescribeActivityExecution returns information about an activity execution. @@ -1611,6 +1615,10 @@ service WorkflowService { get: "/api/v1/namespaces/{namespace}/activities/{activity_id}" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // PollActivityExecution long-polls for an activity execution to complete and returns the @@ -1622,6 +1630,10 @@ service WorkflowService { get: "/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // ListActivityExecutions is a visibility API to list activity executions in a specific namespace. @@ -1659,6 +1671,10 @@ service WorkflowService { body: "*" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // TerminateActivityExecution terminates an existing activity execution immediately. @@ -1674,6 +1690,10 @@ service WorkflowService { body: "*" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // DeleteActivityExecution asynchronously deletes a specific activity execution (when