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

decentraland / comms-gatekeeper / 31057257646
86%
main: 86%

Build:
Build:
LAST BUILD BRANCH: 2.29.1
DEFAULT BRANCH: main
Ran 05 Aug 2026 11:44PM UTC
Jobs 1
Files 151
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

05 Aug 2026 11:41PM UTC coverage: 85.663% (+0.3%) from 85.372%
31057257646

Pull #284

github

LautaroPetaccio
fix: gate the legacy scene-stream-access endpoints on platform bans

POST and PUT /scene-stream-access are wallet-scoped signed-fetch admin endpoints
that return or mint a streaming_key, and neither consulted userModeration. a
platform-banned scene admin could take a key from either and exchange it through
validateStreamerToken or generatePresentationBotToken, which trust a minted key
without re-checking the wallet. that is the same hole the local-preview fix closed,
on the routes the cast work did not touch — so 'blocking the mint covers streaming'
was only true of the cast route.

gate both before the admin lookup, matching generateStreamLink, so a banned wallet
gets the same answer whether or not it is an admin.

the reset handler raises outside its try block on purpose: that block maps anything
but UnauthorizedError to a 500, so a ForbiddenError thrown inside would have
surfaced as a server error rather than a rejection. a test pins the 403.

covers the recorded-device match too, since both go through
getActiveBanForConnection: an admin with no ban of their own is refused when the
device they last connected from is banned.
Pull Request #284: feat: enforce platform bans on voice and cast, and make ban status match the gate

1143 of 1457 branches covered (78.45%)

Branch coverage included in aggregate %.

44 of 45 new or added lines in 9 files covered. (97.78%)

9 existing lines in 3 files now uncovered.

3123 of 3523 relevant lines covered (88.65%)

77.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.92
3.06% src/logic/cast/cast.ts

Coverage Regressions

Lines Coverage ∆ File
4
83.12
1.43% src/controllers/handlers/scene-stream-access-handlers/reset-scene-stream-access-handler.ts
3
87.1
1.38% src/controllers/handlers/scene-stream-access-handlers/add-scene-stream-access-handler.ts
2
92.92
3.06% src/logic/cast/cast.ts
Jobs
ID Job ID Ran Files Coverage
1 31057257646.1 05 Aug 2026 11:44PM UTC 302
86.85
GitHub Action Run
Source Files on build 31057257646
  • Tree
  • List 151
  • Changed 97
  • Source Changed 8
  • Coverage Changed 97
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31057257646
  • Pull Request #284
  • PR Base - main (#28616085146)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc