Skip to content

Workflow with multi branch and a final end node problem #23851

Closed Answered by dosubot bot
Fnck asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, @Fnck! I'm here to help you with any bugs, questions, or contributions. Feel free to ask me anything while you wait for a human maintainer.

The issue you're encountering with the end node being executed twice in a workflow with multiple branches converging into a single end node is likely related to how dependencies are managed and checked within the PregelNode and TaskExecutor classes.

  1. Dependency Management: The PregelNode class handles task dependencies through the TaskExecutor class, specifically in the check_dependency method. This method checks if all dependencies of a given task are either completed or not failed/pending:

    def check_dependency(self, task: Task) -> bool:…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Fnck
Comment options

Answer selected by Fnck
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant