You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pm-aggregator: search takes 33s and the registry twin ships 6.7 MB — bound the search + registry reads #14060
Finding (PM pages review, 2026-11-23): dashboard Search is effectively unusable, and the Sessions/registry read path is far too heavy.
Measured live from the laptop's own loopback (2026-11-24 ~03:2xZ, warm server):
GET /search?q=fleet — 33.5 s, 941 KB HTML.
GET /api/search.json?q=fleet — 5.6 s, 901 KB JSON for one common word.
GET /sessions — timed out at 30 s on first hit (cold registry), 36 s in a real browser capture; warm it answers in 0.09 s. Any restart or cache expiry makes the page hang for half a minute.
GET /api/registry.json — 6.7 MB payload (28,479 session records) as the Sessions page's machine twin.
The Sessions page renders 100 session cards, each carrying a full action panel (act-as selector, poke, answer box, stop-session two-step) — a 10,000 px DOM for a lookup page.
Ask: bound the search read (index or precomputed projection instead of a full in-memory scan per query; paginate results; cap payload), precompute/cache the registry projection so no request waits on a cold merge, and slim the registry twin (window/pagination defaults that don't ship 28k records). Targets: search < 1 s, sessions first-hit < 2 s.
Triage verdict (tracking #14158, lane oc-code-07): valid performance defect with measured targets (search 33.5s, registry twin 6.7MB). Size: medium. Route as a feature slice: index or precomputed projection for search, paginate results and cap payload, cache the registry projection so requests do not wait on cold merges, and slim the registry twin by default. Acceptance: search under 1s, sessions first-hit under 2s, measured as in the issue.
Activity
developing-today commentedon Nov 24, 2026
CODE-5165
dezren39 commentedon Nov 24, 2026
Triage verdict (tracking #14158, lane oc-code-07): valid performance defect with measured targets (search 33.5s, registry twin 6.7MB). Size: medium. Route as a feature slice: index or precomputed projection for search, paginate results and cap payload, cache the registry projection so requests do not wait on cold merges, and slim the registry twin by default. Acceptance: search under 1s, sessions first-hit under 2s, measured as in the issue.