Skip to content

Allow running multiple instances serialy #1301

Closed
@rski

Description

@rski

Is your feature request related to a problem? Please describe.
When golangci-lint runs, --allow-parallel-runners defaults to false, so multiple instances can't run at the same time. It's also kind of dubious whether the cache will work well on parallel runs, so I would like a middle solution where I can run multiple instances, each waiting for the lock.

Describe the solution you'd like
An --allow-serial-runners flag, that will remove the flock timeout, effectively waiting forever until all other instances finish.

I have a change for this ready, I'm filing this first for reference/posterity

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions