Skip to content

[ci] Give ray-wheel-minimal-build a distinct wanda image name - #65318

Merged
elliot-barn merged 3 commits into
masterfrom
wheel-minimal-distinct-wanda-name
Aug 11, 2026
Merged

elliot-barn merged 3 commits into
masterfrom
wheel-minimal-distinct-wanda-name

Conversation

@elliot-barn

Copy link
Copy Markdown
Collaborator

Why are these changes needed?

ray-wheel-minimal-build — the CI smoke test for the no-java/no-dashboard wheel build path (#62506) — publishes to the same wanda image name as the real py3.13 wheel build. ci/docker/ray-wheel.wanda.yaml names its output purely from PYTHON_VERSION/ARCH_SUFFIX, so both steps push to <work-repo>:<rayci-build-id>-ray-wheel-py3.13 and the last writer wins.

When the minimal build finishes last, the dashboard-less/jar-less wheel silently replaces the full wheel for every downstream consumer — the wheel S3 upload, every py3.13 x86_64 image (cpu + every CUDA variant), and CI test containers — with no error anywhere in the build: both wheels produce the identical filename ray-3.0.0.dev0-cp313-cp313-manylinux2014_x86_64.whl.

Observed impact: release build 103723 lost this race (minimal wheel pushed 13s after the full wheel; the published b9d27506-py313-cu130 image contains the 43.7MB minimal wheel with zero ray/dashboard/client/build files) and both py3.13 cu130 release tests failed — clusters die on head-node startup with FrontendNotFoundError: Dashboard build directory not found. Release build 103652, built from the same commit, won the race (78.3MB full wheel, dashboard present) and passed. The race also intermittently poisons premerge. Because wanda steps have no manual retry once green, a lost race cannot be repaired in-place.

What

Parameterize the wanda image name: ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX$WHEEL_NAME_SUFFIX.

  • minimal build → ray-wheel-py3.13-minimal (its image has no consumers — the step is a build-path smoke test — so nothing else changes)
  • all real wheel builds (x86_64, aarch64, local build_wheel.py) set WHEEL_NAME_SUFFIX: "" → names unchanged, no downstream references touched

Related issue number

N/A

Checks

🤖 Generated with Claude Code

@elliot-barn
elliot-barn requested review from a team as code owners August 10, 2026 06:26
ray-wheel-minimal-build (the CI smoke test for the no-java/no-dashboard
wheel build path, #62506) publishes to the same wanda image name as the
real py3.13 wheel build: ci/docker/ray-wheel.wanda.yaml names its output
purely from PYTHON_VERSION/ARCH_SUFFIX, so both steps push to
<work-repo>:<rayci-build-id>-ray-wheel-py3.13 and the last writer wins.

When the minimal build finishes last, the dashboard-less/jar-less wheel
silently replaces the full wheel for every downstream consumer: the
wheel S3 upload, every py3.13 x86_64 image (cpu + every CUDA variant),
and CI test containers. The resulting images fail 'ray start' on
cluster launch with 'FrontendNotFoundError: Dashboard build directory
not found' (release builds 103723 vs 103652 built from the same commit:
one lost the race and both py313_cu130 release tests failed, the other
won it and passed).

Parameterize the wanda image name with WHEEL_NAME_SUFFIX: the minimal
build publishes as ray-wheel-py3.13-minimal (it has no consumers, so
nothing else changes) and all real wheel builds set an empty suffix,
keeping their names and downstream references unchanged.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn
elliot-barn force-pushed the wheel-minimal-distinct-wanda-name branch from 66b9c69 to 48223ae Compare August 10, 2026 06:27

@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 introduces a WHEEL_NAME_SUFFIX environment variable to differentiate the Docker image names of minimal wheel builds (without Java and Dashboard) from full wheel builds, preventing them from overwriting each other during the build process. The feedback suggests dynamically setting WHEEL_NAME_SUFFIX to "-minimal" in ci/build/build_wheel.py for local builds when both no_java and no_dashboard are enabled, ensuring consistency with CI and preventing local image tag clobbering.

Comment thread ci/build/build_wheel.py
"IS_LOCAL_BUILD": "true",
"RAY_JAVA_IMAGE": java_image,
"RAY_DASHBOARD_IMAGE": dashboard_image,
"WHEEL_NAME_SUFFIX": "",

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.

medium

For local builds, if a developer builds a minimal wheel (with both Java and Dashboard disabled), the intermediate Docker image built by raymake will still be tagged as ray-wheel-py<version> and will clobber the full wheel's local Docker image. We can dynamically set WHEEL_NAME_SUFFIX to "-minimal" when both no_java and no_dashboard are enabled to maintain consistency with CI and prevent local image tag clobbering.

Suggested change
"WHEEL_NAME_SUFFIX": "",
"WHEEL_NAME_SUFFIX": "-minimal" if (self.no_java and self.no_dashboard) else "",

@ray-gardener ray-gardener Bot added the devprod label Aug 10, 2026
@elliot-barn elliot-barn added the go add ONLY when ready to merge, run all tests label Aug 10, 2026
elliot-barn pushed a commit that referenced this pull request Aug 10, 2026
## Summary

Regenerates
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock`, which has
been failing `raydepsets --check` since 2026-08-05.

#65114 added the file pinning `aiohttp==3.13.5`, but aiohttp 3.14.3 was
published on 2026-07-23 — before that PR landed. A fresh `uv pip
compile` therefore resolves 3.14.3, and `build: raydepsets: compile all
dependencies` reports the committed lock as out of date:

```
--- python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
+++ /tmp/.../python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
@@ -13,127 +13,126 @@
-aiohttp==3.13.5
+aiohttp==3.14.3
```

`aiohttp` is the only package that moves. The rest of the diff is its
hash block, one line shorter — which matches the `@@ -13,127 +13,126 @@`
hunk the checker produced.

## Why this went unnoticed for five days

The check is gated on the `python_dependencies` tag
(`.buildkite/dependencies.rayci.yml:22-27`), which a PR only earns by
touching `python/deplocks/`, `ci/raydepsets/configs/` or
`python/requirements*`. **1 of the last 40 premerge builds ran the step
at all.** So almost nothing trips it, and the PRs that do inherit an
unrelated red X, because the step runs `--all-configs` and checks every
lock in the repo rather than the one the PR edited.

Postmerge ignores tags, so it is also failing there — including on
`releases/2.58.0` (postmerge build 19108), which puts it in the 2.58.0
release path.

## Testing

Regenerated with the depset's own config rather than by hand, so the
output is whatever the checker computes:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build \
  ci/raydepsets/configs/ray_torch.depsets.yaml \
  --name ray_torch_cu128_base_depset_314
```

Then the full gate, exactly as CI runs it:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build --all-configs --check
```

- **Passes** (exit 0) with this change applied.
- Only `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` is
modified — `git status` is otherwise clean after the full check, so no
other lock has drifted and the fix is complete rather than the first of
several.
- Verified against master beforehand: the same command fails on
`origin/master` with the diff quoted above.

One note for anyone re-running this locally: `--all-configs`
intermittently dies on `503 Service Unavailable` from
`download.pytorch.org` while resolving the GPU configs (it hit
`.../whl/cu128/jupyter-lsp/` on my first attempt). That's transient and
unrelated — a retry passed. Worth distinguishing from a genuine lock
mismatch, since both surface as exit 1.

## Not a duplicate

No open PR touches this file. Checked the plausible candidates' file
lists directly rather than by title: #65305 (depset config JSON schema
validation), #65318 (wanda image rename), #65206 (dependabot bumping
aiohttp in `ci/raydepsets/tests/test_data/`, a test fixture rather than
a real deplock), #64885 (text_embedding release-test depset) — none of
them modify `python/deplocks/ray-torch/`. `python/deplocks/ray-torch/`
has exactly one commit in its history, #65114, which is the one that
introduced the drift. No commit has touched any deplock since
2026-08-05.

cc the author of #65114 for awareness, since this is their file.

## AI assistance

Prepared with AI assistance (Claude Code). I have reviewed the change
and can defend it: it is a mechanical regeneration, the diff is one
package plus its hashes, and the verification above is the same command
CI runs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Ronny Roland <[email protected]>
Artimislyy pushed a commit to Artimislyy/ray that referenced this pull request Aug 11, 2026
…ject#65343)

## Summary

Regenerates
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock`, which has
been failing `raydepsets --check` since 2026-08-05.

ray-project#65114 added the file pinning `aiohttp==3.13.5`, but aiohttp 3.14.3 was
published on 2026-07-23 — before that PR landed. A fresh `uv pip
compile` therefore resolves 3.14.3, and `build: raydepsets: compile all
dependencies` reports the committed lock as out of date:

```
--- python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
+++ /tmp/.../python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
@@ -13,127 +13,126 @@
-aiohttp==3.13.5
+aiohttp==3.14.3
```

`aiohttp` is the only package that moves. The rest of the diff is its
hash block, one line shorter — which matches the `@@ -13,127 +13,126 @@`
hunk the checker produced.

## Why this went unnoticed for five days

The check is gated on the `python_dependencies` tag
(`.buildkite/dependencies.rayci.yml:22-27`), which a PR only earns by
touching `python/deplocks/`, `ci/raydepsets/configs/` or
`python/requirements*`. **1 of the last 40 premerge builds ran the step
at all.** So almost nothing trips it, and the PRs that do inherit an
unrelated red X, because the step runs `--all-configs` and checks every
lock in the repo rather than the one the PR edited.

Postmerge ignores tags, so it is also failing there — including on
`releases/2.58.0` (postmerge build 19108), which puts it in the 2.58.0
release path.

## Testing

Regenerated with the depset's own config rather than by hand, so the
output is whatever the checker computes:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build \
  ci/raydepsets/configs/ray_torch.depsets.yaml \
  --name ray_torch_cu128_base_depset_314
```

Then the full gate, exactly as CI runs it:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build --all-configs --check
```

- **Passes** (exit 0) with this change applied.
- Only `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` is
modified — `git status` is otherwise clean after the full check, so no
other lock has drifted and the fix is complete rather than the first of
several.
- Verified against master beforehand: the same command fails on
`origin/master` with the diff quoted above.

One note for anyone re-running this locally: `--all-configs`
intermittently dies on `503 Service Unavailable` from
`download.pytorch.org` while resolving the GPU configs (it hit
`.../whl/cu128/jupyter-lsp/` on my first attempt). That's transient and
unrelated — a retry passed. Worth distinguishing from a genuine lock
mismatch, since both surface as exit 1.

## Not a duplicate

No open PR touches this file. Checked the plausible candidates' file
lists directly rather than by title: ray-project#65305 (depset config JSON schema
validation), ray-project#65318 (wanda image rename), ray-project#65206 (dependabot bumping
aiohttp in `ci/raydepsets/tests/test_data/`, a test fixture rather than
a real deplock), ray-project#64885 (text_embedding release-test depset) — none of
them modify `python/deplocks/ray-torch/`. `python/deplocks/ray-torch/`
has exactly one commit in its history, ray-project#65114, which is the one that
introduced the drift. No commit has touched any deplock since
2026-08-05.

