teknium1
47b58634c3
fix(profiles): @profile completion never walks skill trees; drop dead OSError guard; pin router + completion in the walk-free test
...
- tui_gateway/methods_complete.py::_profile_mention_items runs per keystroke
(complete.path / complete.slash) and reads only name/description, yet
called list_profiles() synchronously: a cold or expired skill-count cache
stalled TUI input for the full multi-profile walk. Pass
lazy_skill_count=True like the other interactive callers (#114041 ).
- hermes_cli/profiles.py::_walk_skill_count: the try/except OSError could
not fire — os.walk (onerror=None) swallows scandir errors and
read_active_org_id already catches OSError. Removed; the docstring now
names os.walk's error swallowing as the reason the walk is best-effort.
- tests/hermes_cli/test_profiles.py: the walk-free test drove only the
profiles.list RPC seam. It now also drives GET /api/profiles through a
TestClient and _profile_mention_items with a cold cache under the same
spy, so reverting either caller to a synchronous list_profiles() goes red
(verified: router@origin/main -> walk on 'AnyIO worker thread';
methods_complete@HEAD -> walk on 'MainThread').
2026-09-18 10:18:40 -07:00
..
2026-09-18 09:18:00 -07:00
2026-09-17 00:02:09 -07:00
2026-09-16 17:16:06 -07:00
2026-09-18 10:17:59 -07:00
2026-09-17 09:02:26 -07:00
2026-09-16 17:16:06 -07:00
2026-09-17 00:34:50 -05:00
2026-09-16 17:49:48 -07:00
2026-09-18 09:35:49 -07:00
2026-09-16 17:23:44 -07:00
2026-09-18 09:35:49 -07:00
2026-09-17 00:02:09 -07:00
2026-09-18 09:18:00 -07:00
2026-09-18 09:18:00 -07:00
2026-09-18 10:00:29 -07:00
2026-09-16 17:15:38 -07:00
2026-09-18 09:41:02 -07:00
2026-09-18 09:41:02 -07:00
2026-09-16 17:16:06 -07:00
2026-09-18 17:10:12 +02:00
2026-09-18 17:10:12 +02:00
2026-09-18 17:10:12 +02:00
2026-09-18 09:38:01 -07:00
2026-09-17 09:04:11 -07:00
2026-09-18 09:38:01 -07:00
2026-09-16 23:13:20 -04:00
2026-09-17 08:44:06 -07:00
2026-09-16 23:13:20 -04:00
2026-09-17 09:19:19 -07:00
2026-09-16 17:44:36 -07:00
2026-09-18 09:56:28 -07:00
2026-09-18 21:47:13 +05:30
2026-09-18 21:47:13 +05:30
2026-09-17 19:00:40 -04:00
2026-09-18 17:10:12 +02:00
2026-09-18 09:35:16 -07:00
2026-09-18 09:25:59 -07:00
2026-09-18 09:57:38 -07:00
2026-09-18 09:28:39 -07:00
2026-09-18 10:00:29 -07:00
2026-09-18 10:15:11 -07:00
2026-09-18 01:43:35 +05:30
2026-09-18 09:29:44 -07:00
2026-09-18 09:29:44 -07:00
2026-09-18 09:29:44 -07:00
2026-09-18 09:48:41 -07:00
2026-09-18 09:29:44 -07:00
2026-09-18 09:50:19 -07:00
2026-09-18 09:32:02 -07:00
2026-09-17 08:55:01 -07:00
2026-09-18 09:32:02 -07:00
2026-09-18 10:04:23 -07:00
2026-09-17 08:52:53 -07:00
2026-09-18 10:10:05 -07:00
2026-09-18 09:19:04 -07:00
2026-09-17 08:44:33 -07:00
2026-09-17 08:44:33 -07:00
2026-09-18 17:09:28 +02:00
2026-09-18 09:45:32 -07:00
2026-09-18 10:11:46 -07:00
2026-09-18 09:23:13 -07:00
2026-09-16 17:11:01 -07:00
2026-09-18 09:41:02 -07:00
2026-09-17 08:55:04 -07:00
2026-09-16 17:06:26 -07:00
2026-09-18 15:40:37 +05:30
2026-09-18 09:52:03 -07:00
2026-09-18 10:12:25 -07:00
2026-09-16 18:12:34 -07:00
2026-09-17 09:04:11 -07:00
2026-09-18 09:50:52 -07:00
2026-09-16 17:51:11 -07:00
2026-09-18 17:09:28 +02:00
2026-09-17 09:03:29 -07:00
2026-09-17 18:36:20 -07:00
2026-09-18 10:01:01 -07:00
2026-09-17 00:11:27 -07:00
2026-09-18 09:43:19 -07:00
2026-09-18 09:43:19 -07:00
2026-09-18 09:43:19 -07:00
2026-09-18 10:18:40 -07:00
2026-09-18 15:40:37 +05:30
2026-09-17 08:53:48 -07:00
2026-09-18 15:40:37 +05:30
2026-09-16 17:19:58 -07:00
2026-09-18 01:43:35 +05:30
2026-09-17 09:06:59 -07:00
2026-09-18 09:38:01 -07:00
2026-09-18 17:09:28 +02:00
2026-09-17 14:24:53 -04:00
2026-09-17 00:34:50 -05:00
2026-09-18 15:40:37 +05:30
2026-09-18 09:55:21 -07:00
2026-09-18 10:11:14 -07:00
2026-09-16 17:49:48 -07:00
2026-09-18 10:15:43 -07:00
2026-09-18 21:47:13 +05:30
2026-09-18 09:47:06 -07:00
2026-09-17 00:02:09 -07:00
2026-09-18 09:38:01 -07:00
2026-09-18 09:38:34 -07:00
2026-09-18 09:49:46 -07:00
2026-09-18 10:15:11 -07:00
2026-09-18 21:47:13 +05:30
2026-09-17 00:02:09 -07:00
2026-09-16 17:13:56 -07:00
2026-09-17 00:02:09 -07:00
2026-09-17 00:02:09 -07:00
2026-09-17 08:44:06 -07:00
2026-09-18 17:09:28 +02:00
2026-09-17 00:02:09 -07:00
2026-09-17 00:02:09 -07:00
2026-09-18 10:15:11 -07:00
2026-09-18 17:09:28 +02:00
2026-09-17 00:02:09 -07:00
2026-09-18 17:09:28 +02:00
2026-09-18 09:38:01 -07:00
2026-09-16 17:13:56 -07:00
2026-09-17 00:02:09 -07:00
2026-09-16 17:13:56 -07:00
2026-09-18 01:43:35 +05:30
2026-09-18 10:18:40 -07:00
2026-09-16 17:11:08 -07:00
2026-09-18 10:18:40 -07:00
2026-09-17 00:34:50 -05:00
2026-09-17 20:33:31 +05:30
2026-09-18 09:23:16 -07:00
2026-09-18 09:25:59 -07:00