Teknium
fb5a7d37be
fix(credential-pool): rotate Codex failures to a usable sibling
...
Three rotation paths gave up or handed back an unusable login while a
healthy sibling sat idle, sending the turn to fallback_providers:
- Unmatched-identity rotation declined whenever only one entry was
available, even when the pool had a second login that was merely
cooling (#127722 ). Decline only for a true single-entry pool; repeats
stay bounded by the #70401 streak cap.
- A 429 on the priority-0 account let a cached "quota restored" probe
verdict lift the bench it had just written; the #97315 guard then saw
the failed entry come back and returned None instead of trying the
next account (#134327 ). Rotation now excludes the just-marked entries,
and a live quota 429 pins the cached probe verdict (including one still
in flight) to "not restored", so the next turn does not bounce back.
- Rotation selected with token refresh deferred, so an expired Codex
access token was handed out and the retry 401'd again (#142473 ). The
rotation target is refreshed before it is returned.
_rotate_unmatched moves next to the selection code so credential_pool.py
shrinks.
Fixes #127722 , fixes #134327 , fixes #142473
Co-authored-by: Yagna Vudathu <yagnavudathu@gmail.com >
Co-authored-by: skyeyesec333 <36165556+skyeyesec333@users.noreply.github.com >
2026-12-01 18:50:25 -08:00
..
2026-11-29 14:14:47 -08:00
2026-12-01 16:00:09 -08:00
2026-12-01 15:58:42 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 15:24:20 -08:00
2026-12-01 13:10:52 -08:00
2026-12-01 16:49:15 -08:00
2026-11-30 23:10:51 -08:00
2026-12-01 13:09:47 -08:00
2026-12-01 13:20:40 -08:00
2026-11-30 14:45:36 +05:30
2026-12-01 17:49:22 +05:30
2026-12-01 02:42:48 -08:00
2026-12-01 02:42:48 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 17:49:22 +05:30
2026-12-01 17:49:22 +05:30
2026-11-24 19:45:57 -08:00
2026-12-01 18:50:25 -08:00
2026-12-01 17:01:33 -05:00
2026-11-27 19:20:23 +05:30
2026-12-01 02:16:39 -08:00
2026-12-01 11:14:08 -05:00
2026-12-01 17:01:33 -05:00
2026-12-01 15:34:00 -05:00
2026-12-01 13:48:28 -08:00
2026-12-01 17:01:33 -05:00
2026-12-01 14:54:30 -08:00
2026-12-01 15:25:01 -08:00
2026-12-01 15:19:53 -08:00
2026-12-01 14:11:00 -08:00
2026-11-27 15:37:30 +05:30
2026-12-01 03:30:13 -08:00
2026-12-01 01:57:03 -08:00
2026-12-01 17:49:22 +05:30
2026-12-02 04:05:32 +05:30
2026-11-23 23:04:14 -08:00
2026-11-27 11:33:38 -05:00
2026-11-30 16:47:24 +05:30
2026-12-01 13:20:40 -08:00
2026-12-01 01:34:52 -05:00
2026-11-28 19:13:32 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 12:55:23 -08:00
2026-11-25 15:11:12 +05:30
2026-11-28 19:42:51 -08:00
2026-11-29 03:22:20 -08:00
2026-12-01 12:55:23 -08:00
2026-12-01 19:05:49 +05:30
2026-12-01 22:51:13 +05:30
2026-11-25 22:16:36 -05:00
2026-12-01 22:51:13 +05:30
2026-12-02 04:05:32 +05:30
2026-12-01 22:51:13 +05:30
2026-11-29 03:22:20 -08:00
2026-12-01 15:59:27 -08:00
2026-12-01 11:14:08 -05:00
2026-11-29 03:22:20 -08:00
2026-12-01 19:40:47 +05:30
2026-11-28 21:00:57 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 19:40:47 +05:30
2026-12-01 17:49:22 +05:30
2026-11-28 12:39:42 -08:00
2026-11-29 03:22:20 -08:00
2026-12-01 00:30:17 +05:30
2026-12-01 11:14:08 -05:00
2026-12-01 00:30:17 +05:30
2026-11-28 19:42:51 -08:00
2026-11-30 16:59:14 +05:30
2026-12-01 14:11:00 -08:00
2026-11-29 03:22:20 -08:00
2026-12-01 22:51:13 +05:30
2026-11-29 03:38:00 -08:00
2026-11-29 14:14:47 -08:00
2026-11-30 14:34:22 -08:00
2026-12-01 13:09:47 -08:00
2026-12-01 16:49:15 -08:00
2026-12-01 15:58:42 -08:00
2026-11-28 15:31:26 -08:00
2026-12-01 22:51:13 +05:30
2026-11-28 06:39:41 -08:00
2026-11-23 21:37:40 -05:00
2026-11-28 07:11:48 -08:00
2026-12-01 15:55:15 -08:00
2026-12-01 22:45:51 +05:30
2026-11-30 23:40:35 +05:30
2026-12-01 13:48:28 -08:00
2026-11-27 17:48:48 -08:00
2026-12-01 13:19:31 -08:00
2026-11-30 14:34:22 -08:00
2026-12-01 22:51:13 +05:30
2026-11-28 18:25:55 -08:00
2026-12-01 13:20:40 -08:00
2026-12-01 16:05:22 -08:00
2026-12-01 15:57:56 -08:00
2026-11-30 16:47:24 +05:30
2026-11-24 08:24:46 +00:00
2026-11-28 06:39:41 -08:00
2026-12-02 04:05:32 +05:30
2026-12-01 16:05:22 -08:00
2026-12-01 13:48:28 -08:00
2026-12-01 15:55:15 -08:00
2026-12-01 00:30:17 +05:30
2026-11-29 03:22:20 -08:00
2026-12-01 15:59:27 -08:00
2026-11-29 03:38:00 -08:00
2026-12-02 04:05:32 +05:30
2026-12-01 22:45:51 +05:30
2026-11-28 01:37:13 +05:30
2026-11-28 21:00:57 -08:00
2026-11-29 00:16:08 -08:00
2026-12-01 15:59:27 -08:00
2026-12-01 14:04:13 -08:00
2026-12-01 14:04:13 -08:00
2026-12-01 13:20:40 -08:00
2026-11-30 15:19:12 -08:00
2026-11-30 21:23:32 -05:00
2026-11-30 21:24:33 -05:00
2026-12-01 17:49:22 +05:30
2026-11-30 21:24:33 -05:00
2026-11-26 00:56:22 -05:00
2026-11-26 00:55:20 -05:00
2026-12-01 13:47:20 -08:00
2026-11-23 21:37:40 -05:00
2026-11-29 14:14:47 -08:00
2026-11-26 01:29:46 -08:00
2026-11-29 14:14:47 -08:00
2026-11-28 12:39:42 -08:00
2026-12-01 12:55:23 -08:00
2026-12-01 17:49:22 +05:30
2026-11-23 21:37:40 -05:00
2026-11-30 22:40:58 +05:30
2026-11-26 10:41:29 -05:00
2026-12-01 02:53:32 -08:00
2026-12-01 17:49:22 +05:30
2026-11-23 21:37:40 -05:00
2026-11-30 15:19:12 -08:00
2026-11-29 02:26:27 -08:00
2026-11-28 19:42:51 -08:00
2026-12-01 12:55:23 -08:00
2026-12-01 19:40:47 +05:30
2026-12-01 17:49:22 +05:30
2026-11-30 15:19:12 -08:00
2026-12-01 13:20:40 -08:00
2026-12-01 13:14:21 -08:00
2026-11-29 03:22:20 -08:00
2026-12-01 19:40:47 +05:30
2026-11-29 03:38:00 -08:00
2026-11-27 15:37:30 +05:30
2026-12-01 11:14:08 -05:00
2026-12-01 22:51:13 +05:30
2026-11-28 14:51:52 -08:00
2026-12-01 04:13:29 +05:30
2026-11-30 22:38:47 +05:30
2026-12-01 22:51:13 +05:30
2026-12-01 17:49:22 +05:30
2026-11-30 00:00:30 -08:00
2026-12-01 17:49:22 +05:30
2026-11-22 08:04:24 +05:30
2026-11-22 15:32:20 +05:30
2026-11-30 14:45:36 +05:30
2026-11-29 03:38:00 -08:00
2026-11-28 01:58:02 -06:00
2026-11-26 00:01:22 -05:00
2026-12-01 14:13:57 -08:00
2026-12-01 13:20:40 -08:00
2026-12-01 01:58:34 -08:00
2026-12-01 16:49:15 -08:00
2026-12-01 00:30:17 +05:30
2026-12-01 17:49:22 +05:30
2026-12-01 17:49:22 +05:30
2026-12-01 17:49:22 +05:30
2026-11-25 04:43:25 +00:00
2026-12-01 14:13:57 -08:00
2026-11-30 14:45:36 +05:30
2026-12-01 14:10:08 -08:00
2026-11-30 14:45:36 +05:30
2026-12-01 17:49:22 +05:30
2026-11-30 14:45:36 +05:30
2026-11-28 13:13:07 -08:00
2026-12-01 15:25:56 -08:00
2026-11-30 23:11:44 -08:00
2026-12-01 15:05:34 +05:30
2026-12-01 15:16:15 -08:00
2026-11-30 17:53:05 -08:00
2026-12-01 15:17:34 -08:00
2026-12-01 11:14:08 -05:00
2026-12-01 11:14:08 -05:00
2026-12-01 13:16:58 -08:00
2026-11-25 18:16:54 -05:00
2026-12-01 15:27:29 -08:00
2026-12-01 17:49:22 +05:30
2026-11-25 18:16:54 -05:00
2026-12-01 16:10:28 -08:00
2026-11-28 23:00:48 -08:00
2026-11-28 23:00:48 -08:00
2026-12-01 22:51:13 +05:30
2026-12-01 15:56:45 -08:00
2026-11-28 15:59:41 -08:00
2026-11-27 09:41:31 -05:00
2026-11-27 09:41:31 -05:00
2026-11-30 14:45:36 +05:30
2026-11-29 02:54:19 -08:00
2026-11-29 14:14:47 -08:00
2026-11-28 06:10:12 -08:00
2026-11-28 13:40:56 -08:00
2026-11-27 19:28:21 -06:00
2026-12-01 17:49:22 +05:30
2026-11-28 17:19:24 -08:00
2026-12-01 17:49:22 +05:30
2026-11-27 19:28:21 -06:00
2026-12-01 17:49:22 +05:30
2026-11-27 19:28:21 -06:00
2026-11-25 15:46:50 -05:00
2026-12-01 22:51:13 +05:30
2026-11-30 14:45:36 +05:30
2026-12-01 14:01:26 -08:00
2026-11-26 00:33:17 -08:00
2026-11-29 14:14:47 -08:00
2026-11-28 13:40:56 -08:00
2026-11-30 14:45:36 +05:30
2026-11-27 17:48:48 -08:00
2026-11-30 15:08:02 +05:30
2026-11-30 14:45:36 +05:30
2026-12-01 01:34:52 -05:00
2026-11-27 19:28:21 -06:00
2026-11-30 23:12:26 -08:00
2026-11-28 15:31:26 -08:00
2026-11-30 16:47:24 +05:30
2026-11-27 10:40:08 -05:00
2026-11-25 04:47:08 +00:00
2026-12-01 22:51:13 +05:30
2026-11-28 21:03:36 -08:00
2026-12-01 13:20:40 -08:00
2026-12-01 13:47:20 -08:00
2026-11-22 11:43:13 +05:30
2026-12-01 17:01:33 -05:00
2026-11-24 19:45:57 -08:00
2026-11-30 23:20:42 +05:30
2026-12-01 17:01:33 -05:00
2026-11-28 01:37:13 +05:30
2026-12-01 22:51:13 +05:30
2026-12-01 15:52:37 -08:00
2026-11-28 19:42:51 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 19:40:47 +05:30
2026-11-28 01:37:13 +05:30
2026-12-01 15:52:37 -08:00
2026-12-01 13:11:42 -08:00
2026-12-01 14:02:07 -08:00
2026-12-01 16:10:28 -08:00
2026-12-01 12:52:46 +05:30
2026-12-01 19:40:47 +05:30
2026-12-01 13:44:22 -08:00
2026-12-01 15:56:45 -08:00
2026-11-28 13:13:07 -08:00
2026-11-28 20:48:40 -08:00
2026-12-01 22:45:51 +05:30
2026-11-27 17:48:48 -08:00
2026-11-30 14:35:29 -08:00
2026-11-26 00:37:23 -08:00
2026-11-30 14:35:29 -08:00
2026-12-01 17:49:22 +05:30
2026-11-28 19:42:51 -08:00
2026-12-01 22:51:13 +05:30
2026-12-01 13:20:35 -08:00
2026-12-01 17:49:22 +05:30
2026-11-29 03:22:20 -08:00
2026-11-28 14:59:59 -08:00
2026-12-01 13:13:31 -08:00
2026-11-30 14:40:51 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 13:48:28 -08:00
2026-11-29 03:22:20 -08:00
2026-11-23 21:37:40 -05:00
2026-11-28 01:37:13 +05:30
2026-12-01 22:51:13 +05:30
2026-12-01 22:51:13 +05:30
2026-12-01 22:51:13 +05:30
2026-11-30 16:59:14 +05:30
2026-12-02 04:05:32 +05:30
2026-12-01 22:51:13 +05:30
2026-11-30 14:34:22 -08:00
2026-11-30 21:24:33 -05:00
2026-11-22 22:17:58 -08:00
2026-11-30 14:40:51 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 14:34:06 +05:30
2026-12-01 14:34:06 +05:30
2026-12-01 19:40:47 +05:30
2026-12-01 01:57:03 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 14:34:06 +05:30
2026-12-01 13:04:42 +05:30
2026-11-28 01:58:02 -06:00
2026-12-01 13:04:42 +05:30
2026-11-30 14:40:51 -08:00
2026-12-01 14:34:06 +05:30
2026-11-30 23:10:51 -08:00
2026-12-01 13:04:42 +05:30
2026-11-29 03:11:43 -06:00
2026-12-01 17:49:22 +05:30
2026-12-01 13:04:42 +05:30
2026-11-30 15:06:10 -08:00
2026-11-30 16:59:14 +05:30
2026-11-27 18:26:17 -06:00
2026-12-01 19:40:47 +05:30
2026-11-26 08:53:43 -08:00
2026-12-01 14:13:57 -08:00
2026-12-01 17:49:22 +05:30
2026-12-01 15:17:34 -08:00
2026-11-30 23:06:23 -08:00
2026-11-28 06:10:12 -08:00
2026-11-26 00:57:21 -05:00
2026-12-01 19:40:47 +05:30
2026-12-01 17:49:22 +05:30
2026-12-01 00:30:17 +05:30
2026-12-01 17:49:22 +05:30
2026-11-30 14:39:10 -08:00
2026-11-30 14:45:36 +05:30
2026-12-01 17:49:22 +05:30
2026-12-01 16:49:15 -08:00
2026-12-01 16:08:31 -08:00
2026-11-27 19:28:21 -06:00
2026-11-30 21:24:33 -05:00
2026-12-01 17:49:22 +05:30
2026-12-01 18:18:10 -05:00
2026-12-01 14:01:26 -08:00
2026-11-26 16:23:17 -05:00
2026-11-26 00:57:21 -05:00
2026-12-01 17:49:22 +05:30
2026-11-30 14:42:21 -08:00
2026-12-01 19:05:49 +05:30
2026-11-30 22:38:47 +05:30
2026-12-01 00:30:17 +05:30
2026-12-01 00:30:17 +05:30
2026-12-01 17:49:22 +05:30