这是indexloc提供的服务,不要输入任何密码
Skip to content

Feature: Automatic retry in case of a network error #198

@dmitriiStepanidenko

Description

@dmitriiStepanidenko

I am getting this error periodically:

    Uploaded XXX_PACKAGE v0.1.3 to registry `PRIVATE_REGISTRY`
note: waiting for `XXX_PACKAGE v0.1.3` to be available at registry `PRIVATE_REGISTRY`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published XXX_PACKAGE v0.1.3 at registry `PRIVATE_REGISTRY`
error: unable to publish package XXX_PACKAGE

To overcome this, I just rerun the command and everything works fine until this happens with one of the next packages. Can you add automatic retries in case of network failure with parameterized number of retries and seconds to wait before the next try? I do retries in my CI/CD pipelines, but they start from the first package and generally take more time than if they would start from exactly the failed package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions