Skip to content

Commit b28be77

Browse files
authored
Merge pull request #3564 from fntlnz/snapshot-exit-code
Make jobs automatically resubmit for exit code 175
2 parents dd6c4bf + 5e25e56 commit b28be77

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- run nf-test tests on runsOn runners ([#3525](https://github.com/nf-core/tools/pull/3525))
1414
- Include the centralized nf-core configs also in offline mode, if a local copy is available. ([#3491](https://github.com/nf-core/tools/pull/3491))
1515
- downgrade nf-schema to fix CI tests ([#3544](https://github.com/nf-core/tools/pull/3544))
16+
- Make jobs automatically resubmit for exit code 175 ([#3564](https://github.com/nf-core/tools/pull/3564))
1617
- bump nf-schema back to 2.3.0 ([#3577](https://github.com/nf-core/tools/pull/3577))
1718

1819
### Linting

nf_core/pipeline-template/conf/base.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ process {
1515
memory = { 6.GB * task.attempt }
1616
time = { 4.h * task.attempt }
1717

18-
errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' }
18+
errorStrategy = { task.exitStatus in ((130..145) + 104 + 175) ? 'retry' : 'finish' }
1919
maxRetries = 1
2020
maxErrors = '-1'
2121

nf_core/pipeline-template/nextflow.config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ process {
8383
memory = { 6.GB * task.attempt }
8484
time = { 4.h * task.attempt }
8585

86-
errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' }
86+
// 175 signals that the Pipeline had an unrecoverable error while
87+
// restoring a Snapshot via Fusion Snapshots.
88+
errorStrategy = { task.exitStatus in ((130..145) + 104 + 175) ? 'retry' : 'finish' }
8789
maxRetries = 1
8890
maxErrors = '-1'
8991
}

0 commit comments

Comments
 (0)