SIGN IN SIGN UP

Track image generation request IDs in analytics (#40714)

## What changed

- Read `x-codex-imagegen-request-id` from image generation and edit responses.
- Propagate the ID to `codex_image_generation_event` analytics.
- Keep the ID in process only, excluding it from extension item serialization, generated types, app-server wire data, and rollout history.

## Testing

- Cover response-header extraction and missing-header behavior in the images client.
- Verify end-to-end analytics emission and the unchanged image-generation item wire shape.

GitOrigin-RevId: 9b8e09b7d655c0c2faa84f0eee99aabae583668d
C
Chris Dong committed
346c4db7c2ee64a56ca75124bfa4cbe27e312f96
Parent: 1bc02ae
Committed by copyberry <copyberry@app.openai.com> on 8/25/2026, 9:38:10 PM