[go: up one dir, main page]

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

【需求】非fast-fail的工作流 #447

Open
chenstrace opened this issue Sep 9, 2022 · 2 comments
Open

【需求】非fast-fail的工作流 #447

chenstrace opened this issue Sep 9, 2022 · 2 comments
Assignees
Labels
new feature new feature

Comments

@chenstrace
Copy link

背景

问题在 https://github.com/PowerJob/PowerJob/issues/446 中讨论过,当前工作流的失败逻辑的设计是fast-fail,所以当下图中5号节点失败后,8号和9号节点不会运行。但这种逻辑不同于人的思维,不够直观。
image

期望

父节点失败后,只影响其直接子节点的运行。 例如下图是符合人的思维的,5号节点失败后,8号和9号节点还是会继续运行。
image

应用场景

其实上面的描述就是我们的应用场景了,我们的检测系统中有很多检测项,这些检测项是有依赖关系的。具体为:

  1. 父节点的检测项失败了,只影响其子节点的检测项运行
  2. 父节点的兄弟结点失败了, 不影响父节点的子节点运行。
@chenstrace chenstrace added the new feature new feature label Sep 9, 2022
@Echo009 Echo009 self-assigned this Sep 9, 2022
@Echo009
Copy link
Member
Echo009 commented Sep 12, 2022

@chenstrace 大家一致认为这个需求比较合理,欢迎提 PR 哈 ~

@chenstrace
Copy link
Author

@chenstrace 大家一致认为这个需求比较合理,欢迎提 PR 哈 ~

收到

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

No branches or pull requests

2 participants