Skip to content

Bound Code Mode metadata compatibility headers - #35364

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/494a30b6846e32ab44eb79b08dfec63360f563a7
Jul 25, 2026
Merged

Bound Code Mode metadata compatibility headers#35364
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/494a30b6846e32ab44eb79b08dfec63360f563a7

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 25, 2026

Copy link
Copy Markdown

Bound Code Mode metadata compatibility headers

Why

The Code Mode tool-name mapping is unbounded and can make HTTP and WebSocket
headers grow without limit.

What changed

Omit code_mode_tool_names from the direct x-codex-turn-metadata
compatibility header while retaining it in the canonical
client_metadata["x-codex-turn-metadata"] payload.

## Why

The Code Mode tool-name mapping is unbounded and can make HTTP and WebSocket
headers grow without limit.

## What changed

Omit `code_mode_tool_names` from the direct `x-codex-turn-metadata`
compatibility header while retaining it in the canonical
`client_metadata["x-codex-turn-metadata"]` payload.

GitOrigin-RevId: 494a30b6846e32ab44eb79b08dfec63360f563a7
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/494a30b6846e32ab44eb79b08dfec63360f563a7 branch from b4a730b to 5c36e86 Compare July 25, 2026 16:12
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot merged commit 5c36e86 into main Jul 25, 2026
13 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/494a30b6846e32ab44eb79b08dfec63360f563a7 branch July 25, 2026 16:13
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 25, 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