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

openvax / datacache / 27785156915 / 2
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: fix-flaky-download-test
DEFAULT BRANCH: master
Ran 18 Jun 2026 07:48PM UTC
Files 9
Run time 0s
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

18 Jun 2026 07:47PM UTC coverage: 78.555% (+5.1%) from 73.451%
27785156915.2

Pull #56

github

iskandr
Harden zip/gz decompression; add zip test + tighten deprecation test

Addressing review of #42:
- Stream the chosen zip member straight to the destination via z.open() +
  copyfileobj, replacing ZipFile.extract() which wrote into the current working
  directory and recreated the member's stored path (cwd-pollution + a "../"
  path-traversal footgun). Member selection (named match, else biggest) is
  unchanged.
- Stream the gunzip to disk instead of reading the whole decompressed file into
  memory — consistent with the streaming download goal (#49).
- Add a .zip decompression test (previously only .gz was covered) that also
  asserts nothing leaks into the cwd, and pin the deprecation warning message
  with pytest.warns(match=...).
Pull Request #56: Make test_download.py hermetic; remove dead wget path; harden zip/gz decompress (closes #42)

337 of 429 relevant lines covered (78.55%)

0.79 hits per line

Source Files on job 27785156915.2
  • Tree
  • List 9
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27785156915
  • aa6fe3b0 on github
  • Prev Job for on fix-flaky-download-test (#27778483053.2)
  • Next Job for on fix-flaky-download-test (#27785449947.1)
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