Ensure main script is the first one in the lineage WorkflowRun record#6845
Merged
bentsherman merged 3 commits intomasterfrom Feb 26, 2026
Merged
Ensure main script is the first one in the lineage WorkflowRun record#6845bentsherman merged 3 commits intomasterfrom
bentsherman merged 3 commits intomasterfrom
Conversation
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
pditommaso
reviewed
Feb 19, 2026
pditommaso
approved these changes
Feb 19, 2026
pelleImu
reviewed
Feb 19, 2026
pelleImu
approved these changes
Feb 20, 2026
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
bentsherman
approved these changes
Feb 26, 2026
pditommaso
pushed a commit
that referenced
this pull request
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User on nextflow slack found a bug with how script files are listed in the lineage:
https://nextflow.slack.com/archives/C02T98A23U7/p1771421589893539
We intended for the main script to always be first, but then we sort the entire list by path, which breaks that guarantee
This PR modifies this behaviour to only sort the script files before adding the main script