pakrym-oai
f5e8eac2ae
Refactor auth providers to mutate request headers ( #17866 )
...
## Summary
- Move auth header construction into the
`AuthProvider::add_auth_headers` contract.
- Inline `CoreAuthProvider` header mutation in its provider impl and
remove the shared header-map helper.
- Update HTTP, websocket, file upload, sideband websocket, and test auth
callsites to use the provider method.
- Add direct coverage for `CoreAuthProvider` auth header mutation.
## Testing
- `just fmt`
- `cargo test -p codex-api`
- `cargo test -p codex-core
client::tests::auth_request_telemetry_context_tracks_attached_auth_and_retry_phase`
- `cargo test -p codex-core` failed on unrelated/reproducible
`tools::handlers::multi_agents::tests::multi_agent_v2_followup_task_interrupts_busy_child_without_losing_message`
---------
Co-authored-by: Celia Chen <celia@openai.com >
History
..
2026-04-14 15:40:40 -07:00
2026-04-07 08:03:35 -07:00
2026-04-07 00:32:41 +00:00
2026-04-06 16:22:59 -07:00
2026-04-14 14:26:10 -07:00
2026-04-08 15:47:29 -07:00
2026-04-10 07:48:44 -07:00
2026-04-14 19:47:50 -07:00
2026-04-07 08:03:35 -07:00
2026-04-15 15:00:27 +01:00
2026-04-15 11:47:26 +01:00
2026-04-13 09:59:08 +01:00
2026-03-24 18:34:44 -07:00
2026-04-15 11:34:27 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 21:02:59 +08:00
2026-04-14 14:26:10 -07:00
2026-03-24 18:10:53 -07:00
2026-04-15 10:08:27 -07:00
2026-04-07 21:20:22 +00:00
2026-04-14 12:49:02 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 09:52:17 -07:00
2026-04-15 11:52:51 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 18:04:35 -07:00
2026-04-13 23:11:49 -07:00
2026-04-15 11:34:27 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 11:34:27 -07:00
2026-03-12 08:16:36 -07:00
2026-04-01 23:06:24 -07:00
2026-03-27 19:00:44 -07:00
2026-03-12 08:16:36 -07:00
2026-04-10 13:03:54 -07:00
2026-03-27 19:00:44 -07:00
2026-04-13 23:11:49 -07:00
2026-04-13 21:52:56 -07:00
2026-04-13 21:52:56 -07:00
2026-03-12 00:35:21 -07:00
2026-03-27 19:00:44 -07:00
2026-03-25 10:43:49 -07:00
2026-03-27 19:00:44 -07:00
2026-03-27 06:17:59 +00:00
2026-03-27 19:00:44 -07:00
2026-03-24 12:43:53 -07:00
2026-04-03 12:07:07 -07:00
2026-04-13 09:59:08 +01:00
2026-04-06 11:11:44 -07:00
2026-04-07 10:52:08 -07:00
2026-04-15 04:40:12 +00:00
2026-04-15 04:40:12 +00:00
2026-04-14 19:39:10 -07:00
2026-04-14 20:36:48 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 15:40:40 -07:00
2025-09-24 14:29:51 -07:00
2026-01-08 15:07:30 +00:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 10:08:27 -07:00
2026-04-09 14:10:44 -04:00
2026-04-13 21:52:56 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 00:49:15 -07:00
2026-04-15 21:02:59 +08:00
2026-04-13 21:52:56 -07:00
2026-03-12 08:16:36 -07:00
2026-04-03 00:33:34 -07:00
2026-03-25 11:05:35 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-02 23:00:02 -07:00
2026-04-09 10:53:06 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-01 13:21:50 -07:00
2026-04-13 10:26:51 -07:00
2026-04-15 11:34:27 -07:00
2026-04-15 11:34:27 -07:00
2026-04-14 08:15:56 -07:00
2026-04-13 10:26:51 -07:00
2026-04-13 10:26:51 -07:00
2026-04-15 11:34:27 -07:00
2026-04-15 11:34:27 -07:00
2026-04-14 19:58:58 -07:00
2026-04-14 19:58:58 -07:00
2026-04-11 13:52:17 -07:00
2026-04-01 23:06:24 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 11:34:27 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-03-20 18:23:48 +00:00
2026-04-03 00:33:34 -07:00
2026-04-07 15:18:34 -07:00
2026-02-10 17:03:46 -08:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-03-27 19:00:44 -07:00
2026-04-02 13:47:10 -07:00
2026-04-14 15:40:40 -07:00
2026-04-13 10:26:51 -07:00
2026-04-14 14:26:10 -07:00
2026-04-07 08:03:35 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-04-03 00:33:34 -07:00
2026-04-13 10:26:51 -07:00
2026-04-14 15:40:40 -07:00
2026-03-31 14:10:43 +02:00
2026-04-13 23:11:49 -07:00
2026-03-12 08:16:36 -07:00
2026-04-01 23:06:24 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-03-18 10:03:38 +00:00
2026-04-07 08:03:35 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-01-30 16:37:56 -08:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-08 08:42:18 -07:00
2026-04-08 08:42:18 -07:00