Skip to content

Add a retry predicate (retry_on) to the Node and Java SDKs #479

Description

@pratyush618

Python supports a retry predicate so a task can decide per-error whether to retry. In Node and Java RetryPolicy is timing-only (base/max delay, attempts) with no predicate hook.

Errors already carry structured type information over the wire (canonical JSON {errtype,message,traceback[]}), so both shells can match on errtype without a core change.

  • Node: sdks/node/src/** — no retry_on/retryOn
  • Java: sdks/java/src/main/java/org/byteveda/taskito/task/RetryPolicy.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestjavaJava SDKnodeNode SDKparityCross-SDK parity gap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions