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

decentraland / social-service-ea / 28523199876

01 Jul 2026 02:00PM UTC coverage: 90.36% (-0.09%) from 90.449%
28523199876

Pull #425

github

LautaroPetaccio
fix: give outbound HTTP a timeout + make catalyst/registry failures observable

Undici (native fetch) applies no request timeout unless one is configured, so a stalled
upstream (catalyst / registry / archipelago) could pin a keep-alive socket and block the caller
for minutes. Transient failures were also largely invisible (the retrier was silent; the
registry threw without logging).

- components: build the fetch component with a timeout (HTTP_FETCH_TIMEOUT_MS, default 10s) and
  idempotent retries (HTTP_FETCH_ATTEMPTS, default 3) — fail fast instead of multi-minute hangs.
- retrier: add an optional onRetry hook so callers can log transient failures (previously silent).
- catalyst-client: take `logs`; log each retried attempt (warn) and the final failure (error).
- registry: route getProfiles/getProfile through one fetchProfilesFromRegistry helper that logs
  the failure (network or non-ok) at the source before rethrowing.

Build, lint and full unit suite (106 suites / 1615 tests) green.
Pull Request #425: fix: give outbound HTTP a timeout + make catalyst/registry failures observable

2291 of 2686 branches covered (85.29%)

Branch coverage included in aggregate %.

14 of 18 new or added lines in 4 files covered. (77.78%)

41 existing lines in 1 file now uncovered.

5761 of 6225 relevant lines covered (92.55%)

79.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components.ts


Source Not Available

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