You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tests: no unit tests for RetryPolicy boundary conditions — max_retries=0 immediate failure path, jitter bounds staying within the declared interval, and backoff saturation at max_delay_ms #528
The retry module in crates/cache/src/retry.rs implements exponential backoff with jitter but has no tests verifying that a zero-retry policy never sleeps, that computed delays never exceed max_delay_ms, or that the jitter factor keeps each delay within [base, base+jitter_range]. A regression in the delay formula would be invisible until an operator observed unexpectedly long origin stalls.
Activity
test(cache): pin RetryPolicy jitter band and backoff edge cases (#528) (