Repository navigation
[Data] Import REVIEW.md files from CLAUDE.md so local /code-review applies them - #68532
Merged
goutamvenkat-anyscale merged 1 commit intoNov 24, 2026
Conversation
…plies them Local /code-review discovers CLAUDE.md and CLAUDE.local.md on the changed files' ancestor paths, but not REVIEW.md, so the Ray Data review rules added in ray-project#67928 were never applied. Import each REVIEW.md from a CLAUDE.md in the same directory. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Goutam <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates several CLAUDE.md configuration files across the python/ray/data directory and its subdirectories to import the @../REVIEW.md rules, ensuring that Claude reads the review rules when working on files within these directories. There are no review comments to address, and I have no further feedback to provide.
AarryaSaraf
approved these changes
Nov 24, 2026
goutamvenkat-anyscale
enabled auto-merge (squash)
November 24, 2026 23:06
goutamvenkat-anyscale
deleted the
goutam/data-review-md-claude-imports
branch
November 24, 2026 23:16
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
Import each Ray Data
REVIEW.mdfrom aCLAUDE.mdin the same directory, so a local/code-reviewin Claude Code applies the review rules added in #67928, not only the hosted Code Review.Before
The hosted Claude Code Review reads
REVIEW.mdnatively. The local/code-reviewcommand doesn't: it looks only forCLAUDE.mdandCLAUDE.local.mdon the changed files' ancestor paths.AGENTS.mdwas applied only becausepython/ray/data/.claude/CLAUDE.mdimports it.Seen on #67840: a local review listed the
REVIEW.mdfiles but never read them, and raised nothing from them.After
python/ray/data/.claude/CLAUDE.mdimports../REVIEW.mdalongside../AGENTS.md..claude/CLAUDE.mdfiles import../REVIEW.mdin_internal/execution,_internal/logical,_internal/planner,_internal/datasource,_internal/datasource_v2anddatasource.Rerunning the local review of #67840 with these imports, the reviewer read
python/ray/data/REVIEW.mdand_internal/datasource_v2/REVIEW.md, and raised a finding citing thedatasource_v2rule on Arrow schemas ininterfaces/.Side effects:
REVIEW.md(26–120 lines each) as context.CLAUDE.md. The content is identical, so this shouldn't change its findings.No code or behavior change to Ray Data.
Subsystems
None at runtime. Agent/review configuration for all Ray Data subsystems.
Testing
pre-commithooks ran on commit and passed (trailing whitespace, end of file, links to master resolve).@../REVIEW.mdimport resolves to an existing file./code-reviewon [Data] Pack Parquet read tasks by estimated decoded size in DSv2 [5/6] #67840 with the imports, as described above.Notes
gh pr list --repo ray-project/ray --state open --search "REVIEW.md"returns only [Data] Pack Parquet read tasks by estimated decoded size in DSv2 [5/6] #67840, which is unrelated; searches for "CLAUDE.md data" and "code-review data" found nothing that touches these files.🤖 Generated with Claude Code