Teknium
7c7daa25c6
fix(auth): judge each Nous token by its own arrival time
...
Review follow-up. The agent key and the access token can come from different
moments: a connectors refresh rotates the access token and its obtained_at
but leaves the older agent key in place. Pairing the agent key with the
access token's arrival time could make a 16-minute-old key look fresh.
- _agent_key_is_usable and PooledCredential.runtime_api_key read
agent_key_obtained_at for the agent key and obtained_at for the access token.
- A newly selected agent key records the access token's arrival time, not
"now", so both fields describe the same token.
- The auxiliary pool snapshots (_read_nous_auth, _resolve_nous_pool_runtime_api,
nous_auth_keepalive._entry_state) carry both arrival times, so side tasks
judge the same token the same way the main loop does.
2026-11-19 11:00:21 -08:00
..
2026-11-17 17:51:20 +01:00
2026-11-15 14:02:40 +05:30
2026-11-14 21:00:59 +01:00
2026-11-10 12:05:32 +05:30
2026-11-19 10:35:54 -08:00
2026-11-01 10:14:58 -08:00
2026-11-15 01:46:46 +01:00
2026-11-19 06:48:44 -06:00
2026-11-14 01:28:18 -08:00
2026-10-29 16:58:09 +05:30
2026-11-15 08:20:26 +05:30
2026-11-15 08:20:26 +05:30
2026-10-26 00:32:19 -07:00
2026-11-17 17:51:20 +01:00
2026-10-25 22:55:11 -07:00
2026-11-17 17:51:20 +01:00
2026-11-14 05:44:33 +05:30
2026-11-05 19:55:33 -06:00
2026-11-17 19:10:58 +01:00
2026-11-18 03:40:34 -08:00
2026-11-18 03:40:34 -08:00
2026-11-18 09:36:27 -08:00
2026-11-14 12:24:25 +01:00
2026-11-14 15:35:25 +01:00
2026-10-28 19:21:51 -07:00
2026-11-17 17:51:20 +01:00
2026-10-31 22:06:50 -07:00
2026-11-19 14:20:19 +01:00
2026-11-19 11:00:21 -08:00
2026-11-13 20:37:31 +01:00
2026-11-08 21:36:09 +05:30
2026-11-08 13:18:54 +05:30
2026-11-08 13:18:54 +05:30
2026-11-19 00:13:25 -08:00
2026-11-02 00:18:00 +05:30
2026-11-14 02:24:06 -08:00
2026-11-08 13:18:54 +05:30
2026-11-09 18:05:55 +05:30
2026-11-08 13:18:54 +05:30
2026-11-14 05:44:33 +05:30
2026-11-13 15:30:30 -08:00
2026-11-18 03:40:34 -08:00
2026-11-14 12:24:25 +01:00
2026-11-13 17:25:23 -08:00
2026-11-15 08:20:26 +05:30
2026-11-04 21:01:10 -08:00
2026-10-28 19:00:07 -07:00
2026-10-28 19:00:07 -07:00
2026-11-01 21:53:36 -08:00
2026-11-17 17:51:20 +01:00
2026-11-19 06:48:44 -06:00
2026-11-14 05:44:33 +05:30
2026-11-14 15:35:26 +01:00
2026-11-18 01:56:03 +05:30
2026-11-19 06:48:44 -06:00
2026-11-18 19:36:53 +01:00
2026-11-02 15:06:27 -05:00
2026-11-11 10:22:54 -05:00
2026-11-17 19:10:42 +01:00
2026-11-18 03:40:34 -08:00
2026-11-18 03:40:34 -08:00
2026-11-15 12:04:54 -08:00
2026-11-17 17:51:20 +01:00
2026-11-04 21:31:47 -08:00
2026-11-18 20:36:07 -08:00
2026-11-14 12:24:25 +01:00
2026-11-18 03:40:34 -08:00
2026-11-18 03:40:34 -08:00
2026-10-25 22:55:11 -07:00
2026-11-14 12:24:25 +01:00
2026-11-19 03:15:20 -08:00
2026-11-18 20:36:07 -08:00
2026-11-04 12:56:04 -05:00
2026-11-18 03:40:34 -08:00
2026-11-17 10:29:07 -08:00
2026-11-04 12:56:04 -05:00
2026-11-14 23:16:45 +01:00
2026-11-17 19:10:59 +01:00
2026-11-05 19:55:33 -06:00
2026-11-05 12:09:34 +01:00
2026-11-17 19:10:57 +01:00
2026-11-18 03:40:34 -08:00
2026-11-17 17:51:20 +01:00
2026-11-08 00:41:35 +05:30
2026-11-17 17:51:20 +01:00
2026-10-25 22:55:11 -07:00
2026-11-17 17:51:20 +01:00
2026-11-18 03:40:34 -08:00
2026-11-19 00:13:25 -08:00
2026-10-25 22:22:43 -07:00
2026-11-02 06:57:53 -08:00
2026-11-13 17:20:18 -08:00
2026-11-14 02:24:06 -08:00
2026-11-19 11:00:21 -08:00
2026-11-17 21:17:24 +01:00
2026-11-13 15:30:30 -08:00
2026-11-13 20:21:55 +01:00
2026-11-16 15:39:10 +05:30
2026-11-05 15:44:58 -05:00
2026-11-05 15:44:58 -05:00
2026-11-18 11:31:39 -08:00
2026-11-13 16:48:04 -08:00
2026-11-17 19:10:57 +01:00
2026-11-17 17:51:20 +01:00
2026-11-08 13:18:54 +05:30
2026-11-11 22:47:47 -08:00
2026-11-17 02:08:41 -08:00
2026-11-02 15:06:27 -05:00
2026-11-17 11:30:25 -05:00
2026-11-18 03:40:34 -08:00
2026-11-12 23:25:30 +01:00
2026-11-01 18:12:56 +05:30
2026-11-01 18:12:56 +05:30
2026-11-13 18:45:31 +00:00
2026-11-13 15:30:30 -08:00
2026-11-17 19:10:42 +01:00
2026-11-19 14:20:18 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-13 18:45:31 +00:00
2026-11-14 11:37:50 -08:00
2026-11-10 13:16:03 -08:00
2026-11-13 16:54:39 +01:00
2026-11-17 17:51:20 +01:00
2026-11-13 17:25:07 -08:00
2026-11-17 17:51:20 +01:00
2026-11-08 00:41:35 +05:30
2026-11-17 17:51:22 +01:00
2026-11-17 19:10:42 +01:00
2026-11-17 17:51:20 +01:00
2026-11-18 03:40:34 -08:00
2026-10-28 07:23:10 -07:00
2026-11-01 21:53:36 -08:00
2026-11-12 15:55:34 -05:00
2026-11-01 22:27:58 -08:00
2026-11-19 00:38:04 -08:00
2026-11-17 21:42:04 -06:00
2026-11-17 17:51:20 +01:00
2026-11-11 23:36:18 -08:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-09 18:07:31 +05:30
2026-11-06 20:38:46 -05:00
2026-10-27 16:30:14 +05:30
2026-11-01 22:07:56 -08:00
2026-11-17 17:51:20 +01:00
2026-11-06 20:38:46 -05:00
2026-11-13 17:24:06 -08:00
2026-11-18 03:40:34 -08:00
2026-11-15 01:58:38 +01:00
2026-11-18 01:56:03 +05:30
2026-11-14 05:44:33 +05:30
2026-11-17 10:29:07 -08:00
2026-11-18 03:40:34 -08:00
2026-11-18 03:40:34 -08:00
2026-11-17 17:51:20 +01:00
2026-11-18 03:40:34 -08:00
2026-11-17 17:51:20 +01:00
2026-11-06 12:45:21 -05:00
2026-11-16 14:23:53 +05:30
2026-10-25 22:22:47 -07:00
2026-11-17 21:42:04 -06:00
2026-11-19 06:48:44 -06:00
2026-11-17 17:51:20 +01:00
2026-11-09 22:19:43 -05:00
2026-11-15 15:43:35 +01:00
2026-11-13 16:48:04 -08:00
2026-11-14 21:01:00 +01:00
2026-11-14 13:29:33 +01:00
2026-11-15 15:45:29 +01:00
2026-11-15 16:28:14 +01:00
2026-11-15 04:26:38 +01:00
2026-11-14 21:01:45 +01:00
2026-11-08 11:44:20 -08:00
2026-11-15 16:05:52 +01:00
2026-11-15 01:46:46 +01:00
2026-11-12 21:34:14 +01:00
2026-11-14 05:01:11 -08:00
2026-11-15 01:46:46 +01:00
2026-11-14 17:12:39 +01:00
2026-11-14 15:38:44 +01:00
2026-11-15 01:46:46 +01:00
2026-11-14 21:01:45 +01:00
2026-11-15 17:50:06 +01:00
2026-11-17 17:51:20 +01:00
2026-11-09 23:23:46 -08:00
2026-11-13 15:30:30 -08:00
2026-11-13 15:30:30 -08:00
2026-11-14 02:24:06 -08:00
2026-11-08 17:34:10 +05:30
2026-11-07 01:17:21 -05:00
2026-11-11 09:54:19 -05:00
2026-11-14 17:25:54 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-10-31 22:59:20 -07:00
2026-11-17 17:51:20 +01:00
2026-11-14 22:56:45 +01:00
2026-11-17 19:10:57 +01:00
2026-11-06 19:39:21 -05:00
2026-11-11 10:22:54 -05:00
2026-11-13 15:30:30 -08:00
2026-11-18 03:40:34 -08:00
2026-11-18 11:31:39 -08:00
2026-11-11 10:22:54 -05:00
2026-11-02 19:08:46 -05:00
2026-11-17 17:51:20 +01:00
2026-11-12 01:25:10 -08:00
2026-11-17 00:31:01 -08:00
2026-11-17 17:51:20 +01:00
2026-10-31 22:44:47 -07:00
2026-10-31 22:44:47 -07:00
2026-11-16 21:58:16 +05:30
2026-11-14 16:16:33 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-16 15:23:37 +05:30
2026-11-04 13:38:09 -08:00
2026-11-09 09:26:51 -08:00
2026-10-31 22:06:50 -07:00
2026-11-17 17:51:22 +01:00
2026-11-19 06:48:44 -06:00
2026-11-17 17:51:20 +01:00
2026-11-15 11:49:27 -08:00
2026-11-17 17:51:20 +01:00
2026-11-16 21:55:47 +05:30
2026-11-14 12:24:25 +01:00
2026-11-17 17:51:20 +01:00
2026-11-14 12:43:56 +01:00
2026-11-17 17:51:20 +01:00
2026-11-16 21:53:44 +05:30
2026-11-16 21:53:44 +05:30
2026-11-10 02:26:26 +05:30
2026-11-17 00:31:01 -08:00
2026-11-18 03:40:34 -08:00
2026-11-04 21:01:10 -08:00
2026-11-18 03:40:34 -08:00
2026-11-18 03:40:34 -08:00
2026-11-11 23:51:56 -08:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 00:31:01 -08:00
2026-11-18 03:40:34 -08:00
2026-11-17 17:51:20 +01:00
2026-11-14 05:44:33 +05:30
2026-11-18 03:40:34 -08:00
2026-11-18 03:40:34 -08:00
2026-11-08 13:18:54 +05:30
2026-11-08 17:34:10 +05:30
2026-11-17 00:31:01 -08:00
2026-11-18 03:40:34 -08:00
2026-11-18 03:40:34 -08:00
2026-11-13 15:30:30 -08:00
2026-11-08 17:34:10 +05:30
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-19 06:48:44 -06:00
2026-11-18 03:40:34 -08:00
2026-11-17 17:51:20 +01:00
2026-11-18 03:40:34 -08:00
2026-10-28 19:00:07 -07:00
2026-11-11 10:22:54 -05:00
2026-11-17 19:10:57 +01:00
2026-11-14 02:24:06 -08:00