Skip to content

docs(merge-queue): document dynamic batch sizing#11851

Merged
mergify[bot] merged 1 commit into
mainfrom
devs/jd/docs-dynamic-batch-size/document-dynamic-batch-sizing--4548091d
Jun 16, 2026
Merged

docs(merge-queue): document dynamic batch sizing#11851
mergify[bot] merged 1 commit into
mainfrom
devs/jd/docs-dynamic-batch-size/document-dynamic-batch-sizing--4548091d

Conversation

@jd

@jd jd commented Jun 16, 2026

Copy link
Copy Markdown
Member

batch_size now accepts a {min, max} range in addition to a fixed integer.
Add a "Dynamic Batch Sizing" section to the batches page explaining how
Mergify adapts the batch size to load, and a cross-linked subsection on
the performance page positioning it as automatic batch-size tuning.

MRGFY-7652

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Copilot AI review requested due to automatic review settings June 16, 2026 11:48
@mergify mergify Bot had a problem deploying to Mergify Merge Protections June 16, 2026 11:48 Failure
@mergify

mergify Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 5 merge protections satisfied — ready to merge.

@mergify mergify Bot requested a review from a team June 16, 2026 11:50
@jd jd force-pushed the devs/jd/docs-dynamic-batch-size/document-dynamic-batch-sizing--4548091d branch from 3013679 to 2b0e802 Compare June 16, 2026 11:52
@jd

jd commented Jun 16, 2026

Copy link
Copy Markdown
Member Author

Revision history

# Type Changes Reason Date
1 initial 3013679 2026-06-16 11:52 UTC
2 rebase 3013679 → 2b0e802 (rebase only) Add MRGFY-7652 ticket reference to commit body 2026-06-16 11:52 UTC
3 content 2b0e802 → 4b7fac4 (raw) Correct dynamic batch sizing behavior per engine code (Mergifyio/monorepo#33845): sizing spreads PRs across parallel-check slots and is identical in all queue modes; drop the serial-only/parallel-mod… 2026-06-16 12:09 UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds documentation for configuring batch_size as a {min, max} range and explains how Merge Queue can adjust batch sizes based on load, with cross-links between batching and performance guidance.

Changes:

  • Adds a new “Dynamic Batch Sizing” section to the batches documentation, including behavior notes and a serial/parallel mode callout.
  • Adds a new subsection to the performance page describing automatic batch-size tuning and linking to the batches page.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/content/docs/merge-queue/performance.mdx Adds a subsection introducing range-based batch_size and links to the detailed batching docs.
src/content/docs/merge-queue/batches.mdx Documents dynamic batch sizing behavior, tradeoffs, and mode limitations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/content/docs/merge-queue/performance.mdx Outdated
Comment thread src/content/docs/merge-queue/batches.mdx Outdated
Comment thread src/content/docs/merge-queue/batches.mdx Outdated
Comment thread src/content/docs/merge-queue/batches.mdx Outdated
@mergify mergify Bot had a problem deploying to Mergify Merge Protections June 16, 2026 11:52 Failure
batch_size now accepts a {min, max} range in addition to a fixed integer.
Add a "Dynamic Batch Sizing" section to the batches page explaining how
Mergify adapts the batch size to load, and a cross-linked subsection on
the performance page positioning it as automatic batch-size tuning.

MRGFY-7652

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Change-Id: I4548091d73a3232ac7203713b191dd6323eacf9a
@jd jd force-pushed the devs/jd/docs-dynamic-batch-size/document-dynamic-batch-sizing--4548091d branch from 2b0e802 to 4b7fac4 Compare June 16, 2026 12:09
@mergify mergify Bot deployed to Mergify Merge Protections June 16, 2026 12:09 Active
@jd jd marked this pull request as ready for review June 16, 2026 12:13
@mergify mergify Bot requested a review from a team June 16, 2026 12:39
@mergify

mergify Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@mergify

mergify Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 4 minutes 11 seconds in the queue, including 2 minutes 12 seconds running CI.

Required conditions to merge

mergify Bot added a commit that referenced this pull request Jun 16, 2026
@mergify mergify Bot added the queued label Jun 16, 2026
@mergify mergify Bot merged commit 0900ecd into main Jun 16, 2026
8 of 13 checks passed
@mergify mergify Bot deleted the devs/jd/docs-dynamic-batch-size/document-dynamic-batch-sizing--4548091d branch June 16, 2026 13:28
@mergify mergify Bot removed the queued label Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants