Repository navigation
Done
16 / 1616 of 16 issues completedDone
16 / 1616 of 16 issues completed
Copy link
Labels
bugSomething isn't working
Description
Why
An audit of 0.17.1 (2c18e74, still current at 0.17.3) found 164 defects: 3 critical, 38 high, 53 medium and 70 low. The core design holds up: staging, Zarr-version preservation and the fan-out writer are sound on the paths they cover. The defects cluster at four kinds of place:
- The edges of the safety net. Some commands bypass
staged_outputsandsame_path, and close-time errors are swallowed. - Inputs nobody tested. Empty fields, repeated names,
--chunk 0, legacy anndata 0.7 encodings, scanpy rec-arrays. - Paths where memory is not set by
--chunk. Fixed block sizes, whole-array checks, and anndata 0.13's sharded Zarr v3 layout. - Packaging. An undeclared
clickimport breaksadata converton every fresh install from 0.7.0 to 0.17.2.
Security findings are described here only in general terms until their fix is released.
Plan
16 batches, each one PR and each owning a set of files. Batches in the same wave touch different files, so they run in parallel; a batch that shares files with another starts after it has merged.
| Wave | Batches | Release | Theme |
|---|---|---|---|
| 0 | B0 | 0.17.3 | convert broken on fresh installs |
| 1 | B1, B2a, B2b, B3a, B7 | 0.17.4: data safety | every critical, the write-safety holes, silent wrong values, patched Pillow |
| 2 | B3b, B4, B5, B8a, B8b, B9 | 0.17.5: fidelity | anndata parity, legacy stores, converters, CI hardening |
| 3 | B6a, B6b, B8c | 0.17.6: streaming | memory bounded by --chunk, Zarr v3 shards, pickles |
| 4 | B10 | with 0.17.6 | CLI output and docs sweep |
Decisions
- Versioning: all of it ships as 0.17.x patches.
- Concat order: outer-join var order and category order match anndata (sorted), and the changelog says so.
- Pickles: reading is hardened, and the docs say pickles are trusted input.
- Full disk mid-write: the HDF5 library aborts, which the tool cannot catch, so writers check free space against the estimated output size first, and troubleshooting explains it.
Rules for every batch
- One PR, on a
fix/<batch>branch frommain. - A regression test for every finding. Its docstring names the ref and says what used to go wrong, and it checks the result with an oracle (anndata, scipy or pandas), not only against the tool's own output.
- Root causes are fixed once: one output check for every writer, one shared
--chunkoption withmin=1, one way to choose a text encoding. - Docs and a
### Fixedchangelog entry in the same PR. A new refusal or flag goes intodocs/reference/commands.md. - Merged only after review, and with CI green on the exact commit. The PR lists the refs it closes.
- A finding marked plausible or unverified (F036, F107, F137) is reproduced first, and closed with a note if it does not reproduce.
Sub-issues
- B0: Hotfix:
converton fresh installs #88 B0: Hotfix:converton fresh installs - B1: Write safety and finalisation #89 B1: Write safety and finalisation
- B2a: Matrix and text importers #90 B2a: Matrix and text importers
- B2b: Table, dataframe, JSON and array codecs #91 B2b: Table, dataframe, JSON and array codecs
- B3a: Concat correctness #92 B3a: Concat correctness
- B3b: Concat fidelity and scale #93 B3b: Concat fidelity and scale
- B4: Subset, split and query #94 B4: Subset, split and query
- B5: Element fidelity, legacy stores and HDF5 safety #95 B5: Element fidelity, legacy stores and HDF5 safety
- B6a: Memory harness, then recast streaming #96 B6a: Memory harness, then recast streaming
- B6b: Block sizing and Zarr v3 shards #97 B6b: Block sizing and Zarr v3 shards
- B7: Dependencies #98 B7: Dependencies
- B8a: 10x family, MTX and Parse converters #99 B8a: 10x family, MTX and Parse converters
- B8b: Loom, SCope and MuData #100 B8b: Loom, SCope and MuData
- B8c: Pickles, spatial and images #101 B8c: Pickles, spatial and images
- B9: CI and release pipeline #102 B9: CI and release pipeline
- B10: CLI output and documentation sweep #103 B10: CLI output and documentation sweep
Done when
- Every batch is merged, and 0.17.4 to 0.17.6 are tagged.
- Each ref is closed in its PR, or closed as not reproducing (plausible and unverified only).
- The audit's repro scripts give a refusal or the correct output against
main. - The new tests guard the general rules, not only the findings: oracle checks for non-X elements, the memory harness with wide and sharded fixtures, the fresh-install CI job and the write-safety matrix.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 16 sub-issues
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
converton fresh installs #88Claptar commentedon Dec 4, 2026
All 16 batches (#88–#103) are done, released in 0.17.3 to 0.17.6, and every ref from F001 to F164 traces to a regression test's docstring or to the commit that fixed it. The December 2026 audit of 0.17.8 continues in #149: its hotfix is out as 0.17.9 (#132, advisory GHSA-q5v7-469m-2xj2), and the rest is batched there from F165.