Repository navigation
[docs] Map library-owned doc directories to their owning teams - #65704
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the .github/CODEOWNERS file to add specific code ownership rules for several documentation directories, including ray-observability, workflows, ray-more-libs, ray-air, and llm. It also adds explanatory comments clarifying the catch-all /doc/ ownership. There are no review comments, and I have no feedback to provide.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 884f152. Configure here.
Documentation directories that belong to a library previously fell through to the `/doc/` catch-all, whose non-docs owner is ray-ci and whose owners are the docs teams. A core (or other library) maintainer approving such a PR did not satisfy the doc-path code-owner requirement, so a change to library-owned docs needed a separate docs-team review to merge even when the owning library had already approved. Map each library-owned content directory to its owning team, following the existing `@ray-project/ray-<team> @ray-project/ray-docs` pattern so either the library or the docs team can unblock: - ray-observability, ray-more-libs -> ray-core - ray-air -> ray-train (matches /python/ray/air/ ownership) - llm -> ray-llm (matches /python/ray/llm/ and the existing serve/llm rule) Each team already owns the corresponding code, so this routes doc review to the people who own the feature. The `/doc/` catch-all now covers only cross-project meta content (ray-overview, ray-references, ray-governance, ray-security, ray-contribute, apis, templates) and the doc build infrastructure, which is documented in a comment on the catch-all rule. Signed-off-by: Douglas Strodtman <[email protected]>
dstrodtman
force-pushed
the
djs-260824-doc-codeowners-teams
branch
from
August 24, 2026 18:14
884f152 to
441a49f
Compare
dstrodtman
added a commit
that referenced
this pull request
Sep 23, 2026
#66429) ## Description The `/doc/` catch-all lists `@ray-project/ray-docs-reviewers` as a silent fallback (notifications disabled), so docs leads can unblock a docs-required review when no one else is available. The per-library doc rules added in #65704 and earlier didn't carry it over. CODEOWNERS is last-match-wins: the more specific library rule replaces the catch-all's owners instead of adding to them. So every file under a library doc directory lost the fallback. That covers all four LLM doc rules (`llm/`, `serve/llm/`, `data/working-with-llms.rst`, `data/doc_code/working-with-llms/`) and the other 11 library doc rules (`cluster/`, `cluster/kubernetes/`, `ray-core/`, `ray-observability/`, `ray-more-libs/`, `data/`, `rllib/`, `tune/`, `train/`, `ray-air/`, `serve/`). This PR adds `@ray-project/ray-docs-reviewers` to each of those 15 rules and records the invariant in the catch-all comment: every rule that lists `ray-docs` must also list `ray-ci` or `ray-docs-reviewers`. The fallback is `ray-docs-reviewers` rather than `ray-ci` because the team has notifications disabled, so library doc PRs don't page anyone new. Library teams and `ray-docs` keep exactly the ownership they had. ## Related issues Follows up on #65704, which introduced the per-library doc rules. ## Additional information **Verification** - After the change, `grep` finds no CODEOWNERS rule that lists `@ray-project/ray-docs` without `ray-ci` or `ray-docs-reviewers`. - `gh api repos/ray-project/ray/codeowners/errors?ref=<this branch>` reports no new errors. The only two errors (unknown owner `@jackfrancis` on the Azure autoscaler lines) exist identically on `master`. - `ray-docs-reviewers` already appears on `/doc/` and `/.readthedocs.yaml`, so this introduces no new team reference. **Not a duplicate:** The only other open PR touching CODEOWNERS is #65951, which edits the `.buildkite` rules and doesn't overlap these lines. **AI assistance:** AI assistance (Claude Code) was used to draft this change. I reviewed every line and stand behind it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
…roject#65704) ## Summary Documentation directories that belong to a specific library used to fall through to the `/doc/` catch-all rule in CODEOWNERS. That rule's owners are the docs teams plus `ray-ci`, so a library maintainer approving a doc change to their own feature did **not** satisfy the doc-path code-owner requirement. Those PRs stayed blocked on a separate docs-team approval even after the owning library had signed off. This maps each library-owned content directory to its owning team, following the pattern the already-mapped directories use (`@ray-project/ray-<team> @ray-project/ray-docs`), so either the library or the docs team can unblock: | Directory | Owner added | Grounded in | |---|---|---| | `doc/source/ray-observability/` | `ray-core` | observability (logging, metrics, dashboard) is core; no dedicated team, and the code falls to `/python/ray/` → `ray-core` | | `doc/source/ray-more-libs/` | `ray-core` | integration libs (dask, modin, joblib, multiprocessing, raydp) → `/python/ray/` → `ray-core` | | `doc/source/ray-air/` | `ray-train` | matches existing `/python/ray/air/ @ray-project/ray-train` | | `doc/source/llm/` | `ray-llm` | matches existing `/python/ray/llm/ @ray-project/ray-llm` and the `serve/llm` doc rule | (An earlier revision also mapped `doc/source/workflows/`, but that tree has no tracked files on `master` — Ray Workflows is deprecated — so a rule there would match nothing. Dropped after bot review flagged it.) `ray-docs` stays as co-owner on every mapped path, so nothing that the docs team could review before it can review now; the change only lets the owning library self-unblock. Because CODEOWNERS is last-match-wins and these rules are more specific than `/doc/`, they take effect without touching any other rule. ### What intentionally stays on the catch-all The remaining `/doc/` content is genuinely cross-project and correctly keeps the docs/CI owners: `ray-overview`, `ray-references`, `ray-governance`, `ray-security`, `ray-contribute`, `apis`, `templates`, and the build infrastructure (`_ext`, `_static`, `_templates`, `_includes`, `_intersphinx`, `images`). A comment on the catch-all rule now records that split so the boundary doesn't drift. ### Not a duplicate No open PR or rule touches these directories in CODEOWNERS; they were simply never given a specific rule. This continues the pattern established by the existing per-library doc rules (`data`, `serve`, `train`, `tune`, `rllib`, `ray-core`, `cluster`). ### Verification - Enumerated every `doc/source/*` content directory and confirmed each is now either mapped to a library team or intentionally on the catch-all, and that each mapped directory has tracked content on `master` (via `git ls-tree`). - Confirmed each newly assigned team already owns the corresponding source tree in this same file, so no new team reference is introduced (GitHub validates that owner teams have repo access). - Confirmed last-match-wins ordering: each new rule is more specific than, and appears after, the `/doc/` catch-all. CODEOWNERS has no build/unit test; the checks above are the relevant verification. ### AI assistance AI assistance (Claude Code) was used to draft this change. I reviewed every line and stand behind it. Signed-off-by: Douglas Strodtman <[email protected]>
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
ray-project#66429) ## Description The `/doc/` catch-all lists `@ray-project/ray-docs-reviewers` as a silent fallback (notifications disabled), so docs leads can unblock a docs-required review when no one else is available. The per-library doc rules added in ray-project#65704 and earlier didn't carry it over. CODEOWNERS is last-match-wins: the more specific library rule replaces the catch-all's owners instead of adding to them. So every file under a library doc directory lost the fallback. That covers all four LLM doc rules (`llm/`, `serve/llm/`, `data/working-with-llms.rst`, `data/doc_code/working-with-llms/`) and the other 11 library doc rules (`cluster/`, `cluster/kubernetes/`, `ray-core/`, `ray-observability/`, `ray-more-libs/`, `data/`, `rllib/`, `tune/`, `train/`, `ray-air/`, `serve/`). This PR adds `@ray-project/ray-docs-reviewers` to each of those 15 rules and records the invariant in the catch-all comment: every rule that lists `ray-docs` must also list `ray-ci` or `ray-docs-reviewers`. The fallback is `ray-docs-reviewers` rather than `ray-ci` because the team has notifications disabled, so library doc PRs don't page anyone new. Library teams and `ray-docs` keep exactly the ownership they had. ## Related issues Follows up on ray-project#65704, which introduced the per-library doc rules. ## Additional information **Verification** - After the change, `grep` finds no CODEOWNERS rule that lists `@ray-project/ray-docs` without `ray-ci` or `ray-docs-reviewers`. - `gh api repos/ray-project/ray/codeowners/errors?ref=<this branch>` reports no new errors. The only two errors (unknown owner `@jackfrancis` on the Azure autoscaler lines) exist identically on `master`. - `ray-docs-reviewers` already appears on `/doc/` and `/.readthedocs.yaml`, so this introduces no new team reference. **Not a duplicate:** The only other open PR touching CODEOWNERS is ray-project#65951, which edits the `.buildkite` rules and doesn't overlap these lines. **AI assistance:** AI assistance (Claude Code) was used to draft this change. I reviewed every line and stand behind it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Documentation directories that belong to a specific library used to fall through to the
/doc/catch-all rule in CODEOWNERS. That rule's owners are the docs teams plusray-ci, so a library maintainer approving a doc change to their own feature did not satisfy the doc-path code-owner requirement. Those PRs stayed blocked on a separate docs-team approval even after the owning library had signed off.This maps each library-owned content directory to its owning team, following the pattern the already-mapped directories use (
@ray-project/ray-<team> @ray-project/ray-docs), so either the library or the docs team can unblock:doc/source/ray-observability/ray-core/python/ray/→ray-coredoc/source/ray-more-libs/ray-core/python/ray/→ray-coredoc/source/ray-air/ray-train/python/ray/air/ @ray-project/ray-traindoc/source/llm/ray-llm/python/ray/llm/ @ray-project/ray-llmand theserve/llmdoc rule(An earlier revision also mapped
doc/source/workflows/, but that tree has no tracked files onmaster— Ray Workflows is deprecated — so a rule there would match nothing. Dropped after bot review flagged it.)ray-docsstays as co-owner on every mapped path, so nothing that the docs team could review before it can review now; the change only lets the owning library self-unblock. Because CODEOWNERS is last-match-wins and these rules are more specific than/doc/, they take effect without touching any other rule.What intentionally stays on the catch-all
The remaining
/doc/content is genuinely cross-project and correctly keeps the docs/CI owners:ray-overview,ray-references,ray-governance,ray-security,ray-contribute,apis,templates, and the build infrastructure (_ext,_static,_templates,_includes,_intersphinx,images). A comment on the catch-all rule now records that split so the boundary doesn't drift.Not a duplicate
No open PR or rule touches these directories in CODEOWNERS; they were simply never given a specific rule. This continues the pattern established by the existing per-library doc rules (
data,serve,train,tune,rllib,ray-core,cluster).Verification
doc/source/*content directory and confirmed each is now either mapped to a library team or intentionally on the catch-all, and that each mapped directory has tracked content onmaster(viagit ls-tree)./doc/catch-all.CODEOWNERS has no build/unit test; the checks above are the relevant verification.
AI assistance
AI assistance (Claude Code) was used to draft this change. I reviewed every line and stand behind it.