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

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

Build:
Build:
LAST BUILD BRANCH: fix/harden-ws-rpc-subscriptions-backpressure
DEFAULT BRANCH: main
Ran 01 Jul 2026 02:57PM UTC
Files 402
Run time 21s
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

01 Jul 2026 02:51PM UTC coverage: 91.33% (-0.04%) from 91.37%
28526473436.1

Pull #424

github

LautaroPetaccio
fix: harden the subscription path (non-fatal snapshot, no-emitter backoff, drop metric)

Server-side robustness for the subscription streams, complementing the client-side
re-subscribe fixes:

- subscribe-to-friend-connectivity: make the initial online-friends snapshot best-effort.
  A DB/registry hiccup no longer tears down the whole subscription (which forced the client
  to reconnect and re-run the queries, churning); log a warning and continue to live updates.
  (peersStats.getConnectedPeers already swallows its own errors, so the real risk was
  getOnlineFriends / getProfiles.)
- handleSubscriptionUpdates: on the "no emitter" path (RPC call live but the per-address
  emitter is gone — an abnormal/racy state), throw instead of returning. A clean completion
  invited an instant re-open into a hot loop; erroring makes a well-behaved client back off.
- emitterToGenerator: add an onOverflowDrop hook + subscription_updates_dropped_total metric
  so silent value-queue drops (a slow consumer missing updates) are observable.
- Keep the per-occurrence "Duplicate subscription detected" debug log alongside the
  subscription_duplicates_total metric, for per-connection visibility into re-subscribe churn.

Build, lint and full unit suite (106 suites / 1615 tests) green.
Pull Request #424: fix: harden the subscription path (non-fatal snapshot, no-emitter backoff, drop metric)

2466 of 2863 branches covered (86.13%)

Branch coverage included in aggregate %.

11512 of 12442 relevant lines covered (92.53%)

40.38 hits per line

Source Files on job 28526473436.1
  • Tree
  • List 402
  • Changed 158
  • Source Changed 4
  • Coverage Changed 158
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 28526473436
  • 451b4079 on github
  • Prev Job for on fix/subscription-path-hardening (#28467807823.1)
  • Next Job for on fix/subscription-path-hardening (#28535131687.1)
  • 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