Skip to content

B12: CI and test coverage #146

Backlog
Backlog

Description

@Claptar

Part of #149.

wave 4 · 0.17.13 · size M · starts after: B5 (both edit workflows)

Goal. Every test runs somewhere, on every platform and interpreter the package claims, and a silent failure fails.

Owns: .github/workflows/tests.yml, the action pins in every workflow, .github/scripts/, tests/{test_block_layout,test_subset,test_zarr,test_export}.py

Approach:

  • Actions bumped off node20.
  • A macOS leg for the write-safety tests, so F082's case-insensitive tests run; a Python 3.14 leg.
  • The integration tests of test_loom.py and test_concat_versions.py in a job; external-readers requires every case to run.
  • Codecov with a token and fail_ci_if_error; the floors job pins indirect dependencies too.
  • Stale comments fixed and the two jobs renamed as STATUS asks; settings step 4 then lists them.
  • The tiny-block tests shrink the sparse block floor, so the parts path runs under anndata again; test_subset, test_zarr and test_export read their outputs back with anndata and pandas.

Findings

Ref Sev Finding Where
F232 M Every Node-based action is on a node20 major, which GitHub is retiring .github/workflows/tests.yml:1
F233 M No Python 3.14 leg, though the pickle reader relies on pickle._Unpickler internals formats/pickled.py:527
F234 M The tiny-block subset test no longer reads anything in parts: 0.17.8's 32 MiB floor makes its matrix one block tests/test_block_layout.py:57
F235 M test_subset.py, test_zarr.py and test_export.py check results against adata's own reads, never an oracle tests/test_subset.py:1
F236 M No macOS CI: the F082 case-insensitive data-loss regression tests always skip tests/test_write_safety.py:1064
F237 L Stale workflow comments and job names that misdescribe the jobs .github/workflows/benchmark.yml:5
F238 L Codecov uploads fail on every main run, hidden by fail_ci_if_error: false .github/workflows/tests.yml:109
F239 L external-readers passes when only 8 of its 28 cases ran .github/workflows/tests.yml:404
F240 L The floors job lets indirect dependencies float .github/workflows/tests.yml:420
F241 L Integration tests no CI job runs: test_loom.py:680 and test_concat_versions.py tests/test_loom.py:680

Done when one PR on fix/b12 closes this, with a regression test against an oracle for every finding, and docs and changelog in the same PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions