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. |
||
|---|---|---|
| .. | ||
| app | ||
| app-sidebar | ||
| apps | ||
| base | ||
| billing | ||
| custom | ||
| datasets | ||
| develop | ||
| explore | ||
| goto-anything | ||
| header | ||
| plugins | ||
| rag-pipeline | ||
| share | ||
| signin | ||
| tools | ||
| workflow | ||
| workflow-app | ||
| browser-initializer.tsx | ||
| i18n-server.tsx | ||
| i18n.tsx | ||
| sentry-initializer.tsx | ||
| swr-initializer.tsx | ||
| with-i18n.tsx | ||