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
perf(dashboard): refactor dashboard summary to use MongoDB aggregation pipelines #104
documentStore.all() in dashboard.routes.ts fetches the entire documents collection into memory simply to calculate counts and total storage bytes. This N+1/aggregation pattern scales extremely poorly.
Proposed Technical Approach
Replace the in-memory array
educe and ilter operations with a $group aggregation pipeline to compute the summary directly on the MongoDB engine.
This issue has been inactive for a while. It will close automatically if there is no new activity. Comment with updated context if it is still relevant.
Activity
perf(dashboard): refactor dashboard summary to use MongoDB aggregatio…
github-actions commentedon Sep 8, 2026
This issue has been inactive for a while. It will close automatically if there is no new activity. Comment with updated context if it is still relevant.
github-actions commentedon Sep 22, 2026
Closing as stale. Please open a fresh issue with current reproduction details if this is still needed.