[PR #19484] refactor(workflow): revamp logging module for loop & iteration nodes #29158

Closed
opened 2026-02-21 20:44:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/19484

State: closed
Merged: Yes


Summary

  • Introduce a unified error aggregation and reporting mechanism for both loop and iteration nodes
  • Enhance the structured rendering of loop and iteration results for clearer insights
  • Add comprehensive support for displaying node logs in parallel execution mode
  • Refactor the NodePanel component to expose an allExecutions prop, enabling consolidated execution data
  • Update internationalization resources with new translations for loop and iteration node workflows

Tip

Close issue syntax: Fixes #<issue number> or Resolves #<issue number>, see documentation for more details.

Resolves #19483
log troubleshooting is finally as clean and intuitive as it was in v0.15.x

Screenshots

Before After
image image
image image
image image

Checklist

Important

Please review the checklist below before submitting your pull request.

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/19484 **State:** closed **Merged:** Yes --- # Summary - Introduce a unified error aggregation and reporting mechanism for both loop and iteration nodes - Enhance the structured rendering of loop and iteration results for clearer insights - Add comprehensive support for displaying node logs in parallel execution mode - Refactor the `NodePanel` component to expose an `allExecutions` prop, enabling consolidated execution data - Update internationalization resources with new translations for loop and iteration node workflows > [!Tip] > Close issue syntax: `Fixes #<issue number>` or `Resolves #<issue number>`, see [documentation](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) for more details. Resolves #19483 **log troubleshooting is finally as clean and intuitive as it was in v0.15.x** # Screenshots | Before | After | |--------|-------| | ![image](https://github.com/user-attachments/assets/34458d2a-ce5f-48b5-9cfd-d83d880b7300) | ![image](https://github.com/user-attachments/assets/0e215ef0-1a14-4d31-a46f-d950c6c826ec) | | ![image](https://github.com/user-attachments/assets/25dea54e-8371-48dc-9a2e-36a9243594fc) | ![image](https://github.com/user-attachments/assets/4a294838-11cd-415a-a596-6e8428af7e1a) | | ![image](https://github.com/user-attachments/assets/382f48d2-93e7-47fe-b4ce-0f623f60d03a) | ![image](https://github.com/user-attachments/assets/7f86757d-3ac9-4504-8797-31595ab8e877) | # Checklist > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:44:58 -05:00
yindo closed this issue 2026-02-21 20:44:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#29158