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
bors[bot] merged 3 commits into
bors-ng:masterfrom
NoRedInk:max-batch-size
Jan 13, 2023
Merged

Allow configuring max batch size#1600
bors[bot] merged 3 commits into
bors-ng:masterfrom
NoRedInk:max-batch-size

Conversation

@zwilias

@zwilias zwilias commented Jan 13, 2023

Copy link
Copy Markdown
Contributor

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

@notriddle notriddle left a comment

Copy link
Copy Markdown
Member

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

bors Bot commented Jan 13, 2023

Copy link
Copy Markdown
Contributor

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