Skip to content

Add claim count to jobs #44

Open
Open
@tallysmartins

Description

@tallysmartins

In some not well known scenarios, the docker execution fails and the runner does not update the job status correctly. This causes the job not to be marked as "finished" and it will be claimed again by the runner, resulting on a loop of executing a failing job. My suggestion is to add a claim_retries to jobs and a MAX_RETRIES so this failing jobs will not be claimed as they achieve this max.

I suggest a retries count of 2 or 3.

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