Skip to content

Add exec-server environment status checks - #32899

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/22febeb6a3457849292128a8991c6400c22b3fd8
Jul 13, 2026
Merged

Add exec-server environment status checks#32899
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/22febeb6a3457849292128a8991c6400c22b3fd8

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 13, 2026

Copy link
Copy Markdown

Add exec-server environment status checks

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.

## 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
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/22febeb6a3457849292128a8991c6400c22b3fd8 branch from 3a3f319 to 75470c3 Compare July 13, 2026 23:43
@copyberry
copyberry Bot merged commit 75470c3 into main Jul 13, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/22febeb6a3457849292128a8991c6400c22b3fd8 branch July 13, 2026 23:44
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant