-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Remove show_in_dashboard function #59916
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
Conversation
1eaa1f7 to
1183b2f
Compare
| // A string displayed on Dashboard. | ||
| map<string, string> webui_display = 7; | ||
| // Field 7 was webui_display, now removed. | ||
| reserved 7; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proto file modification requires fault-tolerance review (Bugbot Rules)
Low Severity
.proto files.
Please review the RPC fault-tolerance & idempotency standards guide here:
https://github.com/ray-project/ray/tree/master/doc/source/ray-core/internals/rpc-fault-tolerance.rst
This is flagged per the user-specified BUGBOT_RULES requirement to post this message whenever .proto files are changed.
There was a problem hiding this 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 effectively removes the deprecated show_in_dashboard function and all its associated components from the codebase. The changes are comprehensive, spanning across Python, Cython, C++, and Protobuf files, ensuring a clean removal of the feature. The corresponding tests in test_metrics.py have been appropriately updated to reflect these changes. Notably, the use of reserved for the removed field in the protobuf definition is a good practice that maintains backward compatibility. Overall, this is a solid contribution that improves code maintainability by removing unused code.
Signed-off-by: Philipp Moritz <pcmoritz@gmail.com>
e81d041 to
95367a2
Compare
Signed-off-by: Philipp Moritz <pcmoritz@gmail.com>
Description
This was used early in the development of the Ray Dashboard and is not used any more so we should remove it (I recently came across this).