• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GrottoCenter / grottocenter-api / 25453168344
87%
develop: 87%

Build:
Build:
LAST BUILD BRANCH: feat/account-consolidation
DEFAULT BRANCH: develop
Ran 06 May 2026 06:22PM UTC
Jobs 1
Files 383
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 May 2026 06:19PM UTC coverage: 86.692% (+0.2%) from 86.493%
25453168344

Pull #1563

github

ClemRz
refactor(rateLimit): introduce tiered rate limiting by role

Replace the binary skip/limit approach with graduated rate limits:
- Visitors: 200 req/10min (was 100 req/30s)
- Users: 400 req/10min
- Leaders: 1,000 req/10min
- Moderators: 10,000 req/10min
- Administrators: unlimited (skip)

Consolidate userDeleteRateLimit and moderatorDeleteRateLimit into a
single deleteRateLimit middleware with role-based max:
- Users: 1 DELETE/hour
- Leaders/Moderators: 20 DELETEs/hour
- Administrators: unlimited

All limits are overridable via environment variables for production
tuning.

Closes #1157
Pull Request #1563: refactor(rateLimit): introduce tiered rate limiting by role

3020 of 3615 branches covered (83.54%)

Branch coverage included in aggregate %.

33 of 36 new or added lines in 1 file covered. (91.67%)

2 existing lines in 1 file now uncovered.

6250 of 7078 relevant lines covered (88.3%)

53.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
90.24
31.49% config/rateLimit/rateLimiter.js

Coverage Regressions

Lines Coverage ∆ File
2
93.81
-3.09% api/services/RecentChangeService.js
Jobs
ID Job ID Ran Files Coverage
1 25453168344.1 06 May 2026 06:22PM UTC 383
86.69
GitHub Action Run
Source Files on build 25453168344
  • Tree
  • List 383
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25453168344
  • Pull Request #1563
  • PR Base - develop (#25452316144)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc