From e6a1aa4ae74895b501a3f15977c852f3bd89c93f Mon Sep 17 00:00:00 2001 From: Alex Stanfield <13949480+chaptersix@users.noreply.github.com> Date: Wed, 22 Oct 2025 12:39:37 -0500 Subject: [PATCH 1/2] add token to callback.nexus --- openapi/openapiv2.json | 4 ++++ openapi/openapiv3.yaml | 3 +++ temporal/api/common/v1/message.proto | 1 + 3 files changed, 8 insertions(+) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index bb205be6d..ebe8a6b85 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -7331,6 +7331,10 @@ "type": "string" }, "description": "Header to attach to callback request." + }, + "token": { + "type": "string", + "format": "byte" } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 9fc0ffb40..daee8bc63 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -7342,6 +7342,9 @@ components: additionalProperties: type: string description: Header to attach to callback request. + token: + type: string + format: bytes CanceledFailureInfo: type: object properties: diff --git a/temporal/api/common/v1/message.proto b/temporal/api/common/v1/message.proto index 838f5fefc..308babf79 100644 --- a/temporal/api/common/v1/message.proto +++ b/temporal/api/common/v1/message.proto @@ -173,6 +173,7 @@ message Callback { string url = 1; // Header to attach to callback request. map header = 2; + bytes token = 3; } // Callbacks to be delivered internally within the system. From 87f4c9a51b81d382feddebccfb39cd0dbc6dcab8 Mon Sep 17 00:00:00 2001 From: Alex Stanfield <13949480+chaptersix@users.noreply.github.com> Date: Mon, 17 Nov 2025 09:31:08 -0600 Subject: [PATCH 2/2] Update temporal/api/common/v1/message.proto Co-authored-by: Roey Berman --- temporal/api/common/v1/message.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/temporal/api/common/v1/message.proto b/temporal/api/common/v1/message.proto index 308babf79..300788b47 100644 --- a/temporal/api/common/v1/message.proto +++ b/temporal/api/common/v1/message.proto @@ -173,6 +173,8 @@ message Callback { string url = 1; // Header to attach to callback request. map header = 2; + // A token that is used to recreated context when handling the callback request. + // Supported from server version 1.30. bytes token = 3; }