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

decentraland / social-service-ea / 29753732793 / 1
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: feat/referral-idempotent-create
DEFAULT BRANCH: main
Ran 20 Jul 2026 03:13PM UTC
Files 404
Run time 19s
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

20 Jul 2026 12:34AM UTC coverage: 91.253% (+0.01%) from 91.242%
29753732793.1

push

github

web-flow
fix: prevent websocket cleanup unhandled rejection (#436)

* fix: prevent websocket cleanup unhandled rejection

* fix: harden remaining WS fire-and-forget paths against unhandled rejections

Follow-up to the websocket cleanup crash fix: sweep the rest of the WS code
for the same class of defect (a promise that can reject with no handler, or a
throw escaping into a fire-and-forget call) and close the remaining gaps.

- transport: route every fire-and-forget processQueue() call through a guarded
  runQueueProcessing() helper. processQueue emits 'error' synchronously, which
  tears the transport down across modules; a throw in that chain would reject
  the floating promise as an unhandled rejection.
- ws-handler: the transport 'close' listener now detaches via safeDetachUser,
  matching the cleanupConnection path, so a detach failure can't escape into
  the transport's queue processing.
- ws-handler: guard both ws.send() calls, consistent with every ws.end() site
  (ws.send throws on an already-closed socket).
- ws-pool: guard each connection teardown in stop() so one already-closing
  socket can't abort the graceful shutdown of the rest.

Each change ships with a regression test verified to fail without the fix.

---------

Co-authored-by: LautaroPetaccio <lausuper@gmail.com>

2534 of 2952 branches covered (85.84%)

Branch coverage included in aggregate %.

11780 of 12734 relevant lines covered (92.51%)

40.24 hits per line

Source Files on job 29753732793.1
  • Tree
  • List 404
  • Changed 157
  • Source Changed 3
  • Coverage Changed 157
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29753732793
  • 8e573b40 on github
  • Prev Job for on 1.13.4 (#29495797632.1)
  • 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