dify/api/core/workflow/graph_engine
QuantumGhost 1c1f124891
Enhanced GraphEngine Pause Handling (#28196)
This commit: 

1. Convert `pause_reason` to `pause_reasons` in `GraphExecution` and relevant classes. Change the field from a scalar value to a list that can contain multiple `PauseReason` objects, ensuring all pause events are properly captured.
2. Introduce a new `WorkflowPauseReason` model to record reasons associated with a specific `WorkflowPause`.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-26 19:59:34 +08:00
..
command_channels feat(graph_engine): Support pausing workflow graph executions (#26585) 2025-10-19 21:33:41 +08:00
command_processing feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
domain Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
entities feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
event_management Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
graph_traversal feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
layers feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
orchestration refactor: consume events after pause/abort and improve API clarity (#28328) 2025-11-18 19:04:11 +08:00
protocols feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
ready_queue feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
response_coordinator feat(graph_engine): Support pausing workflow graph executions (#26585) 2025-10-19 21:33:41 +08:00
worker_management feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
__init__.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
error_handler.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
graph_engine.py Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
graph_state_manager.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
manager.py feat(graph_engine): Support pausing workflow graph executions (#26585) 2025-10-19 21:33:41 +08:00
worker.py When graph_engine worker run exception, keep the node_id for deep res… (#26205) 2025-11-12 15:03:45 +08:00