Skip to content

feat: tiered rate limiting for user and API-key tiers#82

Merged
memplethee-lab merged 1 commit into
SourceXXL:mainfrom
Ibinola:feat/issue-73-rate-limiting-tiering
Jun 24, 2026
Merged

feat: tiered rate limiting for user and API-key tiers#82
memplethee-lab merged 1 commit into
SourceXXL:mainfrom
Ibinola:feat/issue-73-rate-limiting-tiering

Conversation

@Ibinola

@Ibinola Ibinola commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add tier-aware rate limiting for free, paid, and enterprise users
  • Thread API-key tier metadata through auth payloads and the global guard
  • Keep X-RateLimit-* headers available for protected responses and document the env knobs

Validation

  • npm test -- --runInBand src/common/guard/quota.guard.spec.ts
  • npm run build
  • Full npm test -- --runInBand hits a pre-existing Nest/Jest stack overflow during test discovery

Closes #73

@memplethee-lab memplethee-lab merged commit 52e1056 into SourceXXL:main Jun 24, 2026
1 check passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Jun 24, 2026
7 tasks
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.

Rate Limiting per User/API Key Tiering

2 participants