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

openvax / datacache / 27778178865
79%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2026 05:41PM UTC
Jobs 3
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

18 Jun 2026 05:41PM UTC coverage: 73.333% (-0.5%) from 73.821%
27778178865

push

github

web-flow
Fix #49: stream downloads to disk + optional progress_callback (#53)

Previously _download read the entire HTTP/FTP response into memory
(response.content / response.read()) before writing it to the temp file,
so downloading a large reference file (e.g. a ~200 MB HPA archive) spiked
RAM by the full file size and gave callers no way to show progress.

Replace _download with _stream_to_file, which streams the response to an
open file handle one chunk at a time (requests stream=True + iter_content
for http, chunked response.read for ftp/file), capping memory at one
chunk. Add an optional progress_callback(bytes_downloaded, total_bytes)
hook and chunk_size, threaded through _download_to_temp_file,
_download_and_decompress_if_necessary and fetch_file, so consumers can
drive a tqdm bar without datacache depending on tqdm.

Adds network-free regression tests using local file:// URLs.

Claude-Session: https://claude.ai/code/session_011bzfZPTzWnhAMVD7msyMg1

20 of 31 new or added lines in 1 file covered. (64.52%)

330 of 450 relevant lines covered (73.33%)

2.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
62.31
0.77% datacache/download.py
Jobs
ID Job ID Ran Files Coverage
1 27778178865.1 18 Jun 2026 05:41PM UTC 9
73.33
GitHub Action Run
2 27778178865.2 18 Jun 2026 05:41PM UTC 9
73.33
GitHub Action Run
3 27778178865.3 18 Jun 2026 05:42PM UTC 9
73.27
GitHub Action Run
Source Files on build 27778178865
  • Tree
  • List 9
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27778178865
  • 4bb8898d on github
  • Prev Build on master (#27778174749)
  • Next Build on master (#27778249944)
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