dify/api/services/workflow
Harry 5a15419baf feat(trigger): implement debug session capabilities for trigger nodes
- Added `DraftWorkflowTriggerNodeApi` to handle debugging of trigger nodes, allowing for real-time event listening and session management.
- Introduced `TriggerDebugService` for managing debug sessions and event dispatching using Redis Pub/Sub.
- Updated `TriggerService` to support dispatching events to debug sessions and refactored related methods for improved clarity and functionality.
- Enhanced data structures in `request.py` and `entities.py` to accommodate new debug event data requirements.

These changes significantly improve the debugging capabilities for trigger nodes in draft workflows, facilitating better development and troubleshooting processes.
2025-09-09 21:27:31 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
entities.py feat(trigger): implement debug session capabilities for trigger nodes 2025-09-09 21:27:31 +08:00
queue_dispatcher.py feat(trigger): add trigger provider management and webhook handling functionality 2025-09-03 14:53:26 +08:00
rate_limiter.py feat(trigger): add trigger provider management and webhook handling functionality 2025-09-03 14:53:26 +08:00
workflow_converter.py [CHORE]: x: T = None to x: Optional[T] = None (#24217) 2025-08-21 21:58:39 +08:00