From 880f68dabba24b960ae0bb85738915bc7372626a Mon Sep 17 00:00:00 2001 From: Sophia Tevosyan Date: Mon, 3 Nov 2025 20:03:25 -0800 Subject: [PATCH 1/3] first commit --- src/Shared/Grpc/ProtoUtils.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Shared/Grpc/ProtoUtils.cs b/src/Shared/Grpc/ProtoUtils.cs index 13b64fe86..ede138241 100644 --- a/src/Shared/Grpc/ProtoUtils.cs +++ b/src/Shared/Grpc/ProtoUtils.cs @@ -467,7 +467,12 @@ internal static P.OrchestratorResponse ConstructOrchestratorResponse( NewVersion = completeAction.NewVersion, OrchestrationStatus = completeAction.OrchestrationStatus.ToProtobuf(), Result = completeAction.Result, - }; + }; + + foreach (KeyValuePair tag in completeAction.Tags) + { + protoAction.CompleteOrchestration.Tags[tag.Key] = tag.Value; + } if (completeAction.OrchestrationStatus == OrchestrationStatus.Failed) { From ab6c6394b868e956c50bf135599115ec7f4a1a4a Mon Sep 17 00:00:00 2001 From: Sophia Tevosyan Date: Tue, 4 Nov 2025 10:05:44 -0800 Subject: [PATCH 2/3] adding protos --- src/Grpc/orchestrator_service.proto | 9 +++++++++ src/Grpc/versions.txt | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/Grpc/orchestrator_service.proto b/src/Grpc/orchestrator_service.proto index b2def0878..d59bca3ca 100644 --- a/src/Grpc/orchestrator_service.proto +++ b/src/Grpc/orchestrator_service.proto @@ -220,6 +220,13 @@ message EntityLockGrantedEvent { string criticalSectionId = 1; } +message ExecutionRewoundEvent { + google.protobuf.StringValue reason = 1; + google.protobuf.StringValue parentExecutionId = 2; // used only for rewinding suborchestrations, null otherwise + google.protobuf.StringValue instanceId = 3; // used only for rewinding suborchestrations, null otherwise + TraceContext parentTraceContext = 4; // used only for rewinding suborchestrations, null otherwise +} + message HistoryEvent { int32 eventId = 1; google.protobuf.Timestamp timestamp = 2; @@ -251,6 +258,7 @@ message HistoryEvent { EntityLockRequestedEvent entityLockRequested = 27; EntityLockGrantedEvent entityLockGranted = 28; EntityUnlockSentEvent entityUnlockSent = 29; + ExecutionRewoundEvent executionRewound = 30; } } @@ -287,6 +295,7 @@ message CompleteOrchestrationAction { google.protobuf.StringValue newVersion = 4; repeated HistoryEvent carryoverEvents = 5; TaskFailureDetails failureDetails = 6; + map tags = 7; } message TerminateOrchestrationAction { diff --git a/src/Grpc/versions.txt b/src/Grpc/versions.txt index 709a80074..4a6d463e1 100644 --- a/src/Grpc/versions.txt +++ b/src/Grpc/versions.txt @@ -1,2 +1,2 @@ -# The following files were downloaded from branch main at 2025-10-13 18:06:55 UTC -https://raw.githubusercontent.com/microsoft/durabletask-protobuf/97cf9cf6ac44107b883b0f4ab1dd62ee2332cfd9/protos/orchestrator_service.proto +# The following files were downloaded from branch main at 2025-11-04 18:04:29 UTC +https://raw.githubusercontent.com/microsoft/durabletask-protobuf/8c0d166673593700cfa9d0b123cd55e025b2846e/protos/orchestrator_service.proto From 5d7cd7c182a353c93a70445d6f1f5da7ec94fc99 Mon Sep 17 00:00:00 2001 From: Sophia Tevosyan Date: Tue, 4 Nov 2025 15:20:06 -0800 Subject: [PATCH 3/3] new refresh protos --- src/Grpc/versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grpc/versions.txt b/src/Grpc/versions.txt index 4a6d463e1..f3ec814a8 100644 --- a/src/Grpc/versions.txt +++ b/src/Grpc/versions.txt @@ -1,2 +1,2 @@ -# The following files were downloaded from branch main at 2025-11-04 18:04:29 UTC +# The following files were downloaded from branch main at 2025-11-04 23:19:51 UTC https://raw.githubusercontent.com/microsoft/durabletask-protobuf/8c0d166673593700cfa9d0b123cd55e025b2846e/protos/orchestrator_service.proto