cc the author of ray-project#65114 for awareness, since this is their file.

## AI assistance

Prepared with AI assistance (Claude Code). I have reviewed the change
and can defend it: it is a mechanical regeneration, the diff is one
package plus its hashes, and the verification above is the same command
CI runs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Ronny Roland <[email protected]>
elliot-barn pushed a commit that referenced this pull request Aug 11, 2026
…http 3.14.3) (#65343) (#65378)

## Summary

Regenerates
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock`, which has
been failing `raydepsets --check` since 2026-08-05.

#65114 added the file pinning `aiohttp==3.13.5`, but aiohttp 3.14.3 was
published on 2026-07-23 — before that PR landed. A fresh `uv pip
compile` therefore resolves 3.14.3, and `build: raydepsets: compile all
dependencies` reports the committed lock as out of date:

```


--- python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
+++ /tmp/.../python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
@@ -13,127 +13,126 @@
-aiohttp==3.13.5
+aiohttp==3.14.3
```

`aiohttp` is the only package that moves. The rest of the diff is its
hash block, one line shorter — which matches the `@@ -13,127 +13,126 @@`
hunk the checker produced.

## Why this went unnoticed for five days

The check is gated on the `python_dependencies` tag
(`.buildkite/dependencies.rayci.yml:22-27`), which a PR only earns by
touching `python/deplocks/`, `ci/raydepsets/configs/` or
`python/requirements*`. **1 of the last 40 premerge builds ran the step
at all.** So almost nothing trips it, and the PRs that do inherit an
unrelated red X, because the step runs `--all-configs` and checks every
lock in the repo rather than the one the PR edited.

Postmerge ignores tags, so it is also failing there — including on
`releases/2.58.0` (postmerge build 19108), which puts it in the 2.58.0
release path.

## Testing

Regenerated with the depset's own config rather than by hand, so the
output is whatever the checker computes:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build \
  ci/raydepsets/configs/ray_torch.depsets.yaml \
  --name ray_torch_cu128_base_depset_314
```

Then the full gate, exactly as CI runs it:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build --all-configs --check
```

- **Passes** (exit 0) with this change applied.
- Only `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` is
modified — `git status` is otherwise clean after the full check, so no
other lock has drifted and the fix is complete rather than the first of
several.
- Verified against master beforehand: the same command fails on
`origin/master` with the diff quoted above.

One note for anyone re-running this locally: `--all-configs`
intermittently dies on `503 Service Unavailable` from
`download.pytorch.org` while resolving the GPU configs (it hit
`.../whl/cu128/jupyter-lsp/` on my first attempt). That's transient and
unrelated — a retry passed. Worth distinguishing from a genuine lock
mismatch, since both surface as exit 1.

## Not a duplicate

No open PR touches this file. Checked the plausible candidates' file
lists directly rather than by title: #65305 (depset config JSON schema
validation), #65318 (wanda image rename), #65206 (dependabot bumping
aiohttp in `ci/raydepsets/tests/test_data/`, a test fixture rather than
a real deplock), #64885 (text_embedding release-test depset) — none of
them modify `python/deplocks/ray-torch/`. `python/deplocks/ray-torch/`
has exactly one commit in its history, #65114, which is the one that
introduced the drift. No commit has touched any deplock since
2026-08-05.

cc the author of #65114 for awareness, since this is their file.

## AI assistance

Prepared with AI assistance (Claude Code). I have reviewed the change
and can defend it: it is a mechanical regeneration, the diff is one
package plus its hashes, and the verification above is the same command
CI runs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

> Thank you for contributing to Ray! 🚀
> Please review the [Ray Contribution
Guide](https://docs.ray.io/en/master/ray-contribute/getting-involved.html)
before opening a pull request.

> ⚠️ Remove these instructions before submitting your PR.

> 💡 Tip: Mark as draft if you want early feedback, or ready for review
when it's complete.

## Description
> Briefly describe what this PR accomplishes and why it's needed.

## Related issues
> Link related issues: "Fixes #1234", "Closes #1234", or "Related to
#1234".

## Additional information
> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

Signed-off-by: Ronny Roland <[email protected]>
Co-authored-by: Ronny <[email protected]>
@elliot-barn
elliot-barn merged commit d1d60b9 into master Aug 11, 2026
6 checks passed
@elliot-barn
elliot-barn deleted the wheel-minimal-distinct-wanda-name branch August 11, 2026 18:30
elliot-barn added a commit that referenced this pull request Aug 11, 2026
…da image name (#65318) (#65383)

Cherry-pick of #65318 (merge commit
d1d60b9) onto `releases/2.58.0`. Clean
pick, no conflicts.

## Why are these changes needed?

`ray-wheel-minimal-build` publishes to the same wanda image name as the
real py3.13 wheel build, so the last writer wins — when the minimal
build finishes last, the dashboard-less/jar-less wheel silently replaces
the full wheel for every downstream consumer (wheel S3 upload, all
py3.13 x86_64 images, CI test containers). This gives the minimal build
a distinct image name so release wheel artifacts on 2.58.0 can't be
silently clobbered.

Not a duplicate: no existing cherry-pick PR for #65318 targets this
branch.

## Checks

- `git cherry-pick -x -s` applied cleanly; 4 files, +9/-1, identical to
the master change.
- AI assistance (Claude Code) was used to prepare this cherry-pick;
reviewed by the submitter.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Aug 18, 2026
…ject#65343)

## Summary

Regenerates
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock`, which has
been failing `raydepsets --check` since 2026-08-05.

ray-project#65114 added the file pinning `aiohttp==3.13.5`, but aiohttp 3.14.3 was
published on 2026-07-23 — before that PR landed. A fresh `uv pip
compile` therefore resolves 3.14.3, and `build: raydepsets: compile all
dependencies` reports the committed lock as out of date:

```
--- python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
+++ /tmp/.../python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
@@ -13,127 +13,126 @@
-aiohttp==3.13.5
+aiohttp==3.14.3
```

`aiohttp` is the only package that moves. The rest of the diff is its
hash block, one line shorter — which matches the `@@ -13,127 +13,126 @@`
hunk the checker produced.

## Why this went unnoticed for five days

The check is gated on the `python_dependencies` tag
(`.buildkite/dependencies.rayci.yml:22-27`), which a PR only earns by
touching `python/deplocks/`, `ci/raydepsets/configs/` or
`python/requirements*`. **1 of the last 40 premerge builds ran the step
at all.** So almost nothing trips it, and the PRs that do inherit an
unrelated red X, because the step runs `--all-configs` and checks every
lock in the repo rather than the one the PR edited.

Postmerge ignores tags, so it is also failing there — including on
`releases/2.58.0` (postmerge build 19108), which puts it in the 2.58.0
release path.

## Testing

Regenerated with the depset's own config rather than by hand, so the
output is whatever the checker computes:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build \
  ci/raydepsets/configs/ray_torch.depsets.yaml \
  --name ray_torch_cu128_base_depset_314
```

Then the full gate, exactly as CI runs it:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build --all-configs --check
```

- **Passes** (exit 0) with this change applied.
- Only `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` is
modified — `git status` is otherwise clean after the full check, so no
other lock has drifted and the fix is complete rather than the first of
several.
- Verified against master beforehand: the same command fails on
`origin/master` with the diff quoted above.

One note for anyone re-running this locally: `--all-configs`
intermittently dies on `503 Service Unavailable` from
`download.pytorch.org` while resolving the GPU configs (it hit
`.../whl/cu128/jupyter-lsp/` on my first attempt). That's transient and
unrelated — a retry passed. Worth distinguishing from a genuine lock
mismatch, since both surface as exit 1.

## Not a duplicate

No open PR touches this file. Checked the plausible candidates' file
lists directly rather than by title: ray-project#65305 (depset config JSON schema
validation), ray-project#65318 (wanda image rename), ray-project#65206 (dependabot bumping
aiohttp in `ci/raydepsets/tests/test_data/`, a test fixture rather than
a real deplock), ray-project#64885 (text_embedding release-test depset) — none of
them modify `python/deplocks/ray-torch/`. `python/deplocks/ray-torch/`
has exactly one commit in its history, ray-project#65114, which is the one that
introduced the drift. No commit has touched any deplock since
2026-08-05.

cc the author of ray-project#65114 for awareness, since this is their file.

## AI assistance

Prepared with AI assistance (Claude Code). I have reviewed the change
and can defend it: it is a mechanical regeneration, the diff is one
package plus its hashes, and the verification above is the same command
CI runs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Ronny Roland <[email protected]>
Signed-off-by: 400Ping <[email protected]>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Aug 18, 2026
…oject#65318)

## Why are these changes needed?

`ray-wheel-minimal-build` — the CI smoke test for the
no-java/no-dashboard wheel build path (ray-project#62506) — publishes to the **same
wanda image name** as the real py3.13 wheel build.
`ci/docker/ray-wheel.wanda.yaml` names its output purely from
`PYTHON_VERSION`/`ARCH_SUFFIX`, so both steps push to
`<work-repo>:<rayci-build-id>-ray-wheel-py3.13` and **the last writer
wins**.

When the minimal build finishes last, the dashboard-less/jar-less wheel
silently replaces the full wheel for every downstream consumer — the
wheel S3 upload, every py3.13 x86_64 image (cpu + every CUDA variant),
and CI test containers — with no error anywhere in the build: both
wheels produce the identical filename
`ray-3.0.0.dev0-cp313-cp313-manylinux2014_x86_64.whl`.

**Observed impact:** release build 103723 lost this race (minimal wheel
pushed 13s after the full wheel; the published `b9d27506-py313-cu130`
image contains the 43.7MB minimal wheel with zero
`ray/dashboard/client/build` files) and both py3.13 cu130 release tests
failed — clusters die on head-node startup with `FrontendNotFoundError:
Dashboard build directory not found`. Release build 103652, built from
the **same commit**, won the race (78.3MB full wheel, dashboard present)
and passed. The race also intermittently poisons premerge. Because wanda
steps have no manual retry once green, a lost race cannot be repaired
in-place.

## What

Parameterize the wanda image name:
`ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX$WHEEL_NAME_SUFFIX`.

- minimal build → `ray-wheel-py3.13-minimal` (its image has no consumers
— the step is a build-path smoke test — so nothing else changes)
- all real wheel builds (x86_64, aarch64, local `build_wheel.py`) set
`WHEEL_NAME_SUFFIX: ""` → names unchanged, no downstream references
touched

## Related issue number

N/A

## Checks

- [x] I've signed off every commit(by using the -s flag, i.e., `git
commit -s`) in this PR.
- [x] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for
https://docs.ray.io/en/master/.
- [ ] I've added any new APIs to the API Reference.
- [x] I've made sure the tests are passing.
- Testing Strategy
   - [x] Release tests
   - [ ] Unit tests
   - [ ] This PR is not tested :(

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Signed-off-by: 400Ping <[email protected]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…ject#65343)

## Summary

Regenerates
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock`, which has
been failing `raydepsets --check` since 2026-08-05.

ray-project#65114 added the file pinning `aiohttp==3.13.5`, but aiohttp 3.14.3 was
published on 2026-07-23 — before that PR landed. A fresh `uv pip
compile` therefore resolves 3.14.3, and `build: raydepsets: compile all
dependencies` reports the committed lock as out of date:

```
--- python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
+++ /tmp/.../python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock
@@ -13,127 +13,126 @@
-aiohttp==3.13.5
+aiohttp==3.14.3
```

`aiohttp` is the only package that moves. The rest of the diff is its
hash block, one line shorter — which matches the `@@ -13,127 +13,126 @@`
hunk the checker produced.

## Why this went unnoticed for five days

The check is gated on the `python_dependencies` tag
(`.buildkite/dependencies.rayci.yml:22-27`), which a PR only earns by
touching `python/deplocks/`, `ci/raydepsets/configs/` or
`python/requirements*`. **1 of the last 40 premerge builds ran the step
at all.** So almost nothing trips it, and the PRs that do inherit an
unrelated red X, because the step runs `--all-configs` and checks every
lock in the repo rather than the one the PR edited.

Postmerge ignores tags, so it is also failing there — including on
`releases/2.58.0` (postmerge build 19108), which puts it in the 2.58.0
release path.

## Testing

Regenerated with the depset's own config rather than by hand, so the
output is whatever the checker computes:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build \
  ci/raydepsets/configs/ray_torch.depsets.yaml \
  --name ray_torch_cu128_base_depset_314
```

Then the full gate, exactly as CI runs it:

```bash
bazelisk run //ci/raydepsets:raydepsets -- build --all-configs --check
```

- **Passes** (exit 0) with this change applied.
- Only `python/deplocks/ray-torch/ray-torch-cu128_base_py3.14.lock` is
modified — `git status` is otherwise clean after the full check, so no
other lock has drifted and the fix is complete rather than the first of
several.
- Verified against master beforehand: the same command fails on
`origin/master` with the diff quoted above.

One note for anyone re-running this locally: `--all-configs`
intermittently dies on `503 Service Unavailable` from
`download.pytorch.org` while resolving the GPU configs (it hit
`.../whl/cu128/jupyter-lsp/` on my first attempt). That's transient and
unrelated — a retry passed. Worth distinguishing from a genuine lock
mismatch, since both surface as exit 1.

## Not a duplicate

No open PR touches this file. Checked the plausible candidates' file
lists directly rather than by title: ray-project#65305 (depset config JSON schema
validation), ray-project#65318 (wanda image rename), ray-project#65206 (dependabot bumping
aiohttp in `ci/raydepsets/tests/test_data/`, a test fixture rather than
a real deplock), ray-project#64885 (text_embedding release-test depset) — none of
them modify `python/deplocks/ray-torch/`. `python/deplocks/ray-torch/`
has exactly one commit in its history, ray-project#65114, which is the one that
introduced the drift. No commit has touched any deplock since
2026-08-05.

cc the author of ray-project#65114 for awareness, since this is their file.

## AI assistance

Prepared with AI assistance (Claude Code). I have reviewed the change
and can defend it: it is a mechanical regeneration, the diff is one
package plus its hashes, and the verification above is the same command
CI runs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Ronny Roland <[email protected]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…oject#65318)

## Why are these changes needed?

`ray-wheel-minimal-build` — the CI smoke test for the
no-java/no-dashboard wheel build path (ray-project#62506) — publishes to the **same
wanda image name** as the real py3.13 wheel build.
`ci/docker/ray-wheel.wanda.yaml` names its output purely from
`PYTHON_VERSION`/`ARCH_SUFFIX`, so both steps push to
`<work-repo>:<rayci-build-id>-ray-wheel-py3.13` and **the last writer
wins**.

When the minimal build finishes last, the dashboard-less/jar-less wheel
silently replaces the full wheel for every downstream consumer — the
wheel S3 upload, every py3.13 x86_64 image (cpu + every CUDA variant),
and CI test containers — with no error anywhere in the build: both
wheels produce the identical filename
`ray-3.0.0.dev0-cp313-cp313-manylinux2014_x86_64.whl`.

**Observed impact:** release build 103723 lost this race (minimal wheel
pushed 13s after the full wheel; the published `b9d27506-py313-cu130`
image contains the 43.7MB minimal wheel with zero
`ray/dashboard/client/build` files) and both py3.13 cu130 release tests
failed — clusters die on head-node startup with `FrontendNotFoundError:
Dashboard build directory not found`. Release build 103652, built from
the **same commit**, won the race (78.3MB full wheel, dashboard present)
and passed. The race also intermittently poisons premerge. Because wanda
steps have no manual retry once green, a lost race cannot be repaired
in-place.

## What

Parameterize the wanda image name:
`ray-wheel-py$PYTHON_VERSION$ARCH_SUFFIX$WHEEL_NAME_SUFFIX`.

- minimal build → `ray-wheel-py3.13-minimal` (its image has no consumers
— the step is a build-path smoke test — so nothing else changes)
- all real wheel builds (x86_64, aarch64, local `build_wheel.py`) set
`WHEEL_NAME_SUFFIX: ""` → names unchanged, no downstream references
touched

## Related issue number

N/A

## Checks

- [x] I've signed off every commit(by using the -s flag, i.e., `git
commit -s`) in this PR.
- [x] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for
https://docs.ray.io/en/master/.
- [ ] I've added any new APIs to the API Reference.
- [x] I've made sure the tests are passing.
- Testing Strategy
   - [x] Release tests
   - [ ] Unit tests
   - [ ] This PR is not tested :(

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
elliot-barn added a commit that referenced this pull request Oct 8, 2026
…da image name (#65318) (#66826)

Cherry-pick of #65318 (already on 2.58.x via #65383; was never picked to
2.57.x).

Without this, the py3.13 minimal wheel build and the full py3.13 wheel
build both publish to the wanda name `ray-wheel-py3.13`, and whichever
finishes last silently replaces the full wheel for every downstream
consumer. On the 2.57.1 release-test run (release build
[109081](https://buildkite.com/ray-project/release/builds/109081)) the
minimal build won the race, so the `ray-anyscale py3.13` test images
were built from a dashboard-less minimal wheel — `ray start` on the head
node then fails with `FrontendNotFoundError: Dashboard build directory
not found` and every py3.13 release test (hello_world_py313.aws,
hello_world_cu130_py3.13, jobs_check_cuda_available.py313_cu130,
jobs_check_cuda_version_cu130_py3.13) dies as an exit-19 no-start,
surviving 3-5 retries.

The published 2.57.1 py3.13 wheel on S3 is unaffected (verified it
contains the dashboard frontend) — this only poisons the CI release-test
images.

After this lands, the next release-test build on the branch rebuilds the
py3.13 wheel/image chain under distinct names; re-running the four
py3.13 tests (filter `py313|py3\.13`, frequency `any`) should then pass.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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