-
Notifications
You must be signed in to change notification settings - Fork 55
Add retry to gRPC calls that failed due to transient errors #714
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
39 commits
Select commit
Hold shift + click to select a range
da451a8
added the retry logic
1fc3df5
Merge branch 'main' into stevosyan/add-retry-to-complete-calls
4fc5200
Update src/Worker/Grpc/GrpcDurableTaskWorker.Processor.cs
sophiatev 61f8a21
Add tests for ExecuteWithRetryAsync retry logic
Copilot 32cc282
removed redundant logs
d640ac6
fixed line endings
b18d970
Apply suggestion from @Copilot
sophiatev 5a38c5f
returned the completion logs
9a57bf8
Merge branch 'stevosyan/add-retry-to-complete-calls' of https://githu…
614893e
Potential fix for pull request finding 'Local scope variable shadows …
sophiatev 6826505
Update src/Worker/Grpc/GrpcDurableTaskWorker.Processor.cs
sophiatev 28b2839
fixed the line endings
55535e3
Add max-attempts exhaustion test for ExecuteWithRetryAsync
Copilot ba6c0c0
Assert status code in TransientGrpcRetry log test
Copilot e609227
simplied method extraction
9625812
Add status code assertion to MultipleTransientErrors log test
Copilot 8ec4113
refactored so the retry also uses the shared backoff class
5d1b8e6
Merge branch 'stevosyan/add-retry-to-complete-calls' of https://githu…
08922fb
Trying to fix line endings
aa19300
reverting some unnecessary changes
3df94d7
missed the log changes
155b5ed
Potential fix for pull request finding 'Missed ternary opportunity'
sophiatev 05a0958
Update src/Worker/Grpc/GrpcDurableTaskWorkerOptions.cs
sophiatev fc5c1ff
Fix thread-safety: create Random per ExecuteWithRetryAsync call, remo…
Copilot 89957bb
fixed attempt logic
35051fa
fixing line endings
6d11687
reverting some more unnecessary changes
de9c357
fixing the failing tests
2eda8a9
fixed the log tests
d16cdc3
fixing the failing tests
1379dd4
test: add integration-level retry tests to RunBackgroundTaskLoggingTe…
Copilot cf46ceb
fixed the failing test
ed926d0
fixed another failing max attempt test
33700f2
test: add Non_Transient_Abandon_Orchestrator_Error_Is_Not_Retried int…
Copilot b3e93e3
updated the tests slightly
1142c65
removed try-catch, updated tests
c3c9571
remove json change
f9052dd
fix line endings, add a few more logs
81801a3
change order of a log and reconnect attempt
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
Some comments aren't visible on the classic Files Changed page.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.