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

decentraland / comms-gatekeeper / 24400258316

14 Apr 2026 12:58PM UTC coverage: 82.136% (-0.2%) from 82.323%
24400258316

Pull #249

github

cyaiox
fix: address PR review findings for bot-presenter-handler

- Fix preview place detection using livekit.isLocalPreview instead of broken string matching
- Set canUpdateOwnMetadata: false for watcher credentials to prevent role spoofing
- Guard getPresenters JSON.parse with try/catch for malformed metadata
- Move NotSceneAdminError from 401 to 403 (authorization, not authentication)
- Skip unnecessary writes in removeFromRoomMetadataArray when nothing changed
- Replace unsafe `as PlaceAttributes` cast with narrow StreamAccessPlace type
- Add null guards before room_id! non-null assertions
- Use randomUUID() instead of Date.now() for identity generation to prevent collisions
Pull Request #249: feat: presentation bot token and presenter management endpoints

981 of 1328 branches covered (73.87%)

Branch coverage included in aggregate %.

189 of 233 new or added lines in 16 files covered. (81.12%)

5 existing lines in 2 files now uncovered.

2803 of 3279 relevant lines covered (85.48%)

41.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.29
/src/controllers/handlers/error-handler.ts


Source Not Available

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