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

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

Build:
Build:
LAST BUILD BRANCH: 1.13.1
DEFAULT BRANCH: main
Ran 01 Jul 2026 02:57PM 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 02:51PM UTC coverage: 90.411% (-0.04%) from 90.449%
28526473436

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)

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%)

2 existing lines in 1 file now uncovered.

5756 of 6221 relevant lines covered (92.53%)

80.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.13
-0.46% src/logic/updates.ts

Coverage Regressions

Lines Coverage ∆ File
2
85.0
-15.0% src/controllers/handlers/rpc/subscribe-to-friend-connectivity-updates.ts
Jobs
ID Job ID Ran Files Coverage
1 28526473436.1 01 Jul 2026 02:57PM UTC 402
91.33
GitHub Action Run
Source Files on build 28526473436
  • 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 #28526473436
  • Pull Request #424
  • PR Base - main (#28467807823)
  • 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