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
..
2025-06-19 17:53:49 +08:00
2025-06-19 10:05:33 +08:00
2025-09-18 12:49:10 +08:00
2025-06-24 09:10:30 +08:00
2025-04-10 10:03:19 +08:00
2025-09-18 12:49:10 +08:00
2025-09-18 12:49:10 +08:00
2025-09-09 14:58:42 +08:00
2025-09-04 15:21:43 +08:00
2025-09-25 17:14:24 +08:00
2025-04-14 15:28:20 +08:00
2025-08-18 09:23:16 +08:00
2025-05-15 22:39:35 +08:00
2025-07-21 09:28:47 +08:00
2025-09-26 20:54:28 +08:00