Skip to content

Conversation

@matthewdeng
Copy link
Contributor

@matthewdeng matthewdeng commented Oct 21, 2025

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 release tests to import from ray.tune instead of ray.train. The changes involve modifying import statements and updating the report function calls in two files: tune_scale_up_down.py and test_tune_worker_fault_tolerance.py. The goal is to align the tests with the changes described in the linked issue.

import ray

from ray import train, tune
from ray import tune
Copy link
Contributor

Choose a reason for hiding this comment

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

high

This change removes train from the import statement. Ensure that train is not used anywhere else in this file, as this could lead to errors.

import ray
from ray import train
from ray.train import Checkpoint, RunConfig, FailureConfig, CheckpointConfig
from ray.tune import Checkpoint, RunConfig, FailureConfig, CheckpointConfig
Copy link
Contributor

Choose a reason for hiding this comment

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

high

This change updates the import statement to import Checkpoint, RunConfig, FailureConfig, and CheckpointConfig from ray.tune instead of ray.train. Verify that this change aligns with the intended behavior and that these classes are correctly implemented and available in the current context.

@ray-gardener ray-gardener bot added tune Tune-related issues release-test release test labels Oct 21, 2025
Signed-off-by: Matthew Deng <[email protected]>
@matthewdeng matthewdeng requested a review from a team October 21, 2025 21:28
Copy link
Contributor

@JasonLi1909 JasonLi1909 left a comment

Choose a reason for hiding this comment

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

It seems like the tests for cluster_tune_scale_up_down.aws and cluster_trune_scale_up_down.kuberay are still failing.

@matthewdeng matthewdeng enabled auto-merge (squash) October 21, 2025 23:56
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Oct 21, 2025
@matthewdeng matthewdeng merged commit 8338444 into ray-project:master Oct 22, 2025
8 checks passed
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 release-test release test tune Tune-related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants