Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Allow configuring max batch size #1600

Merged
merged 3 commits into from
Jan 13, 2023
Merged

Conversation

zwilias
Copy link
Contributor

@zwilias zwilias commented Jan 13, 2023

This PR adds an optional max_batch_size setting to bors.toml.

With that setting, one can limit how many PR's can end up batched together.

Limiting the number of PR's can be useful to limit the effect of flaky tests, especially in a CI system that relies on caching (when more changes in a batch mean more caches getting busted, more tests being ran, and more flakes occurring), as well as serving as a workaround for times when GitHub experiences failures when pushing octomerges to the main branch (as it did for us for some 72 hours, this week).

Fixes #456

Copy link
Member

@notriddle notriddle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

notriddle added a commit to bors-ng/bors-ng.github.io that referenced this pull request Jan 13, 2023
@bors
Copy link
Contributor

bors bot commented Jan 13, 2023

Build succeeded:

@bors bors bot merged commit 126cc1d into bors-ng:master Jan 13, 2023
@zwilias zwilias deleted the max-batch-size branch January 13, 2023 16:39
notriddle added a commit to bors-ng/bors-ng.github.io that referenced this pull request Jan 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

maximum batch size
2 participants