dify/api/tests
Harry ef9a741781 feat(trigger): enhance trigger management with new error handling and response structure
- Added `TriggerInvokeError` and `TriggerIgnoreEventError` for better error categorization during trigger invocation.
- Updated `TriggerInvokeResponse` to include a `cancelled` field, indicating if a trigger was ignored.
- Enhanced `TriggerManager` to handle specific errors and return appropriate responses.
- Refactored `dispatch_triggered_workflows` to improve workflow execution logic and error handling.

These changes improve the robustness and clarity of the trigger management system.
2025-09-23 16:01:59 +08:00
..
artifact_tests/dependencies build: introduce uv as Python package manager (#16317) 2025-04-15 16:16:49 +08:00
integration_tests chore: (trigger) add WEBHOOK_REQUEST_BODY_MAX_SIZE (#25217) 2025-09-05 12:23:11 +08:00
test_containers_integration_tests refactor: remove triggered_by field from webhook triggers and use automatic sync 2025-09-10 17:17:19 +08:00
unit_tests feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00
__init__.py Initial commit 2023-05-15 08:51:32 +08:00