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

decentraland / comms-message-sfu / 27701233133
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 1.1.1
DEFAULT BRANCH: main
Ran 17 Jun 2026 03:43PM UTC
Jobs 1
Files 17
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

17 Jun 2026 03:42PM UTC coverage: 90.433% (+0.8%) from 89.617%
27701233133

Pull #129

github

LautaroPetaccio
fix: cap incoming packet size and rate limit routed messages

Incoming LiveKit data packets were decoded and routed with no payload-size
check and no rate limiting, letting a participant amplify load (protobuf
decode + belongsToCommunity + getCommunityMembers + batched fan-out) by
sending many or large packets.

- Add a per-participant token-bucket rate limiter adapter
  (src/adapters/rate-limiter.ts) with lifecycle-managed pruning of idle
  buckets to keep memory bounded.
- In data-received-handler, drop packets larger than MAX_PACKET_SIZE_BYTES
  before decoding and drop packets from participants over their rate limit,
  before any DB lookup or fan-out.
- Record dropped packets via message_delivery_total{outcome=rejected_oversized
  | rate_limited} and document the new env vars in .env.default.
Pull Request #129: fix: cap incoming packet size and rate limit routed messages

90 of 107 branches covered (84.11%)

Branch coverage included in aggregate %.

48 of 48 new or added lines in 3 files covered. (100.0%)

307 of 332 relevant lines covered (92.47%)

10.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27701233133.1 17 Jun 2026 03:43PM UTC 34
91.27
GitHub Action Run
Source Files on build 27701233133
  • Tree
  • List 17
  • Changed 8
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27701233133
  • Pull Request #129
  • PR Base - main (#27279131513)
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