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

decentraland / comms-gatekeeper / 28047204770
85%

Build:
DEFAULT BRANCH: main
Ran 23 Jun 2026 06:17PM UTC
Jobs 1
Files 147
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

23 Jun 2026 06:15PM UTC coverage: 85.255% (+0.007%) from 85.248%
28047204770

push

github

web-flow
fix: cancel undrained undici response bodies to prevent socket/memory leaks (#272)

Since the move to native fetch (undici, via @dcl/traced-fetch-component), a
Response whose body is never read keeps its pooled socket checked out and its
bytes buffered until GC — under load this leaks connections and memory. Several
call sites obtained a Response and discarded it (returned/threw) without reading
or cancelling the body; they now release it with response.body?.cancel() on the
discard paths:

- adapters/fetch.ts: cache fetchMethod cancels on the !ok throw (backs every
  cached read: denylist, names, places, worlds, lands)
- adapters/notifications.ts: fire-and-forget POST never reads the body; cancel it
- adapters/worlds.ts: fetchWorldSceneByPointer, getWorldParcelPermissions,
  getWorldParcelPermissionAddresses, fetchWorldSceneId
- adapters/places.ts: getWorldByName
- adapters/social.ts: getUserPrivacySettings
- adapters/lands/component.ts: fetchAuthorizationsFromUpstream

Sites that already consume the body via response.json() on every path are
unaffected. Adds cancel-assertion tests for the cache wrapper, social and worlds.

1087 of 1401 branches covered (77.59%)

Branch coverage included in aggregate %.

8 of 10 new or added lines in 6 files covered. (80.0%)

2995 of 3387 relevant lines covered (88.43%)

74.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
46.15
-3.85% src/adapters/notifications.ts
Jobs
ID Job ID Ran Files Coverage
1 28047204770.1 23 Jun 2026 06:17PM UTC 294
86.53
GitHub Action Run
Source Files on build 28047204770
  • Tree
  • List 147
  • Changed 97
  • Source Changed 6
  • Coverage Changed 97
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28047204770
  • 1fbe84e4 on github
  • Prev Build on main (#28047179576)
  • 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