dify/api/tests/unit_tests
-LAN- a23c8fcb1a
refactor: move execution limits from engine core to layer
Remove max_execution_time and max_execution_steps from ExecutionContext and GraphEngine since these limits are now handled by ExecutionLimitsLayer. This follows the separation of concerns principle by keeping execution limits as a cross-cutting concern handled by layers rather than embedded in core engine components.

Changes:
- Remove max_execution_time and max_execution_steps from ExecutionContext
- Remove these parameters from GraphEngine.__init__()
- Remove max_execution_time from Dispatcher
- Update workflow_entry.py to no longer pass these parameters
- Update all tests to remove these parameters
2025-09-10 01:32:45 +08:00
..
configs Typing test (#24651) 2025-08-28 09:36:39 +08:00
controllers Revert "feat: email register refactor" (#25367) 2025-09-08 19:20:09 +08:00
core refactor: move execution limits from engine core to layer 2025-09-10 01:32:45 +08:00
extensions chore: bump supabase and pyjwt versions and added tests (#24681) 2025-08-28 13:45:56 +08:00
factories feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
libs Add lib test (#25410) 2025-09-09 17:11:49 +08:00
models [Chore/Refactor] Improve type annotations in models module (#25281) 2025-09-08 09:42:27 +08:00
oss chore: cleanup unnecessary mypy suppressions on imports (#24712) 2025-08-28 23:17:25 +08:00
repositories Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine 2025-09-03 01:33:17 +08:00
services Revert "feat: email register refactor" (#25367) 2025-09-08 19:20:09 +08:00
tasks Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
utils chore: cleanup unnecessary mypy suppressions on imports (#24712) 2025-08-28 23:17:25 +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