Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ignoreThenFail error strategy #4686

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bentsherman
Copy link
Member

Close #4446

Test example:

process foo {
  errorStrategy 'ignoreThenFail'

  input:
  val id

  script:
  """
  test $id -ne 4
  """
}

workflow {
  foo( Channel.of(1..10) )
}

This pipeline will ignore the failed task but then return a non-zero exit code.

Copy link

netlify bot commented Jan 25, 2024

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit b1b73b1
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/65d788c5f3258200088b1364

Copy link
Member

@pditommaso pditommaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are needed

Signed-off-by: Ben Sherman <[email protected]>
@bentsherman bentsherman requested a review from a team as a code owner April 3, 2024 14:39
@adamrtalbot
Copy link
Collaborator

Hey everyone, can I restart this one a bit? It would be a very useful feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Defer error exit status to end of pipeline run
3 participants