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 capability to hard fail an item and kill the pipeline #114

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

Ghostofapacket
Copy link

Used for cloud scale deployments where autorespawn is required. Will break the warrior.

Copy link
Member

@chfoo chfoo left a comment

Choose a reason for hiding this comment

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

I don't see any major issues. I can pull once that syntax is clarified

@@ -221,7 +225,10 @@ def fail_item(self, item):
# Don't allow the item to fail until the external process completes
if item["ExternalProcess.running"]:
return
Task.fail_item(self, item)
if self.hard_exit == True:
Copy link
Member

Choose a reason for hiding this comment

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

From what I see, hard_exit is already a boolean so it's redundant to compare it to another boolean

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.

None yet

2 participants