Skip to content

CI installs four of six pipeline tools: FastQC and MultiQC are absent, so prefilter QC is never exercised #30

Closed

Description

@hyperpolymath

What is measured

.github/workflows/ci.yml installs four external pipeline tools and not the
other two:

tool installed in CI? where
cutadapt ✅ ci.yml:269-270 (pip install "$CUTADAPT_SPEC")
cd-hit ✅ ci.yml:275-276 (apt-get install -y cd-hit)
vsearch ✅ ci.yml:280-287 (sha256-verified tarball)
swarm ✅ ci.yml:289-296 (sha256-verified tarball)
fastqc ❌ absent —
multiqc ❌ absent —

Both missing tools are nevertheless declared required by the code:

  • src/core/validate.jl:76 — required = ["cutadapt", "fastqc", "multiqc", "vsearch", "cd_hit_est"]
  • config/ci/tools.yml:8-12 and config/defaults/tools.yml:18-21 both declare them
  • config/defaults/pipeline.yml:164-170 carries fastqc: and multiqc: config blocks
  • src/core/log.jl:86-87 expects QC/logs/fastqc.log and QC/logs/multiqc.log

Why this matters

test/unit/test_provenance.jl:426-430 probes only what is actually installed:

@testset "live probes of what is actually installed" begin
    ...
    @info "Provenance: skipping live probe of $key, which is not installed"

So on CI the FastQC and MultiQC provenance probes skip, and they skip
quietly — an @info, not a warning or a failure. The consequence is that the
prefilter QC stage is never exercised end to end in CI: no run ever produces a
real fastqc.log/multiqc.log, so neither the invocation, the flag plumbing
from pipeline.yml, nor the provenance capture for those two tools has any
automated coverage. A regression in that stage would reach a user before it
reached a test.

This is the "a skip is not a pass" shape: the step reports success because it
declined to run, and nothing distinguishes that from having run and passed.

Acceptance criteria

  • CI installs pinned fastqc and multiqc, version-pinned in
    config/defaults/tool_versions.yml the way vsearch and swarm are, with a
    sha256 where the distribution channel permits one.
  • The provenance live probes for both tools run on CI rather than
    skipping — asserted by the testset's own output naming them, not by a
    zero-failure count.
  • At least one end-to-end run produces a non-empty QC/logs/fastqc.log and
    QC/logs/multiqc.log, and asserts their provenance records are captured.
  • If pinning either tool on ubuntu-24.04 proves impractical, the skip is
    made loud — the probe must fail or emit a warning that names the
    untested stage, rather than @info.

Filed as an issue rather than fixed inline per the standing rule that a new
finding does not block a merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions