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
command_processing
domain Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
entities
event_management Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
graph_traversal
layers
orchestration refactor: consume events after pause/abort and improve API clarity (#28328) 2025-11-18 19:04:11 +08:00
protocols
ready_queue
response_coordinator
worker_management
__init__.py
error_handler.py
graph_engine.py Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
graph_state_manager.py
manager.py
worker.py When graph_engine worker run exception, keep the node_id for deep res… (#26205) 2025-11-12 15:03:45 +08:00