Skip to content

More strategies for (org-level) throttling of PRs #2934

Open
@armanbilge

Description

@armanbilge

For example, scalafmt v2.7.0 was released today. When the Typelevel Steward ran, essentially every typelevel-org repo got an update PR. Whenever this happens, CI easily gets backlogged for hours, since we have an org-wide limit of 20 concurrent runners.

So we are looking for strategies to pace the rate at which Steward makes PRs, ideally so that there are always some CI runners free for human PRs, releases, and anything else that may be happening concurrently.

One idea we had is to be able to limit the number of PRs that Steward can make during a run. Actually that's what @valencik and I thought the updates.limit config would do in typelevel/steward#18, where we hoped to configure Steward to make no more than 1 PR every 20 minutes. We only realized after-the-fact that limit applies per-repo, not for the entire run.

Edit: while writing this, http4s org just got flooded with the scalafmt update as well 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions