Skip to content

Conversation

@elliot-barn
Copy link
Contributor

@elliot-barn elliot-barn commented Oct 24, 2025

Updating docgpubuild to run on python 3.10

updating minbuild-multiply job name to minbuild-serve

Post merge test that uses the docgpubuild image: https://buildkite.com/ray-project/postmerge/builds/14073

elliot-barn and others added 7 commits October 23, 2025 07:01
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Copy link
Contributor

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

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 CI configuration to add support for Python 3.10, particularly for the docgpubuild step. The changes involve adding 3.10 to various build matrices across several CI files and updating test steps to use the new Python version. While the intent is clear, I've found a critical issue in the configuration for docgpubuild in .buildkite/base.rayci.yml that will likely cause the build to fail due to a non-existent base image and a mismatched image name. Additionally, there's a missing test case in .buildkite/serve.rayci.yml for a newly introduced minbuild-serve-py3.10 image. Please see my detailed comments for suggestions on how to fix these issues.

Comment on lines 96 to 102
- name: docgpubuild
label: "wanda: docgpubuild-py3.10"
wanda: ci/docker/docgpu.build.wanda.yaml
depends_on: oss-ci-base_gpu
depends_on: oss-ci-base_gpu-multipy
env:
PYTHON: "3.10"
tags: cibase
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

The configuration for the docgpubuild step is incorrect and will likely cause the build to fail.

  1. Incorrect Base Image: The wanda file ci/docker/docgpu.build.wanda.yaml appears to rely on a base image cr.ray.io/rayproject/oss-ci-base_gpu. However, this PR replaces the step that builds this image with a matrix build oss-ci-base_gpu-multipy, which produces version-suffixed images (e.g., ...-py3.10). The original base image tag will no longer be available.
  2. Mismatched Image Name: Test steps in data.rayci.yml and serve.rayci.yml are updated to expect an image from a build named docgpubuild-py3.10. However, ci/docker/docgpu.build.wanda.yaml seems to be hardcoded to produce an image named docgpubuild. This mismatch will prevent tests from finding the correct Docker image.

To fix this, ci/docker/docgpu.build.wanda.yaml should be parameterized to use the PYTHON environment variable for the image name, tag, and base image, similar to other wanda files in this repository. Since that file is not part of this PR, I'm highlighting the issue here as it will break this build and dependent steps.

Comment on lines 164 to 168
--build-name minbuild-serve-py3.9
--test-env=RAY_DEFAULT=1
--only-tags minimal
depends_on: minbuild-serve
depends_on: minbuild-multipy
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The minbuild-multipy step is configured to build images for both Python 3.9 and 3.10 with the serve extra dependency (minbuild-serve-py3.9 and minbuild-serve-py3.10). However, this test step, :ray-serve: serve: serve minimal, only runs against the py3.9 image. The minbuild-serve-py3.10 image is built but remains untested.

Please consider adding a new test step to cover the Python 3.10 case to ensure complete test coverage for the newly built image.

cursor[bot]

This comment was marked as outdated.

@ray-gardener ray-gardener bot added docs An issue or change related to documentation devprod labels Oct 24, 2025
@aslonnie
Copy link
Collaborator

the data doc gpu test is failing?

Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

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

seems that it needs some more work?

@elliot-barn
Copy link
Contributor Author

  • buildkite/microcheck

Yea requested review a little too early. I'll fix this ASAP

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
cursor[bot]

This comment was marked as outdated.

@elliot-barn elliot-barn requested a review from aslonnie October 24, 2025 19:12
@elliot-barn elliot-barn added the go add ONLY when ready to merge, run all tests label Oct 24, 2025
@elliot-barn elliot-barn removed the request for review from aslonnie October 24, 2025 19:12
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
@elliot-barn elliot-barn requested a review from a team as a code owner October 24, 2025 21:10
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Copy link
Contributor

@nrghosh nrghosh left a comment

Choose a reason for hiding this comment

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

thanks, lgtm pending tests

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
@elliot-barn elliot-barn requested a review from aslonnie October 25, 2025 01:07
Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

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

seems more than docbuild now.. could you update the PR's title and description?

@elliot-barn elliot-barn changed the title [ci][deps] updating docgpubuild to run on python 3.10 [ci][deps] updating docgpubuild to run on python 3.10 - CI-UPGRADES(3/5) Oct 28, 2025
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
@elliot-barn elliot-barn requested a review from aslonnie October 28, 2025 20:16
- python/requirements/ml/rllib-test-requirements.txt
build_args:
- DOCKER_IMAGE_BASE_BUILD=cr.ray.io/rayproject/oss-ci-base_gpu-py$PYTHON
- PYTHON
Copy link
Collaborator

Choose a reason for hiding this comment

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

why need this build args?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

keeping docker image base build because its now multipy and the default BASE BUILD will be base gpu py3.10

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
@elliot-barn elliot-barn requested a review from aslonnie October 28, 2025 22:53
@aslonnie aslonnie merged commit 40f5f06 into master Oct 28, 2025
6 checks passed
@aslonnie aslonnie deleted the elliot-barn/updating-docgpubuild branch October 28, 2025 23:00
aslonnie added a commit that referenced this pull request Oct 29, 2025
YoussefEssDS pushed a commit to YoussefEssDS/ray that referenced this pull request Nov 8, 2025
…/5) (ray-project#58068)

Updating docgpubuild to run on python 3.10

updating minbuild-multiply job name to minbuild-serve

Post merge test that uses the docgpubuild image:
https://buildkite.com/ray-project/postmerge/builds/14073

---------

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Co-authored-by: Nikhil G <nrghosh@users.noreply.github.com>
YoussefEssDS pushed a commit to YoussefEssDS/ray that referenced this pull request Nov 8, 2025
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…/5) (ray-project#58068)

Updating docgpubuild to run on python 3.10

updating minbuild-multiply job name to minbuild-serve

Post merge test that uses the docgpubuild image:
https://buildkite.com/ray-project/postmerge/builds/14073

---------

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Co-authored-by: Nikhil G <nrghosh@users.noreply.github.com>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…/5) (ray-project#58068)

Updating docgpubuild to run on python 3.10

updating minbuild-multiply job name to minbuild-serve

Post merge test that uses the docgpubuild image:
https://buildkite.com/ray-project/postmerge/builds/14073

---------

Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Co-authored-by: Nikhil G <nrghosh@users.noreply.github.com>
Signed-off-by: Aydin Abiar <aydin@anyscale.com>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…GRADES(3/5) " (ray-project#58266)

Reverts ray-project#58068

Signed-off-by: Aydin Abiar <aydin@anyscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devprod docs An issue or change related to documentation go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants