feat: add maximum elapsed time to retries - #241
Open
ddupg wants to merge 5 commits into
Open
Conversation
1 task
Stop scheduling retries after a configurable elapsed budget while preserving native, WASM, and no_std compatibility.
Use the Clippy-preferred box replacement and refresh the trybuild diagnostic expected by current compilers.
ddupg
force-pushed
the
feat/ddu-341-client-retry-timeout
branch
from
August 19, 2026 11:48
948bfaa to
7eeed71
Compare
Avoid wall-clock assumptions in elapsed-time tests so native and WASM runs cannot fail due to startup or scheduling timing.
ddupg
marked this pull request as ready for review
August 19, 2026 12:59
Keep the test module available without the std feature so future no_std tests are not silently excluded.
Register the retry core tests with wasm-bindgen-test so browser-target clock behavior is covered by CI.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This enables OpenDAL to implement apache/opendal#8110 without duplicating retry timing across its stateful operations.