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

GavinHuttley / cogent3-h5seqs / 38347201696
99%

Build:
DEFAULT BRANCH: develop
Ran 13 Oct 2026 04:36AM UTC
Jobs 6
Files 5
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

13 Oct 2026 04:35AM UTC coverage: 97.947% (-0.6%) from 98.58%
38347201696

push

github

GavinHuttley
BUG: close open stores at exit instead of flushing during teardown

A store with deferred writes that was still referenced at interpreter
exit flushed from __del__ while modules were being torn down. Depending
on teardown order this segfaulted. A script that built a dense and then
a sparse in-memory alignment in a loop exited with code 139 on every
run, at this change's parent and at the upstream code before this
series, while small unrelated edits to the script hid the crash. The
fault handler printed nothing. Calling flush() or close() before exit
avoided it. The same teardown flush also lost data without a crash: an
on-disk c3h5u store created with offset {"s1": 7} and never closed
reopened with an empty offset, because __del__ suppresses every
exception.

Each store now registers itself in a module-level WeakValueDictionary,
keyed by id because stores are unhashable, and an atexit hook closes
whatever is still open. atexit runs before module teardown, so the
flush happens while h5py is intact. Freed stores drop out of the
registry, and __del__ is unchanged and returns early for stores the
hook has already closed. Skipping the flush during finalization was
rejected because it would stop the crash but keep the silent loss of
deferred metadata.

10 of 18 new or added lines in 1 file covered. (55.56%)

2 existing lines in 1 file now uncovered.

1193 of 1218 relevant lines covered (97.95%)

5.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
96.29
-1.78% src/cogent3_h5seqs/unaligned.py

Coverage Regressions

Lines Coverage ∆ File
2
99.23
0.01% src/cogent3_h5seqs/aligned.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.14-windows-latest - 38347201696.1 13 Oct 2026 04:36AM UTC 5
97.95
GitHub Action Run
2 run-3.14-macos-latest - 38347201696.2 13 Oct 2026 04:36AM UTC 5
97.95
GitHub Action Run
3 run-3.11-ubuntu-latest - 38347201696.3 13 Oct 2026 04:36AM UTC 5
97.95
GitHub Action Run
4 run-3.11-macos-latest - 38347201696.4 13 Oct 2026 04:36AM UTC 5
97.95
GitHub Action Run
5 run-3.14-ubuntu-latest - 38347201696.5 13 Oct 2026 04:36AM UTC 5
97.95
GitHub Action Run
6 run-3.11-windows-latest - 38347201696.6 13 Oct 2026 04:36AM UTC 5
97.95
GitHub Action Run
Source Files on build 38347201696
  • Tree
  • List 5
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38347201696
  • b5e2f817 on github
  • Prev Build on develop (#38344431338)
  • Next Build on develop (#38347894245)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc