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

openvax / datacache / 27784677148
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: fix-flaky-download-test
DEFAULT BRANCH: master
Ran 18 Jun 2026 07:39PM 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 07:38PM UTC coverage: 75.571% (+2.1%) from 73.451%
27784677148

Pull #56

github

iskandr
Make test_download.py hermetic; remove dead wget download path (closes #42)

test_fetch_decompress hit a live Ensembl FTP server and looped over
use_wget_if_available/timeout while the file was only downloaded once — so the
result depended on iteration order (the flakiness in #42), and CI was noisy.

- Rewrite the tests to serve a local .gz over file:// with the cache redirected
  to a tmp dir (the pattern test_streaming_download.py already uses): no network,
  no cross-run cached state. Adds deterministic cache-reuse + force coverage.
- Remove the wget download path: subprocess.call's non-zero exit was ignored
  (silent partial downloads), and the modernization's streaming Python
  downloader (_stream_to_file, #49) already handles http(s) and ftp. Drops the
  subprocess/errno imports and the wget threading through the private helpers.
- Keep use_wget_if_available on the public fetch_file / Cache.fetch as a
  deprecated, ignored no-op (warns when explicitly passed) so callers don't break.

No version bump — leaving the release/version decision to the maintainer.
Pull Request #56: Make test_download.py hermetic; remove dead wget path (closes #42)

22 of 25 new or added lines in 2 files covered. (88.0%)

26 existing lines in 1 file now uncovered.

331 of 438 relevant lines covered (75.57%)

2.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
68.97
6.66% datacache/download.py

Coverage Regressions

Lines Coverage ∆ File
26
68.97
6.66% datacache/download.py
Jobs
ID Job ID Ran Files Coverage
1 27784677148.1 18 Jun 2026 07:39PM UTC 9
75.57
GitHub Action Run
2 27784677148.2 18 Jun 2026 07:39PM UTC 9
75.57
GitHub Action Run
3 27784677148.3 18 Jun 2026 07:39PM UTC 9
75.51
GitHub Action Run
Source Files on build 27784677148
  • Tree
  • List 9
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27784677148
  • Pull Request #56
  • PR Base - master (#27778483053)
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