-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Description
RetryAttribute allows custom ShouldRetry logic, but there are no built-in patterns for common retry scenarios.
Missing Patterns
- Exponential backoff with jitter
- Retry only on specific exception types (transient failures)
- Timeout-specific retry policy
- Combined/composed retry policies
Proposed Approach
- Create
IRetryPolicyinterface with built-in implementations - Add attributes like
[ExponentialBackoffRetry(3, initialDelayMs: 100, multiplier: 2.0)] - Create
RetryContextwith attempt number, delay, and exception info - Add metrics for retry success/failure rates
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed