Skip to content

feature: merging a branch using infrahubctl branch merge should not timeout for branches with a lot of changes #304

@wvandeun

Description

@wvandeun

Component

No response

Describe the Feature Request

When executing the command infrahubctl branch merge <branch> on a branch that has a large change compared to main, the command can timeout with the following error message Unable to read from 'http://localhost:8000/graphql/main'. (timeout: 120 sec).

Instead we should probably have similar behavior to how the schema load command works, where we can instruct the command to wait until the merge operation has succeeded or has failed.

Alternatively we could display a link to the user that can be opened in the browser to track the progress in Infrahub's UI.

Describe the Use Case

A time out returned by the infrahubctl merge <branch> operation might give the user the impression that something is wrong. We should find a better way to communicate to the user what is happening.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions