Make jobs automatically resubmit for exit code 175#3564
Merged
mirpedrol merged 3 commits intonf-core:devfrom May 21, 2025
Merged
Make jobs automatically resubmit for exit code 175#3564mirpedrol merged 3 commits intonf-core:devfrom
mirpedrol merged 3 commits intonf-core:devfrom
Conversation
When a pipeline process is in the process of being snapshotted via Fusion Snapshots and encounters an unrecoverable error the Fusion Snapshots runtime emits a specific exit code (175) to signal that to Nextflow. This PR makes sure that users creating pipelines out of the template are including the exit code in their retry strategy.
92dd020 to
be9d768
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
maxulysse
added a commit
to nf-core/sarek
that referenced
this pull request
May 13, 2025
11 tasks
11 tasks
maxulysse
added a commit
to nf-core/sarek
that referenced
this pull request
May 13, 2025
cf nf-core/tools#3564 <!-- # nf-core/sarek pull request Many thanks for contributing to nf-core/sarek! Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs). Remember that PRs should be made against the dev branch, unless you're preparing a pipeline release. Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md) --> ## PR checklist - [ ] This comment contains a description of changes (with reason). - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md) - [ ] If necessary, also make a PR on the nf-core/sarek _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository. - [ ] Make sure your code lints (`nf-core pipelines lint`). - [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`). - [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`). - [ ] Usage Documentation in `docs/usage.md` is updated. - [ ] Output Documentation in `docs/output.md` is updated. - [ ] `CHANGELOG.md` is updated. - [ ] `README.md` is updated (including new tool citations and authors/contributors).
mirpedrol
approved these changes
May 14, 2025
Member
mirpedrol
left a comment
There was a problem hiding this comment.
Should we add a comment indicating that 175 is for Fusion?
Otherwise LGTM, thanks!
Contributor
Author
|
Thanks @mirpedrol done via 41550cc |
Contributor
Author
|
@mirpedrol is this ready to get merged? I don't have permissions :D |
Member
|
I sent you an invitation to join the nf-core organisation so that you can have permissions to merge. Let's wait for the tests to run and then we can merge :) |
Contributor
Author
|
Thank you @mirpedrol ! |
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.
When a pipeline's whole Linux process tree is in the process of being snapshotted via Fusion Snapshots and encounters an unrecoverable error the Fusion Snapshots runtime emits a specific exit code (175) to signal that to Nextflow.
This PR makes sure that users creating pipelines out of the template are including the exit code in their retry strategy.
PR checklist
CHANGELOG.mdis updateddocsis updated