Sidharth Lakshmanan
0bfb8467da
Preserve per-image metadata in app-server image generation items ( #62871 )
...
## Why
App-server clients lose metadata supplied by the image backend when
Codex turns the response into a completed image generation item.
## What changed
Expose the backend's `image_metadata` as optional `imageMetadata` in
app-server items and preserve nested values through thread persistence,
resume, and legacy history replay and migration. Keep this metadata out
of model tool output.
Omit empty metadata and discard non-object, oversized, or deeply nested
metadata without dropping the generated image.
## Testing
Extend coverage for per-image parsing, metadata limits, and round trips
through app-server completion, persisted history, and thread resume.
GitOrigin-RevId: 7211a9db1149cb05e6176b08b0462ca173ac72d5
2026-11-21 00:23:59 +00:00
..
2026-11-10 23:34:54 +00:00
2026-11-10 08:36:09 +00:00
2026-11-10 15:54:09 +00:00
2026-11-20 20:24:34 +00:00
2026-11-17 13:38:01 +00:00
2026-11-17 11:58:26 +00:00
2026-11-21 00:23:59 +00:00
2026-11-10 08:34:17 +00:00
2026-11-17 06:32:38 +00:00
2026-11-07 04:48:30 +00:00
2026-11-05 00:19:26 +00:00
2026-11-10 08:36:09 +00:00
2026-11-17 06:18:06 +00:00
2026-11-19 00:59:23 +00:00
2026-10-03 00:02:11 +00:00
2026-10-26 18:13:00 +00:00
2026-11-13 18:50:28 +00:00
2026-10-03 03:00:46 +00:00
2026-10-23 18:39:28 +00:00
2026-11-17 02:43:52 +00:00
2026-11-14 07:46:36 +00:00
2026-11-13 00:52:53 +00:00
2026-11-06 03:51:37 +00:00
2026-11-17 03:15:14 +00:00
2026-11-18 22:13:26 +00:00
2026-11-17 13:39:08 +00:00
2026-10-26 18:13:00 +00:00
2026-11-03 12:08:29 +00:00
2026-11-05 19:11:18 +00:00
2026-11-17 06:33:13 +00:00
2026-10-30 04:00:47 +00:00
2026-11-13 18:48:50 +00:00
2026-11-10 19:52:49 +00:00
2026-11-10 19:52:49 +00:00
2026-11-03 23:36:34 +00:00
2026-11-18 22:13:26 +00:00
2026-10-15 19:11:06 +00:00
2026-10-02 01:34:23 +00:00
2026-10-15 19:11:06 +00:00
2026-10-10 22:28:01 +00:00
2026-11-05 05:54:31 +00:00
2026-11-11 09:01:04 +00:00
2026-10-08 18:06:19 +00:00
2026-11-18 22:13:26 +00:00
2026-11-19 02:26:51 +00:00
2026-11-18 18:48:22 +00:00
2026-11-13 00:52:53 +00:00
2026-11-05 21:05:51 +00:00
2026-11-18 18:11:54 +00:00
2026-11-18 18:48:22 +00:00
2026-11-17 07:10:46 +00:00
2026-11-13 05:04:45 +00:00
2026-11-13 05:04:45 +00:00
2026-11-12 19:43:12 +00:00
2026-11-12 19:43:12 +00:00
2026-09-25 15:05:54 +00:00
2026-11-18 19:11:14 +00:00
2026-11-14 07:46:36 +00:00
2026-11-20 17:45:15 +00:00
2026-11-19 02:26:51 +00:00
2026-10-27 05:15:31 +00:00
2026-11-10 15:54:09 +00:00
2026-09-30 19:22:34 +00:00
2026-11-16 04:23:56 +00:00
2026-11-19 02:26:51 +00:00
2026-11-05 19:11:18 +00:00
2026-11-18 22:40:03 +00:00
2026-11-09 01:52:42 +00:00
2026-11-18 22:13:26 +00:00
2026-10-15 19:11:32 +00:00
2026-10-15 19:11:32 +00:00
2026-11-19 23:55:41 +00:00
2026-10-20 00:02:07 +00:00
2026-11-19 01:16:44 +00:00
2026-11-05 16:55:40 +00:00
2026-10-15 19:11:32 +00:00
2026-11-18 22:40:03 +00:00
2026-11-17 11:58:26 +00:00
2026-11-19 00:59:23 +00:00
2026-11-19 00:59:23 +00:00
2026-11-18 22:13:26 +00:00
2026-11-19 02:26:51 +00:00
2026-11-13 23:27:43 +00:00
2026-11-17 06:32:38 +00:00
2026-11-17 07:27:10 +00:00
2026-11-17 00:13:04 +00:00
2026-11-13 04:51:06 +00:00
2026-09-24 14:15:42 +00:00
2026-11-19 02:26:51 +00:00
2026-09-29 00:40:54 +00:00
2026-11-17 00:13:04 +00:00
2026-11-19 02:26:51 +00:00
2026-11-09 19:37:04 +00:00
2026-10-03 03:00:46 +00:00
2026-11-13 00:52:53 +00:00
2026-11-19 01:16:44 +00:00
2026-10-06 19:12:40 +00:00
2026-11-02 23:19:03 +00:00