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. |
||
|---|---|---|
| .. | ||
| use-workflow-run-event | ||
| index.ts | ||
| use-DSL.ts | ||
| use-available-blocks.ts | ||
| use-checklist.ts | ||
| use-config-vision.ts | ||
| use-dynamic-test-run-options.tsx | ||
| use-edges-interactions-without-sync.ts | ||
| use-edges-interactions.ts | ||
| use-fetch-workflow-inspect-vars.ts | ||
| use-format-time-from-now.ts | ||
| use-helpline.ts | ||
| use-inspect-vars-crud-common.ts | ||
| use-inspect-vars-crud.ts | ||
| use-node-data-update.ts | ||
| use-nodes-available-var-list.ts | ||
| use-nodes-interactions-without-sync.ts | ||
| use-nodes-interactions.ts | ||
| use-nodes-layout.ts | ||
| use-nodes-meta-data.ts | ||
| use-nodes-sync-draft.ts | ||
| use-panel-interactions.ts | ||
| use-selection-interactions.ts | ||
| use-set-workflow-vars-with-value.ts | ||
| use-shortcuts.ts | ||
| use-tool-icon.ts | ||
| use-workflow-history.ts | ||
| use-workflow-interactions.ts | ||
| use-workflow-mode.ts | ||
| use-workflow-refresh-draft.ts | ||
| use-workflow-run.ts | ||
| use-workflow-search.tsx | ||
| use-workflow-start-run.tsx | ||
| use-workflow-variables.ts | ||
| use-workflow.ts | ||