dify/api/core/workflow/graph_engine
-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
..
command_channels chore: improve typing 2025-08-30 16:35:57 +08:00
command_processing refactor(graph_engine): Correct private attributes and private methods naming 2025-09-01 04:37:23 +08:00
domain refactor: move execution limits from engine core to layer 2025-09-10 01:32:45 +08:00
entities clean typos words. (#24667) 2025-08-28 15:23:59 +08:00
error_handling refactor(graph_engine): Correct private attributes and private methods naming 2025-09-01 04:37:23 +08:00
event_management refactor(graph_engine): rename Layer to GraphEngineLayer 2025-09-04 02:11:31 +08:00
graph_traversal refactor(graph_engine): Merge branch_handler into edge_processor 2025-09-01 12:53:06 +08:00
layers fix(debug_logging_layer): remove access for variable pool 2025-09-05 01:52:19 +08:00
orchestration refactor: move execution limits from engine core to layer 2025-09-10 01:32:45 +08:00
protocols chore(graph_engine): Move error_strategy.py to protocols/ 2025-08-28 04:29:32 +08:00
response_coordinator refactor(graph_engine): Correct private attributes and private methods naming 2025-09-01 04:37:23 +08:00
state_management refactor(graph_engine): Correct private attributes and private methods naming 2025-09-01 04:37:23 +08:00
worker_management fix(graph_engine): add type hint for workers_to_remove 2025-09-05 01:59:11 +08:00
__init__.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
graph_engine.py refactor: move execution limits from engine core to layer 2025-09-10 01:32:45 +08:00
manager.py chore(graph_engine): add final mark to classes 2025-08-28 15:38:35 +08:00
worker.py perf: eliminate lock contention in worker pool by removing callbacks 2025-09-04 19:37:31 +08:00