Teknium
0f3199bd65
fix(dashboard): OAuth start routes resolve pollers late so test mocks intercept the spawned thread
...
The oauth router imported _nous_poller/_minimax_poller/_xai_device_poller
from web_server_oauth at module level, so tests patching the owning module
("hermes_cli.web_server_oauth._minimax_poller") patched a binding the
router never read. The REAL poller then ran on the leaked daemon thread,
called the live MiniMax token endpoint from CI, and the in-flight
getaddrinfo segfaulted the interpreter during a later test's fixture setup
(CI run 34323790818, tests/hermes_cli/test_web_oauth_dispatch.py flake).
Route the three pollers through the existing late() seam (web_deps), the
same mechanism every other monkeypatch-sensitive symbol in this router
already uses, so the patch wins at thread-spawn time. Regression test
proves the mock intercepts and the real poller body never runs; it fails
on the old module-level import (sabotage-verified).
2026-09-12 21:00:55 -07:00
..
2026-09-12 08:29:48 -07:00
2026-09-11 19:50:46 -07:00
2026-09-12 13:44:52 -07:00
2026-09-06 07:19:21 -07:00
2026-09-12 08:43:12 -07:00
2026-09-03 13:22:51 -07:00
2026-09-12 20:57:21 -07:00
2026-09-03 14:21:52 -07:00
2026-09-03 17:28:02 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 23:55:56 -07:00
2026-09-12 08:49:16 -07:00
2026-09-12 21:00:55 -07:00
2026-09-11 06:37:27 -07:00
2026-09-10 10:45:57 -07:00
2026-09-12 08:30:27 -07:00
2026-09-04 00:53:42 -07:00
2026-09-03 13:38:36 -07:00
2026-09-03 13:29:35 -07:00
2026-09-12 20:41:32 -07:00
2026-09-07 06:06:46 -07:00
2026-09-03 13:38:36 -07:00
2026-09-12 22:40:28 +05:30
2026-09-12 07:54:04 -07:00
2026-09-11 11:54:49 -07:00
2026-09-11 06:37:27 -07:00
2026-09-12 20:57:21 -07:00
2026-09-12 07:59:59 -07:00
2026-09-09 02:35:41 -07:00
2026-09-09 04:38:01 -07:00
2026-09-11 19:01:47 -07:00
2026-09-03 13:28:22 -07:00
2026-09-12 08:30:27 -07:00
2026-09-07 22:47:33 +05:30
2026-09-10 11:48:01 -07:00
2026-09-12 05:13:50 -07:00
2026-09-03 14:21:52 -07:00
2026-09-06 22:45:31 +05:30
2026-09-03 13:29:55 -07:00
2026-09-04 00:15:16 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:28:22 -07:00
2026-09-12 05:09:59 -07:00
2026-09-07 06:09:56 -07:00
2026-09-08 17:13:48 -07:00
2026-09-08 17:13:48 -07:00
2026-09-06 07:19:21 -07:00
2026-09-05 02:31:06 -07:00
2026-09-10 18:13:16 -07:00
2026-09-03 13:12:50 -07:00
2026-09-11 06:37:27 -07:00
2026-09-11 10:30:29 +10:00
2026-09-03 13:46:50 -07:00
2026-09-12 08:30:27 -07:00
2026-09-12 08:30:27 -07:00
2026-09-03 16:35:01 -07:00
2026-09-11 06:23:23 -07:00
2026-09-12 20:43:42 -07:00
2026-09-03 13:16:47 -07:00
2026-09-10 10:45:57 -07:00
2026-09-12 08:26:17 -07:00
2026-09-12 08:32:09 -07:00
2026-09-09 18:26:15 +05:30
2026-09-03 13:46:50 -07:00
2026-09-03 15:07:39 -07:00
2026-09-09 09:19:54 -07:00
2026-09-09 13:30:28 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:48:49 -07:00
2026-09-10 02:21:16 +05:30
2026-09-03 13:28:22 -07:00
2026-09-11 11:54:49 -07:00
2026-09-03 17:45:53 -07:00
2026-09-04 04:56:11 -07:00
2026-09-04 01:28:31 -07:00
2026-09-11 15:44:00 -07:00
2026-09-04 20:24:24 -04:00
2026-09-09 11:31:10 -07:00
2026-09-03 19:33:28 -07:00
2026-09-03 14:21:52 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 14:21:52 -07:00
2026-09-11 06:24:54 -07:00
2026-09-07 06:04:23 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-09 18:26:15 +05:30
2026-09-11 06:37:27 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 13:46:50 -07:00
2026-09-09 09:19:57 -07:00
2026-09-03 16:35:01 -07:00
2026-09-03 13:46:50 -07:00
2026-09-11 15:44:00 -07:00
2026-09-05 12:21:21 +05:30
2026-09-11 15:27:23 -07:00
2026-09-11 19:50:46 -07:00
2026-09-09 12:20:38 -07:00
2026-09-10 10:27:07 -07:00
2026-09-12 12:32:55 -07:00
2026-09-03 14:21:52 -07:00
2026-09-03 14:21:52 -07:00
2026-09-07 08:23:08 -07:00
2026-09-03 13:12:50 -07:00
2026-09-03 13:12:50 -07:00
2026-09-03 13:12:50 -07:00
2026-09-09 18:25:11 +05:30