Skip to content

failed to push some refs error when a bunch of charts updating #310

@darrenge

Description

@darrenge

We use BDN had have a lot of charts that get updated by BDN. https://microsoft.github.io/garnet/charts/

The problem we are seeing is that when we run all our BDN workflow, the workflow gets a fail once in a while with this message:

error: failed to push some refs to 'https://github.com/microsoft/garnet.git'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.

We run each BDN async (take way too long to run sync), so when one tries to push, it is out of date and needs to pull again and it fails and retries etc until it hits the max retry and then causes a fail for entire workflow. Here is an example:
https://github.com/microsoft/garnet/actions/runs/14871392515/job/41760393896

Question: Is there a way to set that "max tries before fail" part of it? That is really the only way I can think of to handle github-action-benchmark not handling loads of this size

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions