Skip to content

Conversation

@matthewdeng
Copy link
Contributor

Description

Change train_colocate_trainer release test frequency to be manual.

Related issues

Related to #49454.

Additional information

ScalingConfig.trainer_resources has been deprecated in Ray Train V2. As a result, we should disable the test for now. In the future, we can either:

  1. Delete this test entirely.
  2. Add back functionality for colocation & reenable this test.

Signed-off-by: Matthew Deng <matthew.j.deng@gmail.com>
@matthewdeng matthewdeng requested a review from a team October 21, 2025 21:27
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 correctly disables the train_colocate_trainer release test by changing its frequency to manual. This is necessary because the test relies on ScalingConfig.trainer_resources, which has been deprecated in Ray Train V2. The added comments provide helpful context for this change. I have one suggestion to improve the TODO comment for better long-term tracking.


frequency: nightly
# Ray Train V2 doesn't support colocation.
# TODO: Decide whether to remove this test or re-enable it if we add support again.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For better traceability, it's good practice to link TODO comments to their corresponding issue numbers. This will help future developers quickly understand the context and history of this change.

  # TODO(#49454): Decide whether to remove this test or re-enable it if we add support again.

@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 91685a7 into ray-project:master Oct 22, 2025
7 checks passed
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
## Description
Change `train_colocate_trainer` release test frequency to be manual.

## Related issues
Related to #49454.

## Additional information

`ScalingConfig.trainer_resources` has been deprecated in Ray Train V2.
As a result, we should disable the test for now. In the future, we can
either:
1. Delete this test entirely.
2. Add back functionality for colocation & reenable this test.

Signed-off-by: Matthew Deng <matthew.j.deng@gmail.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
## Description
Change `train_colocate_trainer` release test frequency to be manual.

## Related issues
Related to ray-project#49454.

## Additional information

`ScalingConfig.trainer_resources` has been deprecated in Ray Train V2.
As a result, we should disable the test for now. In the future, we can
either:
1. Delete this test entirely.
2. Add back functionality for colocation & reenable this test.

Signed-off-by: Matthew Deng <matthew.j.deng@gmail.com>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
## Description
Change `train_colocate_trainer` release test frequency to be manual.

## Related issues
Related to ray-project#49454.

## Additional information

`ScalingConfig.trainer_resources` has been deprecated in Ray Train V2.
As a result, we should disable the test for now. In the future, we can
either:
1. Delete this test entirely.
2. Add back functionality for colocation & reenable this test.

Signed-off-by: Matthew Deng <matthew.j.deng@gmail.com>
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

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