Repository navigation
[ci] Route dependencies.rayci.yml edits to the lock-consistency check, not the Java suite - #65941
Conversation
…, not the Java suite `.buildkite/dependencies.rayci.yml` has no specific rule in test.rules.txt, so it falls through every library `.rayci.yml` rule to the trailing `.buildkite/*.rayci.yml` catch-all, which emits `java`. That runs the Java worker suite as a generic smoke test on a file whose real consumers are the dependency and lock-consistency checks it defines. The file defines `raydepsets_compile_all_dependencies`, the `raydepsets --check` lock-consistency job, which carries the `deplock_check` tag. Add a specific rule ahead of the catch-all that emits `deplock_check`, so editing the pipeline runs the check it defines without the `java` over-trigger and without fanning out to the wheel/image matrix that `python_dependencies` carries. Record the expected file-to-tag result in test.rules.test.txt; the full expectations file still validates (134 checks, 0 mismatches) against the in-repo reference evaluator. Signed-off-by: Douglas Strodtman <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates the Buildkite test routing rules in .buildkite/test.rules.txt and .buildkite/test.rules.test.txt to map .buildkite/dependencies.rayci.yml to the deplock_check tag. This prevents changes to the dependency pipeline from incorrectly triggering the unrelated Java worker suite fallback. There are no review comments to address, and I have no additional feedback to provide.
There was a problem hiding this comment.
Code Review
This pull request updates the Buildkite test rules to route .buildkite/dependencies.rayci.yml to the deplock_check tag instead of falling back to the @ java catch-all. This ensures that changes to the dependency pipeline run the lock-consistency check without triggering unrelated Java suites or fanning out to the wheel/image matrix. There are no review comments to address, and I have no further feedback to provide.
…, not the Java suite (ray-project#65941) ## Problem Editing `.buildkite/dependencies.rayci.yml` runs the Java worker test suite as a generic smoke test, even though the file's real consumers are the dependency and lock-consistency checks it defines. ## Mechanism `.buildkite/test.rules.txt` maps changed files to tags, first match wins. There is no specific rule for `dependencies.rayci.yml`, so it falls through every library `.rayci.yml` rule to the trailing catch-all: ``` .buildkite/*.rayci.yml @ java ``` That catch-all is the deliberate anti-`*`-fan-out fallback: a `.rayci.yml` file with no specific rule runs `java` (a single worker suite) rather than the full `*` matrix. It's the right default for a genuinely unclassified pipeline file, but `dependencies.rayci.yml` is classified. It defines `raydepsets_compile_all_dependencies` (the `raydepsets --check` lock-consistency job), which carries the `deplock_check` tag. Its real blast radius is that check, not `java`. ## Fix Add a specific rule for `.buildkite/dependencies.rayci.yml` ahead of the `.buildkite/*.rayci.yml` catch-all, emitting `deplock_check`. Editing the pipeline now runs the lock-consistency job it defines, without the `java` over-trigger and without fanning out to the wheel/image matrix that `python_dependencies` carries. This is the same additive, one-file-forward move as ray-project#65934, one level up from the deplock lock files to the pipeline that defines their check. No existing rule changes behavior. `deplock_check` was added to `raydepsets_compile_all_dependencies` in ray-project#65934, so the tag already exists. ## Verification The `test-rules` step validates this PR's rule change against `.buildkite/test.rules.test.txt`, which now records: ``` .buildkite/dependencies.rayci.yml: deplock_check ``` Locally, against the in-repo reference evaluator (`ci/pipeline/determine_tests_to_run.py`): - `.buildkite/dependencies.rayci.yml` emits `deplock_check` (was `java`). - A genuinely unclassified `*.rayci.yml` file still falls to the `java` catch-all. - The per-library `.rayci.yml` rules and the docs-deplock rule are unchanged. - The full `test.rules.test.txt` expectations file revalidates: 134 checks, 0 mismatches, all emitted tags declared. ## Review `test.rules.txt` decides which CI steps run for every PR in the repo, so this is held as a draft pending Ray CI (REEf) sign-off on the rule placement before it goes ready for review. Signed-off-by: Douglas Strodtman <[email protected]>
…, not the Java suite (ray-project#65941) ## Problem Editing `.buildkite/dependencies.rayci.yml` runs the Java worker test suite as a generic smoke test, even though the file's real consumers are the dependency and lock-consistency checks it defines. ## Mechanism `.buildkite/test.rules.txt` maps changed files to tags, first match wins. There is no specific rule for `dependencies.rayci.yml`, so it falls through every library `.rayci.yml` rule to the trailing catch-all: ``` .buildkite/*.rayci.yml @ java ``` That catch-all is the deliberate anti-`*`-fan-out fallback: a `.rayci.yml` file with no specific rule runs `java` (a single worker suite) rather than the full `*` matrix. It's the right default for a genuinely unclassified pipeline file, but `dependencies.rayci.yml` is classified. It defines `raydepsets_compile_all_dependencies` (the `raydepsets --check` lock-consistency job), which carries the `deplock_check` tag. Its real blast radius is that check, not `java`. ## Fix Add a specific rule for `.buildkite/dependencies.rayci.yml` ahead of the `.buildkite/*.rayci.yml` catch-all, emitting `deplock_check`. Editing the pipeline now runs the lock-consistency job it defines, without the `java` over-trigger and without fanning out to the wheel/image matrix that `python_dependencies` carries. This is the same additive, one-file-forward move as ray-project#65934, one level up from the deplock lock files to the pipeline that defines their check. No existing rule changes behavior. `deplock_check` was added to `raydepsets_compile_all_dependencies` in ray-project#65934, so the tag already exists. ## Verification The `test-rules` step validates this PR's rule change against `.buildkite/test.rules.test.txt`, which now records: ``` .buildkite/dependencies.rayci.yml: deplock_check ``` Locally, against the in-repo reference evaluator (`ci/pipeline/determine_tests_to_run.py`): - `.buildkite/dependencies.rayci.yml` emits `deplock_check` (was `java`). - A genuinely unclassified `*.rayci.yml` file still falls to the `java` catch-all. - The per-library `.rayci.yml` rules and the docs-deplock rule are unchanged. - The full `test.rules.test.txt` expectations file revalidates: 134 checks, 0 mismatches, all emitted tags declared. ## Review `test.rules.txt` decides which CI steps run for every PR in the repo, so this is held as a draft pending Ray CI (REEf) sign-off on the rule placement before it goes ready for review. Signed-off-by: Douglas Strodtman <[email protected]>
Problem
Editing
.buildkite/dependencies.rayci.ymlruns the Java worker test suite as a generic smoke test, even though the file's real consumers are the dependency and lock-consistency checks it defines.Mechanism
.buildkite/test.rules.txtmaps changed files to tags, first match wins. There is no specific rule fordependencies.rayci.yml, so it falls through every library.rayci.ymlrule to the trailing catch-all:That catch-all is the deliberate anti-
*-fan-out fallback: a.rayci.ymlfile with no specific rule runsjava(a single worker suite) rather than the full*matrix. It's the right default for a genuinely unclassified pipeline file, butdependencies.rayci.ymlis classified. It definesraydepsets_compile_all_dependencies(theraydepsets --checklock-consistency job), which carries thedeplock_checktag. Its real blast radius is that check, notjava.Fix
Add a specific rule for
.buildkite/dependencies.rayci.ymlahead of the.buildkite/*.rayci.ymlcatch-all, emittingdeplock_check. Editing the pipeline now runs the lock-consistency job it defines, without thejavaover-trigger and without fanning out to the wheel/image matrix thatpython_dependenciescarries. This is the same additive, one-file-forward move as #65934, one level up from the deplock lock files to the pipeline that defines their check. No existing rule changes behavior.deplock_checkwas added toraydepsets_compile_all_dependenciesin #65934, so the tag already exists.Verification
The
test-rulesstep validates this PR's rule change against.buildkite/test.rules.test.txt, which now records:Locally, against the in-repo reference evaluator (
ci/pipeline/determine_tests_to_run.py):.buildkite/dependencies.rayci.ymlemitsdeplock_check(wasjava).*.rayci.ymlfile still falls to thejavacatch-all..rayci.ymlrules and the docs-deplock rule are unchanged.test.rules.test.txtexpectations file revalidates: 134 checks, 0 mismatches, all emitted tags declared.Review
test.rules.txtdecides which CI steps run for every PR in the repo, so this is held as a draft pending Ray CI (REEf) sign-off on the rule placement before it goes ready for review.