feat: email bounce handling, job monitoring dashboard, API key analytics, benchmarking - #988
Merged
nanaf6203-bit merged 4 commits intoJul 27, 2026
Conversation
…chmark suite Closes MettaChain#943, MettaChain#944, MettaChain#945, MettaChain#946 - Email bounce/complaint webhook handling with spam complaint support and sender reputation dashboard (GET /email/reputation) - List-Unsubscribe header added to marketing emails - Hard bounce auto-suppress sets user emailStatus to BOUNCED - Background job monitoring dashboard for BullMQ queues under admin/queues with retry/cancel endpoints (admin-only) - API key usage analytics with daily aggregation, configurable monthly quota, 429 on exceeded, usage alerts at 75/90/100% - GET /auth/api-keys/:id/usage returns detailed usage breakdown - Performance benchmark suite (scripts/benchmark.ts) for 10 critical endpoints with p50/p95/p99 latencies and performance budgets - GitHub Actions workflow for weekly and PR-triggered benchmarks - Prisma schema: ApiKeyUsageDaily model, monthlyQuota on ApiKey, SpamAction enum and spamAction field on EmailBounce
|
@JoeX17 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
# Conflicts: # prisma/schema.prisma
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #943, Closes #944, Closes #945, Closes #946
Changes
#946 - Performance Benchmarking Suite
#945 - API Key Usage Analytics & Quota
#944 - Background Job Monitoring Dashboard
#943 - Email Bounce Handling