Teknium
72aa6fdb46
fix(cli): the gateway-backed CLI routes Vertex without minting a second token
...
The classic CLI's _ensure_runtime_credentials / _probe_runtime_credentials still ran
resolve_runtime_provider -> _resolve_vertex_runtime -> get_vertex_config(), a real OAuth JWT
exchange in the CLI process, on every launch and turn. The gateway session builds the agent and
mints its own token for the turn, so the CLI's token was thrown away and every Vertex launch
minted twice (test_native_vertex_errors[rate_limited, unavailable],
test_wire_scheme_bearer_and_single_token_mint: 2-3 mints where 1 is expected; green on
0b0f7f15f1 ).
- runtime_provider.deferred_token_mint(): under it, _resolve_vertex_runtime loads the SA/ADC
credentials and builds the base_url without minting (vertex_adapter.get_vertex_base_url), so a
missing/unloadable credential still raises main's AuthError copy; api_key is the stable callable
vertex_adapter.vertex_access_token, minted only if something in this process ever sends.
- The CLI's credential resolution (primary + fallback chain) and readiness probe run under it.
Off by default: the gateway/agent path is unchanged.
Red first: test_vertex_provider.py::test_gateway_backed_cli_resolves_vertex_route_without_minting;
guard: test_gateway_backed_cli_keeps_vertex_credential_failure_copy.
2026-10-13 00:56:48 -07:00
..
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-11 03:09:45 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:32 -07:00
2026-10-10 23:38:42 -07:00
2026-10-07 00:07:02 -05:00
2026-10-07 18:15:29 +05:30
2026-10-10 19:22:07 -07:00
2026-09-30 20:01:49 +05:30
2026-10-12 19:19:55 +05:30
2026-10-12 19:19:55 +05:30
2026-10-10 19:22:07 -07:00
2026-10-11 03:07:37 -07:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-09-29 23:54:34 +05:30
2026-10-08 17:22:54 +02:00
2026-10-03 13:38:29 -07:00
2026-10-08 17:22:54 +02:00
2026-10-09 10:24:04 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 13:20:42 +05:30
2026-10-08 17:22:54 +02:00
2026-10-05 23:33:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-02 16:44:56 -07:00
2026-10-10 19:22:07 -07:00
2026-10-12 19:19:55 +05:30
2026-10-09 17:34:38 +02:00
2026-10-08 21:38:54 -07:00
2026-10-08 19:28:23 +02:00
2026-10-11 03:07:37 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-08 17:22:54 +02:00
2026-10-11 20:10:06 -07:00
2026-10-10 19:22:07 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 04:27:27 -07:00
2026-10-11 21:41:22 -07:00
2026-10-02 01:24:41 +05:30
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 04:27:27 -07:00
2026-10-10 04:27:27 -07:00
2026-10-02 00:50:20 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:33 -07:00
2026-10-09 17:34:38 +02:00
2026-10-10 04:27:27 -07:00
2026-10-10 23:38:42 -07:00
2026-10-09 14:25:07 -07:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 04:27:27 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 20:18:10 +05:30
2026-10-10 19:22:07 -07:00
2026-10-09 19:31:10 -07:00
2026-10-10 17:47:35 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-10 17:59:08 -07:00
2026-10-12 16:55:20 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:28:23 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 20:44:53 -07:00
2026-09-29 19:31:49 -05:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-11 21:41:22 -07:00
2026-10-12 03:18:48 -07:00
2026-10-01 02:26:02 +05:30
2026-10-10 19:22:07 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 03:07:33 +05:30
2026-09-28 14:16:18 -07:00
2026-10-08 19:54:07 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 15:36:14 -04:00
2026-09-28 10:21:41 -07:00
2026-10-08 19:54:07 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 00:41:21 +05:30
2026-10-12 20:01:50 -07:00
2026-10-08 21:35:58 +02:00
2026-10-07 19:29:35 +05:30
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-01 09:26:00 -04:00
2026-10-08 12:09:24 -07:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-12 22:25:37 -07:00
2026-10-08 17:22:54 +02:00
2026-10-09 02:59:16 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-10 20:18:10 +05:30
2026-10-02 20:28:55 -05:00
2026-10-11 21:41:22 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 19:22:43 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 02:10:47 -07:00
2026-10-08 17:22:54 +02:00
2026-10-09 10:24:04 -07:00
2026-10-09 17:34:38 +02:00
2026-10-07 03:46:20 -07:00
2026-10-09 17:31:52 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-11 20:10:06 -07:00
2026-10-12 16:55:20 -07:00
2026-10-09 17:34:38 +02:00
2026-10-06 12:31:21 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:31:52 +02:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-06 13:01:39 +05:30
2026-09-27 02:48:48 -05:00
2026-09-25 21:28:32 +05:30
2026-10-12 03:18:48 -07:00
2026-10-10 04:27:27 -07:00
2026-10-09 17:34:38 +02:00
2026-10-10 04:27:27 -07:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 19:22:07 -07:00
2026-09-28 11:29:49 -05:00
2026-09-27 01:10:56 +05:30
2026-10-08 19:08:58 -07:00
2026-10-08 19:08:58 -07:00
2026-10-11 19:31:35 -07:00
2026-10-08 19:08:59 -07:00
2026-09-29 14:53:00 -05:00
2026-10-09 17:34:38 +02:00
2026-10-02 13:50:23 -04:00
2026-10-08 21:38:54 -07:00
2026-10-07 06:48:09 -07:00
2026-10-09 10:24:04 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-09 18:18:41 -07:00
2026-10-08 12:09:24 -07:00
2026-10-09 19:31:10 -07:00
2026-10-08 17:22:54 +02:00
2026-10-02 04:09:57 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:54:07 +02:00
2026-10-12 13:11:06 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-12 03:18:48 -07:00
2026-10-07 18:15:29 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-01 23:50:31 -07:00
2026-10-08 19:54:07 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 17:34:38 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 12:43:03 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 06:49:02 -07:00
2026-10-10 19:22:07 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 04:27:27 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-10 04:27:27 -07:00
2026-10-10 04:27:27 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-02 00:18:00 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 06:41:07 +05:30
2026-10-09 14:25:07 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:54:07 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-11 21:41:22 -07:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-09-26 23:49:25 +05:30
2026-10-13 00:56:48 -07:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00