Skip to content

Use GHA concurrency to lock a single run per license used #312

Closed

Description

@bruno-garcia

Activity

  1. vaind commented on Apr 13, 2022

    @vaind
    Contributor

    I've had a look at this after the painful start of the week with a lot of license failures... Currently concurrency doesn't provide an option to limit to a specific number, it only enforces "one" for a given group name. I was also thinking of using a modulus operator to construct the group name based on a job run ID - not ideal but kinda what we need, but there's no % in expressions either, so it would need to be a manually composed disgustingly-long expression composed of ternary operations to emulate the "modulus 6" (the current number of available licences).

    I've added a feature request to add a limit as a discussion here: https://github.community/t/concurrency-limit/245284

  2. bitsandfoxes commented on Oct 21, 2024

    @bitsandfoxes
    Contributor

    As far as I can tell we worked around this by cancelling previous runs and we have retries on all relevant code paths. I've not had a failure due to license-fetching in ages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions