Matthias Zepper
12/10/2025, 4:06 PMoutdir (a folder that contains a pipeline_info subfolder)
• Committing of files that contain unresolved merge conflicts.
Your feedback is wanted particularly on those issues:
• Allowed size limit of the files (docs folder is excluded, so e.g. images in docs can be larger)
• Pipeline outdir detection: Should we only grep for staged files in the pipeline_info folder itself or keep the current script that iterates through all paths? The later is more comprehensive, but also takes more compute and may take a moment or two.James Fellows Yates
12/10/2025, 4:10 PMMaxime Garcia
12/10/2025, 4:10 PMNicolas Vannieuwkerke
12/10/2025, 4:16 PM.nf-test folder in this case?Nicolas Vannieuwkerke
12/10/2025, 4:16 PM.gitignore should prevent most of theseMatthias Zepper
12/10/2025, 4:32 PM.nextflow.log , work and .nf-test directory, we are indeed relying on .gitignore. Since the names of those are predictable. Only the --outdir is easily customisable. Therefore, while we had testing and results in the .gitignore, it was still possible to commit a result and result_test folders. Because they were deleted with later commits, they didn’t show up in the combined pull request diff and the PR was merged.Jim Downie
12/10/2025, 10:01 PMassets/ directory. Maybe that should be somewhere else really but it’s pretty tightly integrated into the pipeline run, so I’m reluctant to make it an external resource - different HMM files are unlikely to work.
I’m not too familiar with pre-commit - is it possible to make it so that it forces you to confirm whether something is what you meant to do, rather than just fail - “File $X is 5678kb - enter Y to confirm commit”?James Fellows Yates
12/11/2025, 4:47 AMJames Fellows Yates
12/11/2025, 4:47 AMMatthias Zepper
12/11/2025, 11:25 AM--force flag or something the like, but I wouldn’t go there. I am already allowing bigger files in docs and we will just add assets to the list of excluded locations?Matthieu Muffato
12/11/2025, 3:33 PMnf-core lint test rather than a pre-commit). Then, once we’re made aware of this, we have options such as rebasing, squashing, etc, before / when the PR is merged, but we first need to know the problem is thereMatthias Zepper
12/11/2025, 3:45 PMpre-commit is the most straightforward, because it prevents the mistake from happening in the first place. Anything else will only limit the “damage” done and require cleaning operations with various degrees of complexity.
The easiest is to go through each commit separately during a PR review. If people use commits semantically with a decent description, it also simplifies the review - although I am aware that there are huge differences between people. Some will commit tiny things with descriptions like fix, ugh or lala and others submit a whole pipeline with 5 commits.Maxime Garcia
12/11/2025, 3:47 PMMaxime Garcia
12/11/2025, 3:47 PMJim Downie
12/11/2025, 3:50 PMRegardless of the rules we come up with here, the scenario listed in the PR is still fairly common: someone adds a file by accident, finds their mistake and deletes the file, but the file will remain as a git blob somewhere, taking space.I think this could be partially solved by enforcing squash commits into
devMatthias Zepper
12/12/2025, 10:28 AMdev - but I occasionally like to step through single commits to retrace thinking when I try to understand what has been changed why. When the download command was refactored this summer in #CE5LG7WMB the resulting PR was touching about 9000 lines of code. Just imagine that all squashed into one commit - I think there is value in breaking this up semi-semantically so that the step-wise progress on this task can still be retraced in the future even after PR review is done.Jim Downie
12/12/2025, 5:14 PMMatthias Zepper
12/12/2025, 9:25 PMMatthieu Muffato
09/24/2026, 1:21 PMMatthias Zepper
09/24/2026, 2:00 PMMatthias Zepper
09/24/2026, 2:03 PMMatthieu Muffato
09/24/2026, 2:20 PMMatthieu Muffato
09/24/2026, 2:23 PMMatthias Zepper
09/24/2026, 3:24 PM