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

decentraland / realm-provider / 31258986838
57%
main: 51%

Build:
Build:
LAST BUILD BRANCH: 0.0.17
DEFAULT BRANCH: main
Ran 08 Aug 2026 01:12PM UTC
Jobs 1
Files 20
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

08 Aug 2026 01:11PM UTC coverage: 57.113%. First build
31258986838

Pull #89

github

decentraland-bot
fix: address PR review feedback — stale cache, circuit breaker, tests

P1 — stale cache correctness:
  Track whether any catalyst returned a successful HTTP response
  (hadSuccessfulResponse). Only preserve stale data when ALL catalysts
  failed due to transport errors or were skipped by an open circuit.
  When catalysts explicitly report healthy=false / acceptingUsers=false,
  the cache now correctly updates to [] instead of serving stale
  "healthy" data.

P2 — circuit breaker consecutive counting:
  Move recordSuccess() call before the healthy/acceptingUsers check.
  Any successful HTTP response (even with healthy=false) now resets
  the transport failure counter, so the circuit only opens on truly
  consecutive transport failures.

P2 — circuit breaker open/cooldown test coverage:
  Add deterministic test using configurable CATALYSTS_CACHE_TTL_MS,
  CB_FAILURE_THRESHOLD, and CB_COOLOFF_MS env vars (short values for
  fast test execution). Verifies the full cycle: 3 failures → circuit
  opens → catalyst skipped → cooloff expires → catalyst retried.

Also add tests for:
  - Cache NOT preserving stale data on explicit unhealthy responses
  - recordSuccess resetting failure count on non-accepting responses
Pull Request #89: fix: add /about result cache and per-catalyst circuit breaker

86 of 120 branches covered (71.67%)

Branch coverage included in aggregate %.

49 of 51 new or added lines in 1 file covered. (96.08%)

191 of 365 relevant lines covered (52.33%)

17.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
88.98
src/adapters/realm-provider.ts
Jobs
ID Job ID Ran Files Coverage
1 31258986838.1 08 Aug 2026 01:12PM UTC 20
57.11
GitHub Action Run
Source Files on build 31258986838
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31258986838
  • Pull Request #89
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