The logic of displaying nodes executed within a iteration node is incorrect #8864

Closed
opened 2026-02-21 18:28:14 -05:00 by yindo · 4 comments
Owner

Originally created by @fdb02983rhy on GitHub (Mar 2, 2025).

Originally assigned to: @iamjoel on GitHub.

Self Checks

  • 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 (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.0

Cloud or Self Hosted

Cloud

Steps to reproduce

2.yml.zip

✔️ Expected Behavior

They belong to the same iteration
Image

https://github.com/user-attachments/assets/8b622810-718f-4d69-94d4-3fe6d79d0f14

Actual Behavior

Image

https://github.com/user-attachments/assets/9f89fb05-b3df-4a8f-9de3-52cc337c715b

Originally created by @fdb02983rhy on GitHub (Mar 2, 2025). Originally assigned to: @iamjoel on GitHub. ### Self Checks - [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 (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.0.0 ### Cloud or Self Hosted Cloud ### Steps to reproduce [2.yml.zip](https://github.com/user-attachments/files/19044106/2.yml.zip) ### ✔️ Expected Behavior They belong to the same iteration <img width="1513" alt="Image" src="https://github.com/user-attachments/assets/560cef3b-19d5-40a4-af84-299e42137a92" /> https://github.com/user-attachments/assets/8b622810-718f-4d69-94d4-3fe6d79d0f14 ### ❌ Actual Behavior <img width="1486" alt="Image" src="https://github.com/user-attachments/assets/dc42665f-2420-4c6b-8a24-df4f2a7681ff" /> https://github.com/user-attachments/assets/9f89fb05-b3df-4a8f-9de3-52cc337c715b
yindo added the 🐞 bugcloud labels 2026-02-21 18:28:14 -05:00
yindo closed this issue 2026-02-21 18:28:14 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 2, 2025):

The logic for displaying nodes executed within an iteration node in Dify is designed so that the result should not include any nodes within the iteration node itself. This is verified by a test that checks for the absence of nodes with execution_metadata?.iteration_id in the result [1]. If you're experiencing issues with this logic, it might be helpful to review the test and ensure that the implementation aligns with this expected behavior.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 2, 2025): <!-- Answer --> The logic for displaying nodes executed within an iteration node in Dify is designed so that the result should not include any nodes within the iteration node itself. This is verified by a test that checks for the absence of nodes with `execution_metadata?.iteration_id` in the result <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/components/workflow/run/utils/format-log/iteration/index.spec.ts)</sup>. If you're experiencing issues with this logic, it might be helpful to review the test and ensure that the implementation aligns with this expected behavior. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/bfc35237-684b-4489-af2e-30de857cf196?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/bfc35237-684b-4489-af2e-30de857cf196?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/bfc35237-684b-4489-af2e-30de857cf196?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/bfc35237-684b-4489-af2e-30de857cf196?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/bfc35237-684b-4489-af2e-30de857cf196?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/bfc35237-684b-4489-af2e-30de857cf196?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/bfc35237-684b-4489-af2e-30de857cf196?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Mar 2, 2025):

What's your expected behavior?

@crazywoola commented on GitHub (Mar 2, 2025): What's your expected behavior?
Author
Owner

@fdb02983rhy commented on GitHub (Mar 3, 2025):

What's your expected behavior?

Hi, I have updated some more screenshots.

@fdb02983rhy commented on GitHub (Mar 3, 2025): > What's your expected behavior? Hi, I have updated some more screenshots.
Author
Owner

@qkzsky commented on GitHub (Mar 3, 2025):

I also encountered the same problem where the tracking logs of iterations were not aggregated. This issue occurred in version 1.0.0

Image
@qkzsky commented on GitHub (Mar 3, 2025): I also encountered the same problem where the tracking logs of iterations were not aggregated. This issue occurred in version 1.0.0 <img width="575" alt="Image" src="https://github.com/user-attachments/assets/31f5e292-551d-47f0-9ede-405a8a928092" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8864