fix(sdk): make retries safe and deterministic

This commit is contained in:
ZacharyZhang-NY committed 2026-07-19 15:49:13 -04:00
1 parent e29b3c9648
commit bfe068b367
8 files changed
+567 -52

No files matched your search

+3
View File
@@ -41,6 +41,9 @@ This repository owns the published `elydora` package, its CLI, synchronous and a
- Propagate unexpected errors to the CLI boundary.
- Use documented defaults only for genuinely optional configuration.
- Avoid compatibility shims without a named public or user configuration contract.
- Interpret `max_retries` as retries after the initial attempt and reject negative or non-integer values.
- Automatically retry RFC-idempotent methods; retry non-idempotent methods only when the transport proves the request was never sent.
- Honor valid `Retry-After` delay-seconds and HTTP-date values, and release retryable responses before sleeping.
## Verification