Skip to content

feat(scripts): report leaderboard limiter runs to a Sentry cron monitor - #1056

Closed
ugcodrr wants to merge 2 commits into
chore/sentry-11from
chore/sentry-crons
Closed

ugcodrr wants to merge 2 commits into
chore/sentry-11from
chore/sentry-crons

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Description: Nothing told us when the leaderboard limiter failed or stopped running, since it runs on its own every 10 minutes.

Testing: with sentry.scriptsDsn set, pnpm scripts limit-redis shows up in Sentry's Crons as leaderboard-limiting and checks in every 10 minutes.

In Sentry: create a "scripts" project and put its DSN in config.js as sentry.scriptsDsn.

Stacked on #1054.

Merge after #1003, which it conflicts with in apps/scripts/package.json and the lockfile.

@vercel

vercel Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
statsify Ignored Ignored Oct 31, 2026 9:37pm UTC

@ugcodrr
ugcodrr force-pushed the chore/sentry-crons branch from 930ab1a to 669ecfa Compare October 31, 2026 21:37
@ugcodrr
ugcodrr removed this pull request from stack #1066 November 1, 2026 21:59
@ugcodrr

ugcodrr commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

Closing this, since it only tells us whether the limiter ran, not whether it trimmed the right keys (it wouldn't have caught what #1003 fixes). A separate Sentry project and config key for that is more setup than it's worth, and Redis memory already shows if the limiter stops. #1057 is on #1054 now.

@ugcodrr ugcodrr closed this Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant