-
Notifications
You must be signed in to change notification settings - Fork 44
feat(sdk): sdk-level retry logic for fetch and fetch_many
#2266
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
37 commits
Select commit
Hold shift + click to select a range
7a77ccf
feat(sdk): provide request execution information
shumkov b85f52e
test: fix compilation errors
shumkov 6de23ab
refactor: rename `unwrap` to `into_inner`
shumkov fba6ef8
refactor: rename response to inner
shumkov 8af6776
test: increase timeout to pass the test
shumkov 8e278e3
fix: `into_inner` doesn't need `CanRetry` bound
shumkov 5af8822
fix: errored address is none
shumkov 8269c1f
Merge branch 'v1.4-dev' into feat/sdk/execution_info
shumkov a9a96a0
chore: don't use empty uri
shumkov 920b50d
docs: fix usage example
shumkov 067db87
refactor: remove unused import
shumkov c684b3f
chore: update test vectors
shumkov 9da89a8
chore: more test vectors
shumkov 34ffdfb
feat(sdk): retry failed requests on sdk level
lklimek 60d220c
fix(dapi-client): impl VersionedGrpcResponse for ExecutionResponse
lklimek 80d19e0
feat(sdk): fech with retries
lklimek f78555e
chore(sdk): remove unnecessary changes
lklimek 4343b6e
fix(sdk): correct retry logic
lklimek 50ad84c
feat(sdk): retry impl
lklimek e4e667a
chore: self-review
lklimek ac388a8
chore: apply feedback
lklimek 016450f
chore: remove outdated comment
lklimek 0738f76
chore(sdk): impl<T> From<ExecutionError<T>> for Error
lklimek 438185f
doc(sdk): comment on sync::retry() logic
lklimek 170d5a9
chore: self review
lklimek e20a29d
refactor: remove unused code
lklimek c9c6c2f
chore: fmt
lklimek e5e17a7
chore: doc
lklimek dace7fa
test: fix retry test
lklimek eca69f8
refactor(sdk): apply feedback
lklimek df706f4
test(sdk): add edge case to test_retry
lklimek 1f954d5
fix: use settings in fetch_many
lklimek 034bdb2
test(sdk): regenerate test vectors
lklimek 1bc31a9
refactor: re-export specific types
shumkov 5a497ca
Merge remote-tracking branch 'origin/feat/sdk/execution_info' into fe…
lklimek 723b1c5
chore: fixes after merge
lklimek cebc709
Merge remote-tracking branch 'origin/v1.4-dev' into feat/sdk-retry
lklimek 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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.