Skip to content

[core] Split gcs_autoscaler_state_manager out from gcs_server_lib#56053

Merged
edoakes merged 150 commits intoray-project:masterfrom
edoakes:eoakes/gcs-autoscaler-manager
Aug 29, 2025
Merged

[core] Split gcs_autoscaler_state_manager out from gcs_server_lib#56053
edoakes merged 150 commits intoray-project:masterfrom
edoakes:eoakes/gcs-autoscaler-manager

Conversation

@edoakes
Copy link
Copy Markdown
Collaborator

@edoakes edoakes commented Aug 28, 2025

🫡

edoakes added 30 commits August 21, 2025 10:22
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes requested a review from a team as a code owner August 28, 2025 16:44
@edoakes edoakes marked this pull request as draft August 28, 2025 16:44
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Aug 28, 2025
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
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 is a significant refactoring that splits gcs_autoscaler_state_manager and other components out of the large gcs_server_lib. The introduction of a service handler interface layer is a great improvement for modularity and testability. The changes are extensive, touching many files including build definitions and tests, but they appear to be consistent and well-executed. I've found a few minor issues with redundant header includes that should be cleaned up for better code hygiene and potentially faster compile times.

Comment thread src/ray/gcs/gcs_server/grpc_services.h
#include "ray/util/counter_map.h"
#include "ray/util/event.h"
#include "ray/util/thread_checker.h"
#include "src/ray/protobuf/gcs_service.pb.h"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This header is likely redundant. grpc_service_interfaces.h (included on line 35) includes gcs_service.grpc.pb.h, which in turn should include gcs_service.pb.h. Please remove this include if it's not directly needed.

Comment thread src/ray/gcs/gcs_server/gcs_autoscaler_state_manager.h
edoakes added 12 commits August 28, 2025 12:38
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes marked this pull request as ready for review August 28, 2025 21:20
@edoakes edoakes enabled auto-merge (squash) August 28, 2025 21:20
Copy link
Copy Markdown
Contributor

@ZacAttack ZacAttack left a comment

Choose a reason for hiding this comment

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

Let's goooooo!!!

@edoakes edoakes disabled auto-merge August 29, 2025 00:14
@edoakes edoakes merged commit 6fdf2cf into ray-project:master Aug 29, 2025
5 of 6 checks passed
tohtana pushed a commit to tohtana/ray that referenced this pull request Aug 29, 2025
…ray-project#56053)

🫡

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
tohtana pushed a commit to tohtana/ray that referenced this pull request Aug 29, 2025
…ray-project#56053)

🫡

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
gangsf pushed a commit to gangsf/ray that referenced this pull request Sep 2, 2025
…ray-project#56053)

🫡

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Gang Zhao <gang@gang-JQ62HD2C37.local>
sampan-s-nayak pushed a commit to sampan-s-nayak/ray that referenced this pull request Sep 8, 2025
…ray-project#56053)

🫡

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: sampan <sampan@anyscale.com>
jugalshah291 pushed a commit to jugalshah291/ray_fork that referenced this pull request Sep 11, 2025
…ray-project#56053)

🫡

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: jugalshah291 <shah.jugal291@gmail.com>
wyhong3103 pushed a commit to wyhong3103/ray that referenced this pull request Sep 12, 2025
…ray-project#56053)

🫡

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: yenhong.wong <yenhong.wong@grabtaxi.com>
dstrodtman pushed a commit that referenced this pull request Oct 6, 2025
…#56053)

🫡

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Douglas Strodtman <douglas@anyscale.com>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…ray-project#56053)

🫡

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.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