dify/api/tests/unit_tests/services/workflow
Harry aad31bb703 feat(api): enhance workflow validation and structure checks
- Added a new validation class to ensure that trigger nodes do not coexist with UserInput (start) nodes in the workflow graph.
- Implemented a method in WorkflowService to validate the graph structure before persisting workflows, leveraging the new validation logic.
- Updated unit tests to cover the new validation scenarios and ensure proper error propagation.
2025-11-11 14:52:13 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
test_draft_var_loader_simple.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
test_workflow_converter.py remove .value (#26633) 2025-10-11 09:08:29 +08:00
test_workflow_deletion.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
test_workflow_draft_variable_service.py Refactor account models to use SQLAlchemy 2.0 dataclass mapping (#26415) 2025-10-10 17:12:12 +09:00
test_workflow_node_execution_service_repository.py feat(api/repo): Allow to config repository implementation (#21458) 2025-07-14 14:54:38 +08:00
test_workflow_service.py feat(api): enhance workflow validation and structure checks 2025-11-11 14:52:13 +08:00