mirror of https://github.com/langgenius/dify.git
Major fixes to workflow checklist validation: ## Fixed getValidTreeNodes function (workflow.ts) - Restore original function signature: (nodes, edges) instead of (startNode, nodes, edges) - Re-implement automatic start node discovery for all entry types - Unified traversal from Start, TriggerWebhook, TriggerSchedule, TriggerPlugin nodes - Single call now discovers all valid connected nodes correctly ## Simplified useChecklist validation (use-checklist.ts) - Remove complex manual start node iteration and result aggregation - Unified entry node validation concept for all start node types - Remove dependency on getStartNodes() utility - Simplified validation logic matching backup branch approach ## Resolved Issues - ✅ End node connectivity: Now correctly detects connections from any entry node - ✅ Unified entry validation: All start types (Start/Triggers) validated consistently - ✅ Simplified architecture: Restored proven validation approach from backup branch This restores the reliable workflow validation system while maintaining trigger node support. |
||
|---|---|---|
| .. | ||
| (commonLayout) | ||
| (shareLayout) | ||
| account | ||
| activate | ||
| components | ||
| dev-preview | ||
| education-apply | ||
| forgot-password | ||
| init | ||
| install | ||
| oauth-callback | ||
| repos/[owner]/[repo]/releases | ||
| reset-password | ||
| signin | ||
| signup | ||
| styles | ||
| layout.tsx | ||
| page.module.css | ||
| page.tsx | ||
| routePrefixHandle.tsx | ||