dify/api/tasks
QuantumGhost 91667e3c1d
feat(api): Implement EventManager error logging and add coverage (#29204)
- Ensure `EventManager._notify_layers` logs exceptions instead of silently swallowing them 
  so GraphEngine layer failures surface for debugging
- Introduce unit tests to assert the logger captures the runtime error when collecting events
- Enable the `S110` lint rule to catch `try-except-pass` patterns
- Add proper error logging for existing `try-except-pass` blocks.
2025-12-08 09:40:40 +08:00
..
annotation update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
rag_pipeline refactor: implement tenant self queue for rag tasks (#27559) 2025-11-06 21:25:50 +08:00
workflow_cfs_scheduler feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
__init__.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
add_document_to_index_task.py fix document enable (#28081) 2025-11-11 17:50:45 +08:00
async_workflow_tasks.py refactor: remove TimeSliceLayer before the release of HITL (#28441) 2025-11-20 18:20:20 +08:00
batch_clean_document_task.py fix: dataset metadata counts when documents are deleted (#28305) 2025-11-18 17:36:07 +08:00
batch_create_segment_to_index_task.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
clean_dataset_task.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
clean_document_task.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
clean_notion_document_task.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
create_segment_to_index_task.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
deal_dataset_index_update_task.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
deal_dataset_vector_index_task.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
delete_account_task.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
delete_conversation_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
delete_segment_from_index_task.py fix segment deletion race condition (#24408) 2025-09-12 15:29:57 +08:00
disable_segment_from_index_task.py Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
disable_segments_from_index_task.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
document_indexing_sync_task.py one example of Session (#24135) 2025-09-24 03:32:48 +08:00
document_indexing_task.py refactor: implement tenant self queue for rag tasks (#27559) 2025-11-06 21:25:50 +08:00
document_indexing_update_task.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
duplicate_document_indexing_task.py refactor: replace hardcoded user plan strings with CloudPlan enum (#27675) 2025-11-03 11:51:09 +08:00
enable_segment_to_index_task.py Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
enable_segments_to_index_task.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
mail_account_deletion_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_change_mail_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_email_code_login.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_inner_task.py fix: remote code execution in email endpoints (#25753) 2025-09-18 16:45:34 +08:00
mail_invite_member_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_owner_transfer_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_register_task.py Feat/email register refactor (#25369) 2025-09-12 10:24:54 +08:00
mail_reset_password_task.py Feat/email register refactor (#25369) 2025-09-12 10:24:54 +08:00
ops_trace_task.py use model_validate (#26182) 2025-10-10 17:30:13 +09:00
process_tenant_plugin_autoupgrade_check_task.py feat(api): Implement EventManager error logging and add coverage (#29204) 2025-12-08 09:40:40 +08:00
recover_document_indexing_task.py Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
remove_app_and_related_data_task.py feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
remove_document_from_index_task.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
retry_document_indexing_task.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
sync_website_document_indexing_task.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
trigger_processing_tasks.py more typed orm (#28577) 2025-11-24 21:01:46 +08:00
trigger_subscription_refresh_tasks.py feat: trigger billing (#28335) 2025-11-20 10:15:23 +08:00
workflow_draft_var_tasks.py fix: drop useless logger code (#26650) 2025-10-09 09:24:10 +08:00
workflow_execution_tasks.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
workflow_node_execution_tasks.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
workflow_schedule_tasks.py feat: trigger billing (#28335) 2025-11-20 10:15:23 +08:00