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

decentraland / comms-gatekeeper / 25225789460

01 May 2026 05:50PM UTC coverage: 85.435% (+0.1%) from 85.297%
25225789460

Pull #261

github

LautaroPetaccio
refactor: tighten sceneId typing and guard scene-room parsing

addresses two type-safety review comments:

- GetRoomNameParams.sceneId is now `sceneId?: string`, matching the
  runtime: getRoomName already handles a missing sceneId (legacy world
  fallback for `isWorld: true`, throw for non-world). callers no longer
  need `undefined as unknown as string` casts in tests.
- updateRoomMetadataForRoom drops the `sceneId!` non-null assertion in
  the non-world branch and adds an explicit guard: if a scene room name
  parses without a sceneId, log a warning and skip rather than letting
  contentClient.fetchEntityById blow up on `undefined`. defensive but
  cheap, and surfaces malformed room names as a single warn line.
Pull Request #261: refactor: extract room metadata sync and add scene admins to metadata

1063 of 1364 branches covered (77.93%)

Branch coverage included in aggregate %.

85 of 86 new or added lines in 9 files covered. (98.84%)

7 existing lines in 3 files now uncovered.

3002 of 3394 relevant lines covered (88.45%)

43.28 hits per line

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

92.0
/src/components.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