Skip to content

Forward thread originators from standalone extensions - #33677

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/165dace8e4d24e4bd92f234bff5ec77a21a7ff6e
Jul 16, 2026
Merged

Forward thread originators from standalone extensions#33677
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/165dace8e4d24e4bd92f234bff5ec77a21a7ff6e

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 16, 2026

Copy link
Copy Markdown

Forward thread originators from standalone extensions

Why

Standalone web search and image requests need to preserve the trusted,
thread-scoped originator used for billing attribution.

What changed

  • Seed extension data with the resolved thread originator and recognize
    codex_work_cca and chatgpt_cca service names as originators.
  • Forward non-default originators from the web search and image generation
    extensions with the shared originator-header helper.

Testing

  • Cover originator resolution, header validation, and forwarding for web
    search, image generation, and image editing.

## Why

Standalone web search and image requests need to preserve the trusted,
thread-scoped originator used for billing attribution.

## What changed

- Seed extension data with the resolved thread originator and recognize
  `codex_work_cca` and `chatgpt_cca` service names as originators.
- Forward non-default originators from the web search and image generation
  extensions with the shared originator-header helper.

## Testing

- Cover originator resolution, header validation, and forwarding for web
  search, image generation, and image editing.

GitOrigin-RevId: 165dace8e4d24e4bd92f234bff5ec77a21a7ff6e
@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 force-pushed the copyberry/codex-internal-to-codex-oss/165dace8e4d24e4bd92f234bff5ec77a21a7ff6e branch from 2997d14 to 78ba047 Compare July 16, 2026 19:32
@copyberry
copyberry Bot merged commit 78ba047 into main Jul 16, 2026
13 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/165dace8e4d24e4bd92f234bff5ec77a21a7ff6e branch July 16, 2026 19:33
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 16, 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