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

decentraland / social-service-ea / 41052362258
92%

Build:
DEFAULT BRANCH: main
Ran 30 Oct 2026 12:09PM UTC
Jobs 1
Files 257
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

30 Oct 2026 12:02PM UTC coverage: 91.916% (+0.2%) from 91.727%
41052362258

push

github

web-flow
feat: add a plain WebSocket stream protocol for real-time updates (#503)

* feat: add a plain WebSocket stream protocol for real-time updates

* feat: send addresses instead of profiles in the stream events

friendship_updates and friend_connectivity_updates no longer resolve profiles: a request carries
the requester address and a connectivity event the friend address, and the online snapshot skips
the registry. Clients resolve profiles themselves, as with the v2 HTTP endpoints, and an event is
no longer dropped when the other user has no resolvable profile.

* fix: bound stream message rates and signal subscription overflow

* test: enforce RPC and JSON stream contract parity

* refactor: extract WKC stream sessions and shared subscription policies

* fix: harden stream unsubscribe, payload size and per-address limits

- Unsubscribe acknowledges with end immediately, aborts a pending
  snapshot and frees the id/stream for re-subscription; late results
  of a cancelled subscription no longer reach or clear its replacement.
- Validate unsubscribe ids like subscribe ids (1-64 chars, never echoed).
- Cap /v1/stream frames with STREAM_WS_MAX_PAYLOAD_LENGTH (16 KiB);
  the RPC socket keeps WS_MAX_PAYLOAD_LENGTH.
- Pause JSON delivery while the socket is buffering and resume on drain.
- Share per-address connection and subscription-rate budgets between
  RPC and JSON sockets (1013 / rate_limited on rejection).
- Add per-protocol connection, duration, auth-error and admission metrics.
- Drop the RpcServerContext and StreamEvent/StreamDefinition re-exports.
- Document the ready handshake, close codes, limits and shutdown ownership.

* fix: move per-address WebSocket limits into a fail-open admission component

- Extract the per-address limits from ws-pool into a wsAdmission logic
  component, called explicitly by both socket handlers after auth and
  released on close (no longer a side effect of subscribersContext).
- Over the per-address cap, close the addre... (continued)

2984 of 3428 branches covered (87.05%)

Branch coverage included in aggregate %.

518 of 536 new or added lines in 39 files covered. (96.64%)

1 existing line in 1 file now uncovered.

7386 of 7854 relevant lines covered (94.04%)

142.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
94.57
src/adapters/stream-sessions/component.ts
5
0.0
0.0% src/components.ts
2
89.47
src/utils/abortable.ts
1
95.45
src/controllers/handlers/uws/stream-ws-handler.ts
1
95.0
src/logic/subscriptions/policies.ts

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% src/components.ts
Jobs
ID Job ID Ran Files Coverage
1 41052362258.1 30 Oct 2026 12:09PM UTC 514
92.81
GitHub Action Run
Source Files on build 41052362258
  • Tree
  • List 257
  • Changed 200
  • Source Changed 46
  • Coverage Changed 196
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41052362258
  • b6b2cefe on github
  • Prev Build on main (#40387144011)
  • Next Build on main (#43106979791)
  • 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