Skip to content

[ci] Route dependencies.rayci.yml edits to the lock-consistency check, not the Java suite - #65941

Merged
dstrodtman merged 3 commits into
masterfrom
doc-1648-dependencies-rayci-deplock
Sep 21, 2026
Merged

dstrodtman merged 3 commits into
masterfrom
doc-1648-dependencies-rayci-deplock

Conversation

@dstrodtman

Copy link
Copy Markdown
Contributor

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 #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 #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.

…, 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]>
@dstrodtman dstrodtman added the go add ONLY when ready to merge, run all tests label Sep 4, 2026
@dstrodtman
dstrodtman marked this pull request as ready for review September 4, 2026 19:32
@dstrodtman
dstrodtman requested a review from a team as a code owner September 4, 2026 19:32

@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 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.

@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 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.

@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core devprod labels Sep 9, 2026
@dstrodtman
dstrodtman merged commit bc900c2 into master Sep 21, 2026
6 checks passed
@dstrodtman
dstrodtman deleted the doc-1648-dependencies-rayci-deplock branch September 21, 2026 15:44
owenowenisme pushed a commit to owenowenisme/ray that referenced this pull request Sep 23, 2026
…, 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]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…, 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core devprod 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