dify/web/app/components/workflow/utils
lyzno1 2dca0c20db fix: restore unified workflow validation system
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.
2025-09-26 20:54:28 +08:00
..
common.ts fix(workflow_run): sequence_number race. (#21228) 2025-06-19 17:53:49 +08:00
dagre-layout.ts feat: improve the orgnize node operation (#21183) 2025-06-19 10:05:33 +08:00
data-source.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
debug.ts feat: last run frontend (#21369) 2025-06-24 09:10:30 +08:00
edge.ts Chore/slice workflow utils (#17730) 2025-04-10 10:03:19 +08:00
gen-node-meta-data.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
index.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
node-navigation.ts feat: adjust scroll to selected node position to top-left area (#25403) 2025-09-09 14:58:42 +08:00
node.ts feat(workflow): Allow paste node into nested block (#24234) 2025-09-04 15:21:43 +08:00
tool.ts Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
variable.ts chore: eslint add sonar (#17989) 2025-04-14 15:28:20 +08:00
workflow-entry.ts feat: comprehensive trigger node system with Schedule Trigger implementation (#24039) 2025-08-18 09:23:16 +08:00
workflow-init.spec.ts revert: https://github.com/langgenius/dify/pull/18554 (#19787) 2025-05-15 22:39:35 +08:00
workflow-init.ts fix: avoid using node_data.version for judgement tool node version (#22462) 2025-07-21 09:28:47 +08:00
workflow.ts fix: restore unified workflow validation system 2025-09-26 20:54:28 +08:00