dify/api/core/workflow/runtime
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
..
__init__.py feat(graph_engine): Support pausing workflow graph executions (#26585) 2025-10-19 21:33:41 +08:00
graph_runtime_state.py Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
graph_runtime_state_protocol.py feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
read_only_wrappers.py feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
variable_pool.py fix(api): fix `VariablePool.get` adding unexpected keys to variable_dictionary (#26767) 2025-11-06 18:30:35 +08:00