Skip to content

[codex] Observe remote exec-server lifecycle#27470

Open
richardopenai wants to merge 2 commits into
codex/exec-server-connection-metricsfrom
codex/exec-server-remote-registration-observability
Open

[codex] Observe remote exec-server lifecycle#27470
richardopenai wants to merge 2 commits into
codex/exec-server-connection-metricsfrom
codex/exec-server-remote-registration-observability

Conversation

@richardopenai

@richardopenai richardopenai commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Record bounded duration and outcome metrics for remote environment registration and Noise rendezvous connection attempts.
  • Count reconnects by bounded reason: disconnect, connection failure, or rejected registration.
  • Trace registration at the owning client boundary without exporting raw environment or registration identifiers.
  • Replace the stale pre-Noise WebSocket observability design with the current remote transport model.

Stack

Review and land this stack in order:

  1. [codex] Trace exec-server JSON-RPC requests #27466 — trace exec-server JSON-RPC requests
  2. [codex] Record exec-server lifecycle metrics #27467 — record bounded connection, request, and process lifecycle metrics
  3. [codex] Observe remote exec-server lifecycle #27470 — observe remote registration and Noise rendezvous lifecycle (this PR)

Validation

  • just test -p codex-exec-server --lib (149 passed)
  • just test -p codex-cli --test exec_server (4 passed)
  • just argument-comment-lint
  • just bazel-lock-check
  • just fix -p codex-exec-server -p codex-cli
  • just fmt

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Review source: Codex Cloud Agents (CCA)

Codex Cloud Agents (CCA) couldn't complete this review. The original Codex Review is unaffected.

@richardopenai richardopenai force-pushed the codex/exec-server-remote-registration-observability branch from cb15fe9 to 08f9dd1 Compare June 16, 2026 19:21
@richardopenai richardopenai requested a review from a team as a code owner June 16, 2026 19:21
@richardopenai richardopenai changed the title [codex] Observe remote exec-server registration [codex] Observe remote exec-server lifecycle Jun 16, 2026
@richardopenai richardopenai changed the base branch from codex/exec-server-process-metrics to codex/exec-server-connection-metrics June 16, 2026 19:22
@richardopenai richardopenai force-pushed the codex/exec-server-connection-metrics branch from 7a28c0a to 5a94cf1 Compare June 18, 2026 22:11
@richardopenai richardopenai force-pushed the codex/exec-server-remote-registration-observability branch from 69e10d5 to 97d99d1 Compare June 18, 2026 22:21
@richardopenai richardopenai force-pushed the codex/exec-server-connection-metrics branch from 5a94cf1 to 1128e27 Compare June 18, 2026 22:39
@richardopenai richardopenai force-pushed the codex/exec-server-remote-registration-observability branch from 97d99d1 to f8dd96f Compare June 18, 2026 23:23
@richardopenai richardopenai force-pushed the codex/exec-server-connection-metrics branch from 1128e27 to 2d7885f Compare June 19, 2026 00:15
@richardopenai richardopenai force-pushed the codex/exec-server-remote-registration-observability branch from f8dd96f to c475918 Compare June 19, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant