Skip to content

Extract OTEL trace WebSocket into a reusable crate - #42102

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ec5ca4c4369b6b3b1232875c2699730eb748ab1c
Sep 1, 2026
Merged

Extract OTEL trace WebSocket into a reusable crate#42102
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ec5ca4c4369b6b3b1232875c2699730eb748ab1c

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 1, 2026

Copy link
Copy Markdown

Extract OTEL trace WebSocket into a reusable crate

What changed

  • Add codex-otel-trace-websocket with a TraceWebSocket API that owns the
    loopback OTLP receiver and WebSocket listener.
  • Bind both listeners during startup, expose the exporter and bound listener
    addresses, and surface listener failures through a single lifecycle method.
  • Update codex-code-mode-host to use the new crate and shut down the bridge
    after flushing its trace provider.

## What changed

- Add `codex-otel-trace-websocket` with a `TraceWebSocket` API that owns the
  loopback OTLP receiver and WebSocket listener.
- Bind both listeners during startup, expose the exporter and bound listener
  addresses, and surface listener failures through a single lifecycle method.
- Update `codex-code-mode-host` to use the new crate and shut down the bridge
  after flushing its trace provider.

GitOrigin-RevId: ec5ca4c4369b6b3b1232875c2699730eb748ab1c
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ec5ca4c4369b6b3b1232875c2699730eb748ab1c branch from 5d21745 to 9969043 Compare September 1, 2026 17:18
@copyberry
copyberry Bot merged commit 9969043 into main Sep 1, 2026
22 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ec5ca4c4369b6b3b1232875c2699730eb748ab1c branch September 1, 2026 17:20
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 1, 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.

2 participants