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
Conversation list and detail reads recompute jsonb aggregates over a Conversation's subtree on each request and poll:
sql/subtree.ts subtree aggregates
pi/sql-model-usage.tssumModelUsage, which scans every assistant_call payload on a cache miss
the annotations read
Proposal (from the audit): write the subtree and model-usage totals to metrics when events are written, lengthen the cache TTL, and review the annotations query plan.
Part of the unbounded-read audit that followed #2940.
Activity
perf(dashboard): Cache model usage sums per Conversation
perf(conversations): Find child agents by parent in subtree reads (#3005
perf(dashboard): Cache model usage sums per Conversation (#3006)