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

decentraland / comms-gatekeeper / 24400258316
84%
main: 85%

Build:
Build:
LAST BUILD BRANCH: 2.26.3
DEFAULT BRANCH: main
Ran 14 Apr 2026 01:00PM UTC
Jobs 1
Files 145
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

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

Uncovered Changes

Lines Coverage ∆ File
13
3.57
-0.51% src/controllers/handlers/cast/get-stream-info-handler.ts
10
85.45
-5.46% src/logic/cast/cast.ts
9
84.53
-3.86% src/adapters/livekit.ts
8
76.58
-4.38% src/controllers/handlers/comms-scene-handler.ts
1
90.91
src/controllers/handlers/cast/demote-presenter-handler.ts
1
73.33
src/controllers/handlers/cast/get-presenters-handler.ts
1
90.91
src/controllers/handlers/cast/promote-presenter-handler.ts
1
89.29
-5.71% src/controllers/handlers/error-handler.ts

Coverage Regressions

Lines Coverage ∆ File
3
3.57
-0.51% src/controllers/handlers/cast/get-stream-info-handler.ts
2
76.58
-4.38% src/controllers/handlers/comms-scene-handler.ts
Jobs
ID Job ID Ran Files Coverage
1 24400258316.1 14 Apr 2026 01:00PM UTC 290
83.43
GitHub Action Run
Source Files on build 24400258316
  • Tree
  • List 145
  • Changed 95
  • Source Changed 11
  • Coverage Changed 95
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24400258316
  • Pull Request #249
  • PR Base - main (#24102933892)
  • Delete
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