Skip to content

Add capability to hard fail an item and kill the pipeline#114

Open
Ghostofapacket wants to merge 2 commits intoArchiveTeam:developmentfrom
Ghostofapacket:development
Open

Add capability to hard fail an item and kill the pipeline#114
Ghostofapacket wants to merge 2 commits intoArchiveTeam:developmentfrom
Ghostofapacket:development

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants