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

decentraland / comms-gatekeeper / 25082324459
84%
main: 85%

Build:
Build:
LAST BUILD BRANCH: refactor/native-fetch-migration
DEFAULT BRANCH: main
Ran 28 Apr 2026 11:09PM UTC
Jobs 1
Files 145
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

28 Apr 2026 11:08PM UTC coverage: 83.857% (+0.03%) from 83.825%
25082324459

Pull #258

github

Jarvis
fix: reuse LRU cache instances across requests in lands and worlds adapters

cachedFetch.cache() was called inside function bodies, creating a new
empty LRU cache on every request — so every call was a guaranteed cache
miss and a fresh HTTP fetch. This caused comms-gatekeeper to generate
180K+ uncached requests/hr to the Catalyst for /parcels/{x}/{y}/operators
and other endpoints.

Move cache instantiation to component initialization scope, matching the
existing correct pattern in places.ts and denylist.ts. With the default
5-minute TTL, this reduces repeated lookups for the same URL from N
HTTP calls to 1 per TTL window.

Affected call sites (5 total):
- lands.ts: getLandPermissions, getLandOperators
- worlds.ts: fetchWorldActionPermissions, fetchWorldSceneEntityMetadataById, hasWorldOwnerPermission

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #258: fix: reuse LRU cache instances across requests

1018 of 1331 branches covered (76.48%)

Branch coverage included in aggregate %.

9 of 10 new or added lines in 2 files covered. (90.0%)

5 existing lines in 1 file now uncovered.

2852 of 3284 relevant lines covered (86.85%)

42.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.63
0.86% src/adapters/worlds.ts

Coverage Regressions

Lines Coverage ∆ File
5
90.63
0.86% src/adapters/worlds.ts
Jobs
ID Job ID Ran Files Coverage
1 25082324459.1 28 Apr 2026 11:09PM UTC 290
85.03
GitHub Action Run
Source Files on build 25082324459
  • Tree
  • List 145
  • Changed 97
  • Source Changed 2
  • Coverage Changed 97
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25082324459
  • Pull Request #258
  • PR Base - main (#24993564023)
  • 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