Add exec-server environment status checks - #32899
Merged
copyberry[bot] merged 1 commit intoJul 13, 2026
Merged
Conversation
## What changed - Add the initialized `environment/status` RPC, which reports `ready` when the exec server can handle requests. - Expose environment IDs and `ready`, `pending`, or `disconnected` status through `EnvironmentManager` and `Environment`. - Keep status checks non-mutating: they do not start or recover lazy remote environments, and probe only an existing connection. ## Testing - Cover the status RPC over WebSocket and the in-process request processor. - Verify that checking an unstarted stdio environment leaves it pending and that failed connections report as disconnected. GitOrigin-RevId: 22febeb6a3457849292128a8991c6400c22b3fd8
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/22febeb6a3457849292128a8991c6400c22b3fd8
branch
from
July 13, 2026 23:43
3a3f319 to
75470c3
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/22febeb6a3457849292128a8991c6400c22b3fd8
branch
July 13, 2026 23:44
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add exec-server environment status checks
What changed
environment/statusRPC, which reportsreadywhen the exec server can handle requests.ready,pending, ordisconnectedstatus throughEnvironmentManagerandEnvironment.Testing