Repository navigation
[docs] Add ray-docs-reviewers fallback to library doc CODEOWNERS rules - #66429
Merged
Merged
Conversation
CODEOWNERS is last-match-wins, so each library doc rule replaced the /doc/ catch-all's owners and dropped the ray-docs-reviewers fallback. Add it to every rule that lists ray-docs, and record the invariant in the catch-all comment. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the .github/CODEOWNERS file to include @ray-project/ray-docs-reviewers as a fallback approver for various documentation paths, ensuring that documentation-required reviews always have a valid reviewer. It also adds clarifying comments regarding the 'last-match-wins' behavior of the CODEOWNERS file to prevent configuration errors. I have no further feedback to provide.
dstrodtman
enabled auto-merge (squash)
September 23, 2026 18:41
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.
Description
The
/doc/catch-all lists@ray-project/ray-docs-reviewersas 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-reviewersto each of those 15 rules and records the invariant in the catch-all comment: every rule that listsray-docsmust also listray-ciorray-docs-reviewers.The fallback is
ray-docs-reviewersrather thanray-cibecause the team has notifications disabled, so library doc PRs don't page anyone new. Library teams andray-docskeep exactly the ownership they had.Related issues
Follows up on #65704, which introduced the per-library doc rules.
Additional information
Verification
grepfinds no CODEOWNERS rule that lists@ray-project/ray-docswithoutray-ciorray-docs-reviewers.gh api repos/ray-project/ray/codeowners/errors?ref=<this branch>reports no new errors. The only two errors (unknown owner@jackfrancison the Azure autoscaler lines) exist identically onmaster.ray-docs-reviewersalready 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
.buildkiterules 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