Skip to content

[Data] Remove dead parameters from max_task_output_bytes_to_read#59672

Merged
bveeramani merged 3 commits intomasterfrom
remove-dead-resource-manager-parameters
Dec 30, 2025
Merged

[Data] Remove dead parameters from max_task_output_bytes_to_read#59672
bveeramani merged 3 commits intomasterfrom
remove-dead-resource-manager-parameters

Conversation

@bveeramani
Copy link
Copy Markdown
Member

#57788 added task_resource_usage and output_object_store_usage to OpResourceAllocator.max_task_output_bytes_to_read. But, the parameters aren't actually used anywhere, so this PR removes them.

Co-authored-by: Alexey Kudinkin <alexey.kudinkin@gmail.com>
Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
@bveeramani bveeramani requested a review from a team as a code owner December 26, 2025 05:20
Copy link
Copy Markdown
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 removes unused parameters from max_task_output_bytes_to_read across the ResourceManager and OpResourceAllocator classes. This is a good cleanup of dead code.

However, a critical issue was found during the review. The tests in python/ray/data/tests/test_resource_manager.py have not been updated to reflect the new method signature. This will cause the build to fail due to TypeErrors. Please ensure the tests are updated to match the changes in this PR.

@ray-gardener ray-gardener bot added the data Ray Data-related issues label Dec 26, 2025
Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
@bveeramani bveeramani added the go add ONLY when ready to merge, run all tests label Dec 29, 2025
Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
@bveeramani bveeramani merged commit e252a91 into master Dec 30, 2025
6 checks passed
@bveeramani bveeramani deleted the remove-dead-resource-manager-parameters branch December 30, 2025 00:23
AYou0207 pushed a commit to AYou0207/ray that referenced this pull request Jan 13, 2026
…ay-project#59672)

ray-project#57788 added
`task_resource_usage` and `output_object_store_usage` to
`OpResourceAllocator.max_task_output_bytes_to_read`. But, the parameters
aren't actually used anywhere, so this PR removes them.

---------

Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
Co-authored-by: Alexey Kudinkin <alexey.kudinkin@gmail.com>
Signed-off-by: jasonwrwang <jasonwrwang@tencent.com>
lee1258561 pushed a commit to pinterest/ray that referenced this pull request Feb 3, 2026
…ay-project#59672)

ray-project#57788 added
`task_resource_usage` and `output_object_store_usage` to
`OpResourceAllocator.max_task_output_bytes_to_read`. But, the parameters
aren't actually used anywhere, so this PR removes them.

---------

Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
Co-authored-by: Alexey Kudinkin <alexey.kudinkin@gmail.com>
peterxcli pushed a commit to peterxcli/ray that referenced this pull request Feb 25, 2026
…ay-project#59672)

ray-project#57788 added
`task_resource_usage` and `output_object_store_usage` to
`OpResourceAllocator.max_task_output_bytes_to_read`. But, the parameters
aren't actually used anywhere, so this PR removes them.

---------

Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
Co-authored-by: Alexey Kudinkin <alexey.kudinkin@gmail.com>
Signed-off-by: peterxcli <peterxcli@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data Ray Data-related issues 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