If a Directed Cyclic Graph is configured within a workflow, it can cause the workflow to crash. #1764

Closed
opened 2026-02-21 17:37:37 -05:00 by yindo · 0 comments
Owner

Originally created by @aute on GitHub (Apr 3, 2024).

Originally assigned to: @iamjoel, @takatost on GitHub.

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.6.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I can configure a Directed Cyclic Graph in the workflow.
截屏2024-04-03 15 51 29

But it won't function properly and will cause the page to crash.
截屏2024-04-03 15 58 00

✔️ Expected Behavior

Expected Behavior: The system should support Directed Cyclic Graphs and function properly; Fallback solution: Prohibit the configuration of Directed Cyclic Graphs during setup.

Actual Behavior

Directed Cyclic Graph configurations can be made, but they do not function properly and lead to page crashes.

Originally created by @aute on GitHub (Apr 3, 2024). Originally assigned to: @iamjoel, @takatost on GitHub. ### Self Checks - [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 (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.6.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I can configure a Directed Cyclic Graph in the workflow. <img width="1490" alt="截屏2024-04-03 15 51 29" src="https://github.com/langgenius/dify/assets/17873165/af9b12f8-415a-4a9a-935a-8712a7d81089"> But it won't function properly and will cause the page to crash. <img width="1489" alt="截屏2024-04-03 15 58 00" src="https://github.com/langgenius/dify/assets/17873165/c74997db-aad6-4d0a-a120-737877ddec6f"> ### ✔️ Expected Behavior Expected Behavior: The system should support Directed Cyclic Graphs and function properly; Fallback solution: Prohibit the configuration of Directed Cyclic Graphs during setup. ### ❌ Actual Behavior Directed Cyclic Graph configurations can be made, but they do not function properly and lead to page crashes.
yindo added the 🐞 bug🌊 feat:workflow labels 2026-02-21 17:37:37 -05:00
yindo closed this issue 2026-02-21 17:37:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1764