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

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

Build:
Build:
LAST BUILD BRANCH: feat/referral-idempotent-create
DEFAULT BRANCH: main
Ran 20 Jul 2026 03:13PM UTC
Jobs 1
Files 202
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

20 Jul 2026 12:34AM UTC coverage: 90.299% (+0.003%) from 90.296%
29753732793

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>

2357 of 2766 branches covered (85.21%)

Branch coverage included in aggregate %.

17 of 19 new or added lines in 3 files covered. (89.47%)

18 existing lines in 3 files now uncovered.

5890 of 6367 relevant lines covered (92.51%)

80.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.53
-0.71% src/utils/UWebSocketTransport.ts

Coverage Regressions

Lines Coverage ∆ File
8
92.27
1.2% src/controllers/handlers/uws/ws-handler.ts
6
80.39
-0.04% src/logic/ws-pool/component.ts
4
93.53
-0.71% src/utils/UWebSocketTransport.ts
Jobs
ID Job ID Ran Files Coverage
1 29753732793.1 20 Jul 2026 03:13PM UTC 404
91.25
GitHub Action Run
Source Files on build 29753732793
  • Tree
  • List 202
  • Changed 157
  • Source Changed 3
  • Coverage Changed 157
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29753732793
  • 8e573b40 on github
  • Prev Build on main (#29495797632)
  • 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