Skip to content

[Feature] Don't repeat an operation endlessly if it is supposed to fail and does not #1124

@chipzoller

Description

@chipzoller

Problem Statement

Observed on 0.1.9-0.1.7. See a test case here where an update (patch) is supposed to fail yet does not causing Chainsaw to patch endlessly until it reaches the client rate limit. This delays other tests and throws thousands of messages to the console.

Solution Description

An operation which is supposed to fail yet does not should not try on an endless loop. Either try one and fail if allowed or use a static number of attempts before giving up.

Alternatives

No response

Additional Context

No response

Slack discussion

No response

Research

  • I have searched other issues in this repository and mine is not recorded.

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