Skip to content

Add exec-server status endpoints#20533

Closed
starr-openai wants to merge 4 commits into
mainfrom
starr/exec-server-status-20260430
Closed

Add exec-server status endpoints#20533
starr-openai wants to merge 4 commits into
mainfrom
starr/exec-server-status-20260430

Conversation

@starr-openai
Copy link
Copy Markdown
Contributor

@starr-openai starr-openai commented Apr 30, 2026

Summary

  • Serve /healthz, /readyz, /status, and /metrics from the existing codex exec-server --listen ws://... listener.
  • Keep the startup stdout contract unchanged: the WebSocket URL remains the only stdout startup line.
  • Add low-cardinality status and Prometheus metrics for uptime, connections, sessions, processes, and JSON-RPC request results.
  • Keep /status privacy-preserving by reporting aggregate counters/capabilities only, without command lines, environment variables, working directories, local paths, user names, session ids, or process ids.

Tests

  • just fmt
  • git diff --check
  • just bazel-lock-update
  • ssh dev ... bazel build --bes_backend= --bes_results_url= //codex-rs/exec-server:exec-server
  • ssh dev ... bazel build --bes_backend= --bes_results_url= --config=clippy //codex-rs/exec-server:exec-server //codex-rs/exec-server:exec-server-unit-tests-bin //codex-rs/exec-server:exec-server-websocket-test
  • ssh dev ... just bazel-argument-comment-lint
  • CI pending on draft PR

@starr-openai starr-openai force-pushed the starr/exec-server-status-20260430 branch from e742903 to 07871fb Compare May 1, 2026 00:02
Expose lightweight health, readiness, JSON status, and Prometheus metrics endpoints from the existing exec-server listener.

Keep status data aggregate-only so the endpoint does not expose commands, paths, environment variables, session IDs, or process IDs.

Co-authored-by: Codex <noreply@openai.com>
@starr-openai starr-openai force-pushed the starr/exec-server-status-20260430 branch from 07871fb to dfe19d2 Compare May 1, 2026 02:13
@starr-openai starr-openai marked this pull request as draft May 1, 2026 02:13
starr-openai and others added 3 commits April 30, 2026 19:19
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant