Skip to content

#522 Fix admin dashboard statistics returning zero counts - #557

Open
Agaki00 wants to merge 1 commit into
XStreamRollz:mainfrom
Agaki00:frioh
Open

#522 Fix admin dashboard statistics returning zero counts#557
Agaki00 wants to merge 1 commit into
XStreamRollz:mainfrom
Agaki00:frioh

Conversation

@Agaki00

@Agaki00 Agaki00 commented Aug 28, 2026

Copy link
Copy Markdown

Description

Summary

  • Query real counts for users, streams, active streams, and events from the last 24 hours.
  • Inject PG_POOL into AdminStatsService with database error handling.
  • Add integration coverage for active/inactive streams and event time filtering.
  • Update the Swagger description for GET /admin/stats.
  • Preserve the existing 60-second controller cache behavior.

Testing

  • Workspace diagnostics pass.
  • git diff --check passes.
  • Typecheck and integration tests could not run because dependencies were unavailable in the environment.

Closes #522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AdminStatsService returns a hardcoded zero snapshot: the admin dashboard always shows zeros

1 participant