Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Fix all variable shadowing for core worker #51672

Conversation

dentiny
Copy link
Contributor

@dentiny dentiny commented Mar 25, 2025

This PR fixes all variable shadowing for core worker.

Variable shadowing is known to be error prune --- I personally just spent 20 minute debugging an issue caused by it.
Need to address all issues before #51669

@dentiny dentiny requested a review from a team as a code owner March 25, 2025 09:58
@dentiny dentiny added the go add ONLY when ready to merge, run all tests label Mar 25, 2025
Signed-off-by: dentiny <dentinyhao@gmail.com>
@dentiny dentiny force-pushed the hjiang/fix-all-variable-shadowing-core-worker branch from e311047 to f05b681 Compare March 25, 2025 09:59
Copy link
Contributor

@dayshah dayshah left a comment

Choose a reason for hiding this comment

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

nice! how'd you find all the shadowed variables

@dentiny dentiny requested review from jjyao and edoakes March 25, 2025 16:45
@dentiny
Copy link
Contributor Author

dentiny commented Mar 25, 2025

nice! how'd you find all the shadowed variables

I have another pr to turn on the option, but failed to pass ci

@dentiny dentiny changed the title [WIP] [core] Fix all variable shadowing for core worker [core] Fix all variable shadowing for core worker Mar 25, 2025
@edoakes edoakes merged commit 9d0ad57 into ray-project:master Mar 25, 2025
5 checks passed
angelinalg pushed a commit to angelinalg/ray that referenced this pull request Mar 25, 2025
This PR fixes all variable shadowing for core worker.

Variable shadowing is known to be error prune --- I personally just
spent 20 minute debugging an issue caused by it.
Need to address all issues before
ray-project#51669

Signed-off-by: dentiny <dentinyhao@gmail.com>
dentiny added a commit to dentiny/ray that referenced this pull request Mar 25, 2025
This PR fixes all variable shadowing for core worker.

Variable shadowing is known to be error prune --- I personally just
spent 20 minute debugging an issue caused by it.
Need to address all issues before
ray-project#51669

Signed-off-by: dentiny <dentinyhao@gmail.com>
dhakshin32 pushed a commit to dhakshin32/ray that referenced this pull request Mar 27, 2025
This PR fixes all variable shadowing for core worker.

Variable shadowing is known to be error prune --- I personally just
spent 20 minute debugging an issue caused by it.
Need to address all issues before
ray-project#51669

Signed-off-by: dentiny <dentinyhao@gmail.com>
Signed-off-by: Dhakshin Suriakannu <d_suriakannu@apple.com>
d-miketa pushed a commit to d-miketa/ray that referenced this pull request Mar 28, 2025
This PR fixes all variable shadowing for core worker.

Variable shadowing is known to be error prune --- I personally just
spent 20 minute debugging an issue caused by it.
Need to address all issues before
ray-project#51669

Signed-off-by: dentiny <dentinyhao@gmail.com>
srinathk10 pushed a commit that referenced this pull request Mar 28, 2025
This PR fixes all variable shadowing for core worker.

Variable shadowing is known to be error prune --- I personally just
spent 20 minute debugging an issue caused by it.
Need to address all issues before
#51669

Signed-off-by: dentiny <dentinyhao@gmail.com>
Signed-off-by: Srinath Krishnamachari <srinath.krishnamachari@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.

4 participants