Files
hermes-webui/tests
145410d642 stage #4638 (maksym-mishchenko): cap sidebar lineage enrichment to top-N (#4654)
Fixes ~5s GET /api/sessions on power users (2400+ sessions) — _enrich_sidebar_lineage_metadata
probed state.db for every row's compression lineage. Caps to top-N (default 300, env
HERMES_WEBUI_LINEAGE_TOP_N, 0=disable). Display-safe: both call sites pass an already
pinned-first/newest-first sorted list, so sessions[:N] is exactly the paint-priority window.
Fail-open preserved. Added regression test (RED on master, GREEN here). Code byte-faithful
from PR head 016978578008.

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: maksym-mishchenko <maksym-mishchenko@users.noreply.github.com>
2026-06-21 20:23:03 -07:00
..
2026-05-18 16:44:36 +00:00
2026-05-05 01:51:05 +00:00
2026-06-20 07:12:51 +00:00
2026-04-29 21:34:27 -07:00