Adam Perry @ OpenAI
7bafdada8b
Separate Codex error details from retry metadata ( #34996 )
...
## What changed
- Wrap `CodexErrorDetails` and an optional retry delay in `CodexErr`, allowing any mapped error to preserve server-provided retry timing.
- Generate the payload-free `CodexErrKind` classification alongside the error details and reuse it for analytics.
- Update error handling sites to inspect `CodexErr::details()` while preserving existing display, debug, protocol mapping, and retryability behavior.
## Testing
- Add coverage for legacy debug formatting, error-specific retryability, and retry-delay propagation through API error mapping.
GitOrigin-RevId: d3ab8a305f2a2ee21d0c0a8c8c388b06dda9c59a
2026-07-23 19:32:26 +00:00
..
2026-07-02 10:59:00 -07:00
2026-07-23 19:19:35 +00:00
2026-07-21 22:44:43 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 19:32:26 +00:00
2026-07-22 21:35:16 +00:00
2026-07-21 08:50:21 +00:00
2026-07-23 17:55:22 +00:00
2026-07-22 22:54:28 +00:00
2026-07-23 19:19:35 +00:00
2026-07-22 02:19:45 +00:00
2026-07-21 08:59:41 +00:00
2026-07-21 15:00:18 +00:00
2026-07-23 01:00:35 +00:00
2026-07-23 19:24:41 +00:00
2026-07-22 02:26:16 +00:00
2026-07-22 01:35:06 +00:00
2026-07-21 08:28:51 +00:00
2026-07-18 23:22:13 +00:00
2026-07-06 16:26:56 -07:00
2026-07-21 02:07:13 +00:00
2026-07-23 19:32:26 +00:00
2026-07-07 13:00:44 -07:00
2026-07-07 01:12:24 +00:00
2026-07-23 19:24:41 +00:00
2026-07-23 18:54:55 +00:00
2026-07-23 01:00:35 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 19:19:35 +00:00
2026-07-23 19:24:41 +00:00
2026-07-22 00:50:28 +00:00
2026-07-23 19:24:41 +00:00
2026-07-23 19:24:41 +00:00
2026-07-21 21:54:31 +00:00
2026-07-20 06:13:29 +00:00
2026-07-23 19:19:35 +00:00
2026-07-23 17:51:12 +00:00
2026-07-23 18:54:55 +00:00
2026-07-22 16:50:09 +00:00
2026-07-21 19:17:18 +00:00
2026-07-22 02:19:45 +00:00
2026-07-20 20:06:58 +00:00
2026-07-23 17:44:48 +00:00
2026-07-08 12:17:58 -04:00
2026-07-23 19:32:26 +00:00
2026-07-22 04:17:34 +00:00
2026-07-23 00:02:15 +00:00
2026-07-23 19:24:41 +00:00
2026-07-23 19:19:35 +00:00
2026-07-17 20:52:42 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 00:02:15 +00:00
2026-07-22 06:09:10 +00:00
2026-07-22 00:31:30 +00:00
2026-07-20 16:25:57 +00:00
2026-07-22 19:14:11 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 15:29:10 +00:00
2026-07-23 19:19:35 +00:00
2026-07-20 23:30:30 +00:00
2026-07-21 21:06:04 +00:00
2026-07-16 01:12:14 +00:00
2026-07-20 23:22:48 +00:00
2026-07-23 19:19:35 +00:00
2026-07-23 19:24:41 +00:00
2026-07-23 19:19:35 +00:00
2026-07-22 21:00:01 +00:00
2026-07-23 19:24:41 +00:00
2026-07-22 02:19:45 +00:00
2026-07-22 16:18:08 +00:00
2026-07-21 00:33:04 +00:00
2026-07-21 22:36:18 +00:00
2026-07-09 17:31:44 -07:00
2026-07-23 19:24:41 +00:00
2026-07-23 19:24:41 +00:00
2026-07-11 03:27:51 +00:00
2026-07-22 04:17:34 +00:00