Skip to content

Gitlab api client not using retry mechanism #7156

@chrxmvtik

Description

@chrxmvtik

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Current implementation is using plain http requests to perform API operations, which doesn't care about rate-limits or errors.

Expected Behavior

Modify client to use GitLab client-go implementation and utilize it across all functions.

Steps To Reproduce

  1. Use automerge parameter on gitlab merge request action
  2. Configure gitlab repository to allow only merging when pipelines succeeded

Updatecli will attempt a merge request, but gitlab in this case will spit 405 error, because there are no retry mechanism

Environment

- OS: MacOS
- updatecli: v0.111.0

Pipeline Graph

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions