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

decentraland / catalyst-storage / 27285266114
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: fix/s3-retrieve-error-logging
DEFAULT BRANCH: main
Ran 10 Jun 2026 02:58PM 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 Jun 2026 02:53PM UTC coverage: 95.059% (-0.9%) from 95.968%
27285266114

push

github

web-flow
fix: remove the partial .gzip when compression fails (#106)

* fix: remove the partial .gzip when compression fails

gzipCompressFile destroyed the streams in a finally but never removed the
output on error, so a read/write/gzip failure mid-compression left a
truncated .gzip on disk. Because retrieve/fileInfo check the .gzip first,
that partial file shadows the good uncompressed file and is served as
corrupt content on later reads.

Wrap the compression in a try/catch that unlinks the output on any failure
(and await the bad-ratio unlink instead of fire-and-forget). Adds tests for
the success, bad-ratio, and failure paths.

* test+fix: log compression cleanup failures and clarify failure test

- Surface unlink failures during compression cleanup at warn level (via an
  optional logger threaded from the folder storage) instead of swallowing
  them entirely; ENOENT is still ignored.
- Rename/comment the failure test to make explicit that the missing source
  triggers a read-open error exercising the shared catch/cleanup path.

106 of 122 branches covered (86.89%)

Branch coverage included in aggregate %.

17 of 19 new or added lines in 2 files covered. (89.47%)

375 of 384 relevant lines covered (97.66%)

37.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
81.08
-11.51% src/extras/compression.ts
Jobs
ID Job ID Ran Files Coverage
1 27285266114.1 10 Jun 2026 02:58PM UTC 9
95.06
GitHub Action Run
Source Files on build 27285266114
  • Tree
  • List 9
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27285266114
  • f78fd1b0 on github
  • Prev Build on main (#27284293273)
  • 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