Skip to content

Custom retry codes for @actions/http-client #1569

Open
@janssen-tiobe

Description

@janssen-tiobe

We use the @actions/http-client to be able to easily retry http requests on failed requests.
The problem is that currently only 502, 503 and 504 are retried, but in our implementation we also need 500 to be retried.

I want to propose a mechanism where retry codes can be added or removed by the user by appending the RequestOptions with retryOnCodes and noRetryOnCodes to have the full controll on what statuscodes should be retried and not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions