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

decentraland / social-service-ea / 28541296911
90%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2026 07:13PM UTC
Jobs 1
Files 201
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

01 Jul 2026 07:08PM UTC coverage: 90.433% (-0.02%) from 90.449%
28541296911

push

github

web-flow
fix: harden the subscription path (non-fatal snapshot, no-emitter backoff, drop metric) (#424)

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.

Tests cover: non-fatal snapshot (continues), live-update stream error (logs + propagates),
no-emitter throw, duplicate (metric + debug log), and the value-queue drop hook.
Build, lint and full unit suite (106 suites / 1616 tests) green.

2296 of 2685 branches covered (85.51%)

Branch coverage included in aggregate %.

5 of 6 new or added lines in 3 files covered. (83.33%)

5758 of 6221 relevant lines covered (92.56%)

80.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.13
-0.46% src/logic/updates.ts
Jobs
ID Job ID Ran Files Coverage
1 28541296911.1 01 Jul 2026 07:13PM UTC 402
91.36
GitHub Action Run
Source Files on build 28541296911
  • Tree
  • List 201
  • Changed 158
  • Source Changed 4
  • Coverage Changed 158
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28541296911
  • 0b0533f9 on github
  • Prev Build on main (#28467807823)
  • Next Build on main (#28544267284)
  • 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