Skip to content

[ci] Skip prose in the doc-routed doc_code/ directories to fix test-rules - #67089

Merged
dstrodtman merged 1 commit into
masterfrom
djs-261015-fix-test-rules-readme
Oct 15, 2026
Merged

dstrodtman merged 1 commit into
masterfrom
djs-261015-fix-test-rules-readme

Conversation

@dstrodtman

Copy link
Copy Markdown
Contributor

Why are these changes needed?

test-rules fails 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:

FAIL: doc/source/cluster/doc_code/README.md (line 180)
  +doc_example (unexpected)
1/192 test(s) failed

Two PRs that merged a minute apart conflict, though each passed test-rules on its own base:

This PR points that skip rule at the two doc-routed doc_code/ directories (cluster/ and ray-contribute/) instead of the removed templates directory. It also drops the stale doc/source/templates/README.md: expected result, which would now fail the same way, and adds the matching ray-contribute/doc_code/README.md: expected result.

Duplicate check

I searched open PRs for test-rules and test.rules README and 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 ran rayci test-rules from the repo root:

  • On master without this change, it fails with the same doc/source/cluster/doc_code/README.md (line 180) error as CI and exits 1.
  • With this change, it passes and exits 0.

AI assistance (Claude Code) was used to diagnose the failure and draft the change. I reviewed every changed line.

🤖 Generated with Claude Code

…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]>
@dstrodtman
dstrodtman requested a review from a team as a code owner October 15, 2026 19:07
@dstrodtman dstrodtman added the go add ONLY when ready to merge, run all tests label Oct 15, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

@dstrodtman
dstrodtman merged commit 883b05c into master Oct 15, 2026
5 checks passed
@dstrodtman
dstrodtman deleted the djs-261015-fix-test-rules-readme branch October 15, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants