Skip to content

[codex-analytics] include user agent in default headers#17689

Merged
marksteinbrick-oai merged 1 commit intomainfrom
mark.steinbrick/responses-ws-user-agent
Apr 28, 2026
Merged

[codex-analytics] include user agent in default headers#17689
marksteinbrick-oai merged 1 commit intomainfrom
mark.steinbrick/responses-ws-user-agent

Conversation

@marksteinbrick-oai
Copy link
Copy Markdown
Contributor

@marksteinbrick-oai marksteinbrick-oai commented Apr 13, 2026

Summary

Adds the standard Codex User-Agent to shared default headers so the responses-api WS handshake carries the same client OS and version context as HTTP requests.

Testing

  • cargo test -p codex-core build_ws_client_metadata_includes_window_lineage_and_turn_metadata
  • cargo test -p codex-core --test all responses_websocket

@marksteinbrick-oai marksteinbrick-oai marked this pull request as ready for review April 13, 2026 23:16
@marksteinbrick-oai marksteinbrick-oai force-pushed the mark.steinbrick/responses-ws-user-agent branch from a9ad9d8 to 708edb2 Compare April 13, 2026 23:20
@marksteinbrick-oai marksteinbrick-oai changed the title [codex-analytics] send user agent on Responses WebSocket [codex-analytics] include user agent in responses-api client metadata Apr 13, 2026
@marksteinbrick-oai marksteinbrick-oai force-pushed the mark.steinbrick/responses-ws-user-agent branch 2 times, most recently from f31974f to e4d9510 Compare April 14, 2026 19:20
@marksteinbrick-oai marksteinbrick-oai changed the title [codex-analytics] include user agent in responses-api client metadata [codex-analytics] include user agent in default headers Apr 14, 2026
@marksteinbrick-oai marksteinbrick-oai force-pushed the mark.steinbrick/responses-ws-user-agent branch from e4d9510 to 93c4a07 Compare April 14, 2026 20:20
@marksteinbrick-oai marksteinbrick-oai enabled auto-merge (squash) April 14, 2026 20:52
@marksteinbrick-oai marksteinbrick-oai force-pushed the mark.steinbrick/responses-ws-user-agent branch from 93c4a07 to 9c8bf8b Compare April 14, 2026 21:15
@marksteinbrick-oai marksteinbrick-oai force-pushed the mark.steinbrick/responses-ws-user-agent branch from 9c8bf8b to 50ccdcb Compare April 28, 2026 04:01
@marksteinbrick-oai marksteinbrick-oai requested a review from a team as a code owner April 28, 2026 04:01
@marksteinbrick-oai marksteinbrick-oai merged commit 6a8df2b into main Apr 28, 2026
25 of 26 checks passed
@marksteinbrick-oai marksteinbrick-oai deleted the mark.steinbrick/responses-ws-user-agent branch April 28, 2026 04:32
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 28, 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.

3 participants