Skip to content

docs: combined concurrency limits and queue gates - #4853

Open
matt-aitken wants to merge 6 commits into
feat/queue-concurrency-metricsfrom
docs/queue-concurrency-features
Open

docs: combined concurrency limits and queue gates#4853
matt-aitken wants to merge 6 commits into
feat/queue-concurrency-metricsfrom
docs/queue-concurrency-features

Conversation

@matt-aitken

Copy link
Copy Markdown
Member

Summary

Documents the queue concurrency features shipping in this stack: the combinedConcurrencyLimit queue option that caps a keyed queue across all of its concurrencyKey values, queue gates (array queue syntax for holding a slot in more than one queue), and the combined override/reset SDK methods and endpoints.

The concurrency guide gains sections on combined limits and gates with self-hosting notes for the server flags, the OpenAPI spec gains the two combined endpoints and the concurrency.combined response field, and the management reference gains pages for both new endpoints.

Stacked on #4830.

@changeset-bot

changeset-bot Bot commented Aug 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e73840d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d1af9c74-f3f6-4507-8c67-179fa86ba75f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

devin-ai-integration[bot]

This comment was marked as resolved.

@matt-aitken
matt-aitken force-pushed the docs/queue-concurrency-features branch 2 times, most recently from 05bef1a to 7998d68 Compare August 31, 2026 17:34
devin-ai-integration[bot]

This comment was marked as resolved.

@matt-aitken
matt-aitken force-pushed the docs/queue-concurrency-features branch 4 times, most recently from 8468fd5 to af1ed4f Compare August 31, 2026 18:01
…body required

The gates intro promised a task-wide cap the keyed example does not
deliver (a concurrencyKey splits the home queue per key); the combined
object is emitted on every queue with null fields rather than omitted;
and both reset endpoints reject a zero-length body, so the body is
required. Also restores the example that drifted off overriddenAt.
A Use cases index links each goal to its section, the multi-queue
section names the home queue and gate concepts once and gives each
pattern its own worked example (per-tenant cap across tasks, global cap
for a shared resource via a combined-only queue, pinned-key shared
pool), and the per-key-except-combined rule gets a warning callout.
Folds in the simplified wording and removes self-hosting notes.
@matt-aitken
matt-aitken force-pushed the docs/queue-concurrency-features branch from af1ed4f to ab4c607 Compare August 31, 2026 18:13
The combined limit only counts keyed runs, so the shared-resource
example now shows the keyed trigger and warns that keyless runs bypass
the cap, pointing those cases at the pinned-key pool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant