Skip to content

Collision pre-flight cannot name which input produced a colliding report #397

Description

@FelixKrueger

Follow-up from #391's reviews (recorded in plans/08082026_clump-paired-report-preflight/, confirmed live by both code reviewers): when two reports collide, io::preflight_output_collisions prints the same path twice —

Error: Output path collision (…): out/reads.fq_clumping_report.txt and out/reads.fq_clumping_report.txt would be written to the same file. … rename one input …

— because the candidate list carries no input provenance, so the message tells the user to rename an input it cannot name. The remediation works (the reworded hint's "inputs sharing a filename" narrows it), but naming the two source inputs would make it actionable directly. Fix shape: thread (PathBuf, source) pairs or a parallel provenance slice through the pre-flight. Applies equally to #388's trim-report site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions