Skip to content

Commit 65bbff1

Browse files
sophiatevSophia Tevosyan
andauthored
Add tags field to CompleteOrchestratorAction (#492)
* first commit * adding protos * new refresh protos --------- Co-authored-by: Sophia Tevosyan <[email protected]>
1 parent 41237ed commit 65bbff1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/Grpc/orchestrator_service.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ message CompleteOrchestrationAction {
295295
google.protobuf.StringValue newVersion = 4;
296296
repeated HistoryEvent carryoverEvents = 5;
297297
TaskFailureDetails failureDetails = 6;
298+
map<string, string> tags = 7;
298299
}
299300

300301
message TerminateOrchestrationAction {

src/Grpc/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# The following files were downloaded from branch main at 2025-11-04 03:02:50 UTC
2-
https://raw.githubusercontent.com/microsoft/durabletask-protobuf/73592a81dac1b5dd8653bb5ed1099aee2c89e3a2/protos/orchestrator_service.proto
1+
# The following files were downloaded from branch main at 2025-11-04 23:19:51 UTC
2+
https://raw.githubusercontent.com/microsoft/durabletask-protobuf/8c0d166673593700cfa9d0b123cd55e025b2846e/protos/orchestrator_service.proto

src/Shared/Grpc/ProtoUtils.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,12 @@ internal static P.OrchestratorResponse ConstructOrchestratorResponse(
470470
NewVersion = completeAction.NewVersion,
471471
OrchestrationStatus = completeAction.OrchestrationStatus.ToProtobuf(),
472472
Result = completeAction.Result,
473-
};
473+
};
474+
475+
foreach (KeyValuePair<string, string> tag in completeAction.Tags)
476+
{
477+
protoAction.CompleteOrchestration.Tags[tag.Key] = tag.Value;
478+
}
474479

475480
if (completeAction.OrchestrationStatus == OrchestrationStatus.Failed)
476481
{

0 commit comments

Comments
 (0)