dify/api/tests/unit_tests
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
..
configs feat: update HTTP timeout configurations and enhance timeout input handling in UI (#26685) 2025-10-10 09:00:06 +08:00
controllers refactor: replace localStorage with HTTP-only cookies for auth tokens (#24365) 2025-10-19 21:29:04 +08:00
core feat(api): enhance workflow validation and structure checks 2025-11-11 14:52:13 +08:00
extensions fix CI 2025-10-30 20:25:35 +08:00
factories feat: implement strict type validation for remote file uploads (#27010) 2025-10-18 11:44:11 +08:00
libs Merge remote-tracking branch 'origin/main' into feat/trigger 2025-11-11 12:42:01 +08:00
models Merge branch 'main' into feat/trigger 2025-10-30 14:43:27 +08:00
oss rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
repositories feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
services feat(api): enhance workflow validation and structure checks 2025-11-11 14:52:13 +08:00
tasks feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
tools fix(api): ensure JSON responses are properly serialized in ApiTool (#27097) 2025-10-19 18:56:02 +08:00
utils rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
.gitignore Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 2025-04-29 18:04:33 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
conftest.py fix: resolve Redis mock import error in test configuration (#22663) 2025-07-20 11:06:38 +08:00