Add HTTP control server for cell suspend/resume and fault injection#1452
Conversation
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
ff00e39 to
238314a
Compare
4ec76f7 to
393270c
Compare
238314a to
aca0030
Compare
393270c to
15e1254
Compare
Adds the FastAPI control server (server.py: _create_control_app / start_control_server) exposing a k8s-style cell API, backed by a cell registry (registry.py: _CellRegistry) and per-cell handles (handles.py: _ActorCellHandle / _RolloutCellHandle wrapping the RayTrainGroup and rollout manager) so an external operator (or the e2e fault injector) can list cells, suspend/resume them, and inject faults. Includes the fast unit tests for server, registry, and handles. The Pydantic API models live in the separate control_server/models module.
aca0030 to
8432589
Compare
15e1254 to
96f28d9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the FastAPI control server (server.py: _create_control_app / start_control_server) exposing a k8s-style cell API, backed by a cell registry (registry.py: _CellRegistry) and per-cell handles (handles.py: _ActorCellHandle / _RolloutCellHandle wrapping the RayTrainGroup and rollout manager) so an external operator (or the e2e fault injector) can list cells, suspend/resume them, and inject faults. Includes the fast unit tests for server, registry, and handles. The Pydantic API models live in the separate control_server/models module.