Repository navigation
[ci] Skip prose in the doc-routed doc_code/ directories to fix test-rules - #67089
Merged
Merged
Conversation
…ules #67008 and #66809 merged a minute apart and passed test-rules separately, but together they fail it on master. #67008 expects doc/source/cluster/doc_code/README.md to emit no tags. #66809 routes doc/source/*.md to doc_example, and its skip rule only exempted doc/source/templates/*.md, which #67008 removed. Point that skip at the two doc-routed doc_code/ directories instead, drop the stale templates/README.md expectation, and add the matching ray-contribute/doc_code expectation. 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 Buildkite test rules to adjust which Markdown files are skipped during testing. Specifically, it removes the rule for doc/source/templates/.md and adds rules to skip Markdown files under the doc_code directories of cluster and ray-contribute (such as doc/source/cluster/doc_code/.md and doc/source/ray-contribute/doc_code/*.md). Corresponding updates were also made to the test rules test file. There are no review comments, and I have no feedback to provide.
elliot-barn
approved these changes
Oct 15, 2026
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.
Why are these changes needed?
test-rulesfails on master, so every premerge build that includes master since 18:32Z today goes red. For example, 74953 and 74954 both fail on the same line:Two PRs that merged a minute apart conflict, though each passed
test-ruleson its own base:doc/source/templates/. It added the expected resultdoc/source/cluster/doc_code/README.md:(no tags), because prose inside adoc-routeddoc_code/directory is skipped.doc/source/*.mdtodoc_example. Its skip rule for prose that Sphinx never renders exempted onlydoc/source/templates/*.md, which [doc] Remove the retired doc/source/templates starter templates #67008 had just removed.This PR points that skip rule at the two
doc-routeddoc_code/directories (cluster/andray-contribute/) instead of the removed templates directory. It also drops the staledoc/source/templates/README.md:expected result, which would now fail the same way, and adds the matchingray-contribute/doc_code/README.md:expected result.Duplicate check
I searched open PRs for
test-rulesandtest.rules READMEand found no fix in flight. I'm the author of both PRs that conflict.Testing
I built rayci at the repo's pinned version (
.rayciversion= 0.48.0) and ranrayci test-rulesfrom the repo root:doc/source/cluster/doc_code/README.md (line 180)error as CI and exits 1.AI assistance (Claude Code) was used to diagnose the failure and draft the change. I reviewed every changed line.
🤖 Generated with Claude Code