Skip to content

Read model ETags from WebSocket metadata events - #38251

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9b9cff3d8a0a914549aca62d8d316483a9a47f69
Aug 12, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9b9cff3d8a0a914549aca62d8d316483a9a47f69

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Read model ETags from WebSocket metadata events

What changed

  • Extract x-models-etag from codex.response.metadata events and emit it as a ModelsEtag response event.
  • Stop reading or reporting the model ETag from WebSocket upgrade headers.

Testing

  • Update the WebSocket response-stream test to deliver the ETag through a metadata event and verify that it is emitted.

## What changed

- Extract `x-models-etag` from `codex.response.metadata` events and emit it as a `ModelsEtag` response event.
- Stop reading or reporting the model ETag from WebSocket upgrade headers.

## Testing

- Update the WebSocket response-stream test to deliver the ETag through a metadata event and verify that it is emitted.

GitOrigin-RevId: 9b9cff3d8a0a914549aca62d8d316483a9a47f69
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/9b9cff3d8a0a914549aca62d8d316483a9a47f69 branch from da76679 to 8bb8d60 Compare August 12, 2026 21:19
@copyberry
copyberry Bot merged commit 8bb8d60 into main Aug 12, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/9b9cff3d8a0a914549aca62d8d316483a9a47f69 branch August 12, 2026 21:20
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 12, 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