-
Notifications
You must be signed in to change notification settings - Fork 53
Add RestartAsync API Support at DurableTaskClient #456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7e82216
initial commit
nytian f9fa4b6
udpate shimdurabletaskclient and test
nytian 315dc3d
update test
nytian 9d42a01
Merge branch 'main' into nytian/restart-api
nytian 6bc59c8
updatestest
nytian efaf1ed
Merge branch 'nytian/restart-api' of https://github.com/microsoft/dur…
nytian 9dce30f
update taskhubgrpcservice and test
nytian dd6f8f4
update in memory orch service
nytian 977d8cd
update restart logic at inmemoryorchestrationservice
nytian ffad2bb
Merge branch 'main' into nytian/restart-api
nytian c1ed657
Merge branch 'main' into nytian/restart-api
nytian f031259
Merge branch 'main' into nytian/restart-api
nytian 6ee7fe5
add status check if restart with same instace
nytian 52b1f83
Merge branch 'nytian/restart-api' of https://github.com/microsoft/dur…
nytian 73cfab7
update bycoments
nytian d9a00ed
remove tab
nytian 138eb95
pull latest from protobuf
nytian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -482,6 +482,15 @@ message PurgeInstancesResponse { | |
| google.protobuf.BoolValue isComplete = 2; | ||
| } | ||
|
|
||
| message RestartInstanceRequest { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
| string instanceId = 1; | ||
| bool restartWithNewInstanceId = 2; | ||
| } | ||
|
|
||
| message RestartInstanceResponse { | ||
| string instanceId = 1; | ||
| } | ||
|
|
||
| message CreateTaskHubRequest { | ||
| bool recreateIfExists = 1; | ||
| } | ||
|
|
@@ -682,6 +691,9 @@ service TaskHubSidecarService { | |
| // Rewinds an orchestration instance to last known good state and replays from there. | ||
| rpc RewindInstance(RewindInstanceRequest) returns (RewindInstanceResponse); | ||
|
|
||
| // Restarts an orchestration instance. | ||
| rpc RestartInstance(RestartInstanceRequest) returns (RestartInstanceResponse); | ||
|
|
||
| // Waits for an orchestration instance to reach a running or completion state. | ||
| rpc WaitForInstanceStart(GetInstanceRequest) returns (GetInstanceResponse); | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| # The following files were downloaded from branch main at 2025-08-08 16:46:11 UTC | ||
| https://raw.githubusercontent.com/microsoft/durabletask-protobuf/e88acbd07ae38b499dbe8c4e333e9e3feeb2a9cc/protos/orchestrator_service.proto | ||
| # The following files were downloaded from branch main at 2025-09-10 22:50:45 UTC | ||
| https://raw.githubusercontent.com/microsoft/durabletask-protobuf/985035a0890575ae18be0eb2a3ac93c10824498a/protos/orchestrator_service.proto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.