Skip to content

perf(analytics): harden queries and add indexes - #125

Open
BK1031 wants to merge 2 commits into
bk1031/join-request-integrityfrom
bk1031/analytics-query-hardening
Open

perf(analytics): harden queries and add indexes#125
BK1031 wants to merge 2 commits into
bk1031/join-request-integrityfrom
bk1031/analytics-query-hardening

Conversation

@BK1031

@BK1031 BK1031 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor
  • Add time-range and composite indexes for login, user-growth, and join-request analytics
  • Return database failures instead of silently emitting partial metrics
  • Validate and bound analytics windows and result limits
  • Restrict analytics access to admins and internal service accounts
  • Add tests for input bounds and database error propagation

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T19:55:58.516469Z 9bfbdfa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@BK1031
BK1031 force-pushed the bk1031/join-request-integrity branch from 95abc3e to 8e346da Compare August 31, 2026 20:10
@BK1031
BK1031 force-pushed the bk1031/analytics-query-hardening branch from 9bfbdfa to 7d4716f Compare August 31, 2026 20:10
@BK1031
BK1031 force-pushed the bk1031/analytics-query-hardening branch from 7d4716f to d958722 Compare August 31, 2026 20:20
@BK1031
BK1031 force-pushed the bk1031/join-request-integrity branch from 8e346da to 46e77b2 Compare August 31, 2026 20:20
@BK1031
BK1031 disabled auto-merge August 31, 2026 20:52
@BK1031
BK1031 disabled auto-merge August 31, 2026 20:55
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.

2 participants