Skip to content

Ship an opt-in server-driven retry predicate (X-Should-Retry) #42

Closed

Description

@OmarAlJarrah

Problem

There's no built-in way to honour a server's explicit retry signal.

Proposed change

Add a ServerOverrideRetryPredicate implementing the existing composable HttpRetryConditionPredicate seam, honouring an X-Should-Retry-style header. Ship it but don't enable by default; make the header name configurable. Keep 409 out of the default set.

Acceptance

  • Predicate available, off by default
  • Configurable header name
  • Test

Priority: low · Effort: small

Activity

  1. added
    enhancement
    sdk-core
    on Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsdk-core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions