goodman-oai
65a5410f72
Add trusted request-country metadata to Responses requests ( #61535 )
...
## What changed
- Add `RequestCountry` for host-supplied country codes. Normalize two-letter ASCII codes to uppercase, omit the field by default, and serialize explicit unknown (`XX`) as `null` to prevent fallback to request provenance.
- Carry `request_country` through thread defaults and captured step settings into Codex backend HTTP and WebSocket requests. Allow live country updates without enabling `step_model_switching`, and preserve WebSocket continuation reuse when the country changes.
- Propagate the captured country to subagents, reviews, and compaction requests.
## Testing
Add coverage for country validation and serialization, thread and live-turn update lifetimes, prewarm settings capture, agent inheritance and reloads, compaction and reviews, WebSocket country changes, and HTTP fallback.
GitOrigin-RevId: 787cd1fa7ba5d465a4eb64a92f13c79e93d9bca7
2026-11-14 15:44:38 +00:00
..
2026-09-26 23:17:41 +00:00
2026-11-14 00:32:02 +00:00
2026-11-14 15:44:38 +00:00
2026-10-20 11:48:54 +00:00
2026-09-14 22:31:32 +00:00
2026-11-05 05:09:32 +00:00
2026-07-23 01:00:35 +00:00
2026-07-22 14:16:51 +00:00
2026-09-23 00:49:19 +00:00
2026-10-26 18:05:05 +00:00
2026-08-21 19:04:32 +00:00
2026-08-24 21:39:48 +00:00
2026-11-14 06:14:36 +00:00
2026-08-25 20:37:15 +00:00
2026-08-25 20:37:15 +00:00
2026-09-08 10:18:59 +00:00
2026-09-24 09:25:19 +00:00
2026-08-10 11:22:55 +00:00
2026-11-04 22:20:18 +00:00
2026-09-09 17:45:17 +00:00
2026-11-13 23:04:26 +00:00
2026-10-27 08:06:10 +00:00
2026-11-07 23:51:58 +00:00
2026-11-13 23:04:26 +00:00
2026-11-13 23:04:26 +00:00
2026-11-14 01:54:53 +00:00
2026-06-08 10:20:54 -07:00
2026-09-09 23:59:14 +00:00
2026-09-16 00:54:58 +00:00
2026-07-18 23:22:13 +00:00
2026-08-28 19:12:34 +00:00
2026-11-10 02:45:30 +00:00
2026-10-09 23:16:46 +00:00
2026-11-03 13:38:59 +00:00
2026-08-21 19:04:32 +00:00
2026-03-27 19:00:44 -07:00
2026-05-28 23:09:55 -07:00
2026-11-10 01:28:45 +00:00
2026-06-23 00:43:56 +00:00
2026-10-26 18:20:30 +00:00
2026-10-26 18:20:30 +00:00
2026-11-11 22:30:35 +00:00
2026-10-22 19:36:47 +00:00
2026-11-14 01:54:53 +00:00
2026-09-24 17:04:50 +00:00
2026-09-24 17:04:50 +00:00
2026-08-25 20:37:15 +00:00
2026-11-14 01:54:53 +00:00
2026-10-06 19:51:15 +00:00
2026-11-04 02:00:01 +00:00
2026-11-10 01:28:45 +00:00
2026-10-29 11:23:51 +00:00
2026-11-05 05:09:32 +00:00
2026-11-06 22:27:47 +00:00
2026-11-14 07:09:26 +00:00
2026-11-13 23:04:26 +00:00
2026-11-03 15:02:57 +00:00
2026-09-21 01:19:40 +00:00
2026-10-06 01:46:33 +00:00
2026-10-30 16:09:46 +00:00
2026-10-29 10:34:17 +00:00
2026-10-28 06:22:58 +00:00
2026-10-30 14:40:32 +00:00
2026-10-07 23:19:26 +00:00
2026-11-14 01:54:53 +00:00
2026-11-13 19:50:06 +00:00
2026-10-23 18:39:28 +00:00
2026-08-11 10:43:11 +00:00
2026-10-26 18:05:05 +00:00
2026-10-26 17:56:43 +00:00
2026-10-22 19:36:47 +00:00
2026-10-20 03:09:44 +00:00
2026-11-14 00:32:02 +00:00
2026-11-10 20:35:28 +00:00
2026-10-28 16:55:57 +00:00
2026-10-21 01:49:26 +00:00
2026-10-21 01:49:26 +00:00
2026-10-27 17:04:16 +00:00
2026-10-27 17:04:16 +00:00
2026-09-01 00:30:55 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-13 04:51:06 +00:00
2026-09-07 18:43:20 +00:00
2026-09-07 18:43:20 +00:00
2026-09-08 05:57:24 +00:00
2026-11-12 00:44:27 +00:00
2026-09-08 21:48:53 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-10-07 19:28:14 +00:00
2026-10-07 19:28:14 +00:00
2026-11-12 00:44:27 +00:00
2026-11-12 00:44:27 +00:00
2026-11-12 00:44:27 +00:00
2026-11-12 00:44:27 +00:00