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

decentraland / comms-message-sfu / 27710900838
90%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2026 06:29PM 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 06:28PM UTC coverage: 90.433% (+0.8%) from 89.617%
27710900838

push

github

web-flow
fix: cap incoming packet size and rate limit routed messages (#129)

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.

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 27710900838.1 17 Jun 2026 06:29PM UTC 34
91.27
GitHub Action Run
Source Files on build 27710900838
  • 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 #27710900838
  • 5cb2cf74 on github
  • Prev Build on main (#27279131513)
  • Next Build on main (#27786027542)
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