Skip to content

Add an async retry step at the RETRY stage #31

Description

@OmarAlJarrah

Problem

There's no async retry step, although AsyncHttpStep exists specifically to host stage behaviour for the async pipeline. Async calls currently get no retry.

Proposed change

Implement an async retry step at Stage.RETRY reusing RetryAfterParser/RetryUtils/isRetrySafe. Re-arm iteratively (avoid thenCompose recursion that deepens the stack). Use the existing scheduled-executor time seam; do not introduce Thread.sleep/Timer.

Acceptance

  • Async retries honour the same policy as sync
  • No unbounded recursion
  • Tests

Dependencies


Priority: high · Effort: large

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsdk-coresdk-core toolkit

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions