Graph engine does not wait #19040

Closed
opened 2026-02-21 19:54:59 -05:00 by yindo · 0 comments
Owner

Originally created by @DavideDelbianco on GitHub (Oct 10, 2025).

Originally assigned to: @laipz8200, @Nov1c444 on GitHub.

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Create a flow where multiple branches merges into a code node
Make one of the branches a little bit slower
Use the output of the slower branch adfter the code node

✔️ Expected Behavior

execution should wait at the code node, which uses output from all upstream nodes and then continue with the rest of the workflow

Actual Behavior

Upstream nodes that are used in the node, are not waited for.
Execution continues with the rest of the graph considering the output of those nodes as "None" for the code node
The node after the code node errors.

Image
Originally created by @DavideDelbianco on GitHub (Oct 10, 2025). Originally assigned to: @laipz8200, @Nov1c444 on GitHub. ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Create a flow where multiple branches merges into a code node Make one of the branches a little bit slower Use the output of the slower branch adfter the code node ### ✔️ Expected Behavior execution should wait at the code node, which uses output from all upstream nodes and then continue with the rest of the workflow ### ❌ Actual Behavior Upstream nodes that are used in the node, are not waited for. Execution continues with the rest of the graph considering the output of those nodes as "None" for the code node The node after the code node errors. <img width="644" height="900" alt="Image" src="https://github.com/user-attachments/assets/8071af46-a545-4c4b-9454-63a93c32acf9" />
yindo added the 🐞 bug label 2026-02-21 19:54:59 -05:00
yindo closed this issue 2026-02-21 19:55:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#19040