Skip to content

docs: document org-wide default per-project concurrency cap#405

Merged
AnnaXWang merged 1 commit into
mainfrom
hypeship/docs-org-default-concurrency
Jun 9, 2026
Merged

docs: document org-wide default per-project concurrency cap#405
AnnaXWang merged 1 commit into
mainfrom
hypeship/docs-org-default-concurrency

Conversation

@AnnaXWang

@AnnaXWang AnnaXWang commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new org-wide default per-project concurrency cap on the Projects page (info/projects.mdx):

  • New Concurrency Limits section: explains the organization limit, the org-wide default, and per-project overrides, with the effective-cap resolution order (project override → org default → org limit only) and a PATCH /org/limits example.
  • Updates the projects endpoint table to the canonical /org/projects/... paths — the bare /projects/... routes are deprecated.
  • Tightens the intro bullet to mention the org-wide default.

The API Reference tab is auto-generated from the Stainless OpenAPI spec, so the /org/limits endpoint reference will appear there automatically once the API ships — this PR only covers the hand-written guide prose.

Depends on

The API endpoint (GET/PATCH /org/limits) lands in kernel/kernel#2350. This is a draft and should merge alongside / after that ships.

Needs verification before merge

  • SDK code samples (TypeScript / Python / Go) are predicted from stainless.yaml and have not been run against generated SDKs — the SDKs regenerate after kernel/kernel#2350 merges and Stainless syncs. The cURL example is authoritative; please verify the SDK method/type names (organization.limits.update, OrganizationLimitUpdateParams, UpdateOrgLimitsRequestParam) against the published SDKs before merging.
  • Preview: https://tbd-6fc993ce-hypeship-docs-org-default-concurrency.mintlify.app/info/projects

Test plan

  • Render the page in the Mintlify preview and confirm the new section + table look right
  • Verify SDK examples against the regenerated SDKs once kernel/kernel#2350 is live

Note

Low Risk
Documentation-only changes to info/projects.mdx with no runtime or API behavior in this repo.

Overview
Updates the Projects guide to match the canonical org-scoped API and the new org-wide default concurrency cap.

The Managing Projects table now uses /org/projects/... instead of deprecated /projects/... paths; per-project limit routes are documented under concurrency instead of in that table. The intro Why Projects? bullet now describes org-wide default caps plus per-project overrides.

A new Concurrency Limits section explains org vs per-project caps, resolution order (project override → org default → org limit only), endpoint tables for GET/PATCH /org/limits and /org/projects/{id}/limits, and multi-language examples for setting default_project_max_concurrent_sessions.

Reviewed by Cursor Bugbot for commit bff0c6c. Bugbot is set up for automated code reviews on this repo. Configure here.

Add a Concurrency Limits section explaining the org-level default, the
per-project override, and how a project's effective cap resolves. Also
update the projects endpoint table to the canonical /org/projects paths
(the bare /projects routes are deprecated).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Kernel 🟢 Ready View Preview Jun 9, 2026, 5:35 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@AnnaXWang AnnaXWang marked this pull request as ready for review June 9, 2026 18:53
@firetiger-agent

Copy link
Copy Markdown

Firetiger deploy monitoring skipped

This PR didn't match the auto-monitor filter configured on your GitHub connection:

PRs in the kernel, infra, hypeman, and hypeship repos. kernel is a ~mono repo with many logical services underneath, ensure to focus on the implicated service for the PR

Reason: This PR is documentation-only (edits to info/projects.mdx) and does not involve code changes to the kernel, infra, hypeman, or hypeship services themselves.

To monitor this PR anyway, reply with @firetiger monitor this.

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit bff0c6c. Configure here.

Comment thread info/projects.mdx
-H "Authorization: Bearer $KERNEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "default_project_max_concurrent_sessions": 10 }'
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

cURL tab in guide CodeGroup

Medium Severity

The Set an org-wide default CodeGroup adds a cURL tab with a raw PATCH request. Guide pages in info/ are meant to show TypeScript, Python, and Go SDK examples only; REST examples belong in API reference, not alongside SDK tabs on this page.

Fix in Cursor Fix in Web

Triggered by learned rule: Guide pages use SDK examples only — no CLI or REST API subsections

Reviewed by Cursor Bugbot for commit bff0c6c. Configure here.

@cursor cursor Bot 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.

Risk assessment: Very Low Risk

Evidence from the diff: this PR modifies only info/projects.mdx, adding and correcting user-facing documentation for project concurrency limits and related endpoint examples. There are no changes to production codepaths, generated API specs, navigation/config, infrastructure, auth/permissions logic, or shared libraries. I also found no CODEOWNERS file in the repo requiring owner review for this path.

Approval decision: approved because the change is documentation-only with a small, isolated blast radius and the PR had not already been approved.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

@AnnaXWang AnnaXWang merged commit c9a2393 into main Jun 9, 2026
4 checks passed
@AnnaXWang AnnaXWang deleted the hypeship/docs-org-default-concurrency branch June 9, 2026 21:44
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.

2 participants