Skip to content

Add RestartAsync API Support at DurableTaskClient - #456

Merged
Naiyuan Tian (nytian) merged 17 commits into
mainfrom
nytian/restart-api
Sep 10, 2025
Merged

Add RestartAsync API Support at DurableTaskClient#456
Naiyuan Tian (nytian) merged 17 commits into
mainfrom
nytian/restart-api

Conversation

@nytian

@nytian Naiyuan Tian (nytian) commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

This PR is part of support of issue Azure/azure-functions-durable-extension#2903

This PR adds a new RestartAsync api at DurableTaskClient that allows restarting orchestration instances with provided instanceId or a new instanceId.

Related PR:

Comment thread src/Client/Core/DurableTaskClient.cs
google.protobuf.BoolValue isComplete = 2;
}

message RestartInstanceRequest {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be updated once we merge PR microsoft/durabletask-protobuf#46. But we will merge these related PR together, so I just manually updated it

@nytian Naiyuan Tian (nytian) changed the title Add RestartAsync Api support at DurableTaskClient Add RestartAsync API Support at DurableTaskClient Aug 5, 2025
Comment thread src/Client/Grpc/GrpcDurableTaskClient.cs
Comment thread src/Client/OrchestrationServiceClientShim/ShimDurableTaskClient.cs
Comment thread src/Client/Grpc/GrpcDurableTaskClient.cs
Comment thread src/Client/Core/DurableTaskClient.cs
Comment thread src/Client/Core/DurableTaskClient.cs
Comment thread src/Client/Grpc/GrpcDurableTaskClient.cs
Comment thread src/Client/OrchestrationServiceClientShim/ShimDurableTaskClient.cs

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nytian
Naiyuan Tian (nytian) merged commit 5abde15 into main Sep 10, 2025
4 checks passed
@nytian
Naiyuan Tian (nytian) deleted the nytian/restart-api branch September 10, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants