Skip to content

docs(merge-queue): document per-scope scopes.capacities#11680

Open
sileht wants to merge 1 commit into
mainfrom
devs/sileht/document-scopes-capacities/document-per-scope-scopes-capacities--ce574b45
Open

docs(merge-queue): document per-scope scopes.capacities#11680
sileht wants to merge 1 commit into
mainfrom
devs/sileht/document-scopes-capacities/document-per-scope-scopes-capacities--ce574b45

Conversation

@sileht
Copy link
Copy Markdown
Member

@sileht sileht commented May 29, 2026

Add a "Limiting Concurrency per Scope" section to parallel-scopes.mdx
covering the new scopes.capacities map: the global-ceiling +
per-scope sub-limit model, a YAML example with capped and uncapped
scopes, a worked walk-through and dot-graph, the multi-scope rule, the
source-agnostic behavior, and the strict-branch-protection clamp to 1.

Cross-link it from parallel-checks.mdx and add scopes.capacities to the
top-level keys in scopes.mdx.

Documents engine PR Mergifyio/monorepo#32758.

Fixes MRGFY-7437

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

Add a "Limiting Concurrency per Scope" section to parallel-scopes.mdx
covering the new scopes.capacities map: the global-ceiling +
per-scope sub-limit model, a YAML example with capped and uncapped
scopes, a worked walk-through and dot-graph, the multi-scope rule, the
source-agnostic behavior, and the strict-branch-protection clamp to 1.

Cross-link it from parallel-checks.mdx and add scopes.capacities to the
top-level keys in scopes.mdx.

Documents engine PR Mergifyio/monorepo#32758.

Fixes MRGFY-7437

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Change-Id: Ice574b45c57eacf7258fd9a080a1985026b5593a
Copilot AI review requested due to automatic review settings May 29, 2026 13:33
@mergify mergify Bot had a problem deploying to Mergify Merge Protections May 29, 2026 13:33 Failure
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 29, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🔴 👀 Review Requirements

Waiting for

  • #approved-reviews-by >= 2
This rule is failing.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🔴 🔎 Reviews

Waiting for

  • #review-requested = 0
This rule is failing.
  • #review-requested = 0
  • #changes-requested-reviews-by = 0
  • #review-threads-unresolved = 0

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?:

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@mergify mergify Bot requested a review from a team May 29, 2026 13:35
Copy link
Copy Markdown

Copilot AI left a comment

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 the new scopes.capacities configuration, explaining how to cap concurrency per scope in merge-queue parallel mode while still respecting the global max_parallel_checks ceiling.

Changes:

  • Documented scopes.capacities in the scopes configuration schema and linked to the detailed explanation.
  • Added a new “Limiting Concurrency per Scope” section to the parallel scopes documentation (model description + YAML example + worked example + multi-scope behavior + branch protection note).
  • Cross-linked the new section from the parallel checks documentation.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/content/docs/merge-queue/scopes.mdx Adds scopes.capacities to the top-level scopes keys and links to the detailed section.
src/content/docs/merge-queue/parallel-scopes.mdx Introduces the full per-scope capacity explanation, including examples and behavior notes.
src/content/docs/merge-queue/parallel-checks.mdx Adds a pointer to the new per-scope capacity documentation from the parallel checks tuning section.

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

@sileht sileht marked this pull request as ready for review May 29, 2026 14:47
@mergify mergify Bot requested a review from a team May 29, 2026 17:51
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.

3 participants