Summary
Expose the SDK retry configuration so workflows can tune retry count and backoff for large transfers, flaky networks, and rate-limited CI environments.
Why
The SDK automatically retries expired auth tokens, transient service errors, rate limits, and network failures. The action always uses SDK defaults, so teams cannot increase retry patience for large release artifacts or reduce retry time for latency-sensitive jobs.
SDK support (already available)
B2ClientOptions.retry
RetryOptions.maxRetries
RetryOptions.initialRetryDelayMs
RetryOptions.maxRetryDelayMs
- SDK retry handling for 401, 408, 429, 503, and network errors
Proposed surface
New optional inputs:
retry-max-attempts or retry-max-retries
retry-initial-delay-ms
retry-max-delay-ms
These map to B2ClientOptions.retry during client construction. Omitting them preserves current defaults.
Acceptance criteria
Out of scope
- Per-command retry overrides.
- Custom retry strategies beyond the SDK options.
Summary
Expose the SDK retry configuration so workflows can tune retry count and backoff for large transfers, flaky networks, and rate-limited CI environments.
Why
The SDK automatically retries expired auth tokens, transient service errors, rate limits, and network failures. The action always uses SDK defaults, so teams cannot increase retry patience for large release artifacts or reduce retry time for latency-sensitive jobs.
SDK support (already available)
B2ClientOptions.retryRetryOptions.maxRetriesRetryOptions.initialRetryDelayMsRetryOptions.maxRetryDelayMsProposed surface
New optional inputs:
retry-max-attemptsorretry-max-retriesretry-initial-delay-msretry-max-delay-msThese map to
B2ClientOptions.retryduring client construction. Omitting them preserves current defaults.Acceptance criteria
B2ClientOptions.retry.Out of scope