Description of feature
The files generated by the nf-core modules md5sum and shasum (when using a directory as input and val as_separate_files = false) appear to have non-deterministic ordering across different environments, resulting in inconsistent snapshot updates despite identical content. To ensure stable tests, the modules should sort the generated entries before writing the final output files.
Example in one environment:
7f02f6d477349914bb41f291fb6f78e8 WholeGenomeFasta/GenomeSize.xml
a6da8681616c05eb542f1d91606a7b2f WholeGenomeFasta/genome.fa
4de31b504ab671103e9fe345473fd023 WholeGenomeFasta/GenomeSize.xml.old
65b83c517c3917f444eaea0df4780b0a WholeGenomeFasta/genome.dict
8ac6daf613d96525c92e88e00c5830e3 WholeGenomeFasta/genome.dict.old
5fddbc109c82980f9436aa5c21a57c61 WholeGenomeFasta/genome.fa.fai
Example in other environment:
65b83c517c3917f444eaea0df4780b0a WholeGenomeFasta/genome.dict
8ac6daf613d96525c92e88e00c5830e3 WholeGenomeFasta/genome.dict.old
a6da8681616c05eb542f1d91606a7b2f WholeGenomeFasta/genome.fa
5fddbc109c82980f9436aa5c21a57c61 WholeGenomeFasta/genome.fa.fai
7f02f6d477349914bb41f291fb6f78e8 WholeGenomeFasta/GenomeSize.xml
4de31b504ab671103e9fe345473fd023 WholeGenomeFasta/GenomeSize.xml.old
Description of feature
The files generated by the nf-core modules md5sum and shasum (when using a directory as input and
val as_separate_files = false) appear to have non-deterministic ordering across different environments, resulting in inconsistent snapshot updates despite identical content. To ensure stable tests, the modules should sort the generated entries before writing the final output files.Example in one environment:
Example in other environment: