From b743d86ef79eac28aaba47a49b37c2f489a90572 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 914bbaf83..5c1e900a3 100644 --- a/temporal/api/workflowservice/v1/service.proto +++ b/temporal/api/workflowservice/v1/service.proto @@ -1653,6 +1653,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. @@ -1667,6 +1671,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 @@ -1678,6 +1686,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. @@ -1715,6 +1727,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. @@ -1730,6 +1746,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