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

decentraland / catalyst-storage / 24266457908
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: refs/tags/4.5.0
DEFAULT BRANCH: main
Ran 10 Apr 2026 10:10PM UTC
Jobs 1
Files 9
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

10 Apr 2026 10:07PM UTC coverage: 95.624% (-0.5%) from 96.145%
24266457908

push

github

web-flow
feat: add contentSize to FileInfo for range requests (#96)

* feat: add contentSize to FileInfo for correct range request support

When files are stored as gzip, fileInfo.size returns the compressed size
but range requests serve from uncompressed content. This mismatch causes
incorrect Content-Range headers and can truncate downloads.

Add a contentSize field to FileInfo that reports the logical (uncompressed)
content size. For gzip files, this is read from the gzip trailer (ISIZE
field, last 4 bytes per RFC 1952). For uncompressed files, contentSize
equals size. For S3 with encoding, contentSize is null (unknown).

Also update SimpleContentItem to carry contentSize through, defaulting
to size when not explicitly provided.

* chore: increase default decompression cache max size to 5GB

The 1GB default was too conservative for catalysts serving range
requests on many gzip-stored files, causing frequent re-decompressions.

98 of 110 branches covered (89.09%)

Branch coverage included in aggregate %.

16 of 17 new or added lines in 4 files covered. (94.12%)

339 of 347 relevant lines covered (97.69%)

30.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.39
-0.78% src/folder-based-storage-component.ts
Jobs
ID Job ID Ran Files Coverage
1 24266457908.1 10 Apr 2026 10:10PM UTC 9
95.62
GitHub Action Run
Source Files on build 24266457908
  • Tree
  • List 9
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 95ce4c12 on github
  • Prev Build on refs/tags/4.4.0 (#24252371776)
  • 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