dify/api/tests/unit_tests/services
Blackoutta 7dc3126ff4
fix: preserve and display workflow retry details (#38854)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-15 05:58:37 +00:00
..
agent feat(agent): support new Agent DSL import and export (#38849) 2026-07-15 02:02:14 +00:00
auth test: move API key authentication coverage to unit tests (#38919) 2026-07-15 03:52:20 +00:00
data_migration chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
enterprise test: move account deletion sync coverage to unit tests (#38917) 2026-07-15 03:47:55 +00:00
openapi feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
plugin test: move plugin service coverage to unit tests (#38935) 2026-07-15 02:32:23 +00:00
rag_pipeline fix: preserve and display workflow retry details (#38854) 2026-07-15 05:58:37 +00:00
recommend_app test: move recommendation database retrieval coverage to unit tests (#38921) 2026-07-15 03:44:36 +00:00
retention feat: archive logs export (#38207) 2026-07-14 08:25:37 +00:00
tools fix: SSRF bypass via raw httpx.get in API tool schema fetch (#37746) 2026-07-14 08:43:57 +00:00
workflow chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
controller_api.py refactor(api): migrate workspace tool endpoints to BaseModel (#37959) 2026-07-08 09:56:04 +00:00
dataset_service_test_helpers.py refactor: port ChildChunk (#30920) 2026-04-26 00:59:22 +00:00
document_service_validation.py chore: reorg imports (#35308) 2026-04-16 08:50:02 +00:00
hit_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_account_service.py test: move email registration coverage to unit tests (#38928) 2026-07-15 04:05:59 +00:00
test_agent_app_feature_service.py chore: move one db.session (#37656) 2026-06-19 19:52:59 +00:00
test_agent_app_sandbox_service.py chore(agent-v2): sync changes (#38513) 2026-07-08 12:05:04 +00:00
test_agent_config_service.py chore(agent-v2): sync daily changes (#38298) 2026-07-05 08:09:38 +00:00
test_agent_drive_service.py test: use sqlite3 session in test_agent_drive_service (#38709) 2026-07-14 04:06:43 +00:00
test_agent_file_request_service.py feat(agent): Agent Files / agent Cloud storage — api backend (ENG-589) (#37172) 2026-06-09 04:01:05 +00:00
test_agent_tool_inner_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_annotation_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_app_dsl_service.py test: use sqlite3 session in test_app_dsl_service (#38715) 2026-07-14 03:51:04 +00:00
test_app_generate_service_streaming_integration.py refactor: improve stream close 2 (#37106) 2026-06-23 03:32:33 +00:00
test_app_generate_service.py chore(agent-v2): sync changes (#38513) 2026-07-08 12:05:04 +00:00
test_app_model_config_service.py test: add tests for some files in services module (#32583) 2026-03-11 14:21:56 +08:00
test_app_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_app_task_service.py feat(api): Agent App type S1 — AppMode.AGENT + create flow + binding (#36829) 2026-06-02 03:50:10 +00:00
test_archive_workflow_run_logs.py feat(retention): add V2 workflow run archive bundlesa (#37747) 2026-06-23 15:20:25 +08:00
test_async_workflow_service.py fix(trigger): return 429 instead of 500 when API quota is exceeded (#38664) 2026-07-10 10:57:50 +00:00
test_audio_service.py test: use sqlite3 session in test_audio_service (#38768) 2026-07-15 03:01:34 +00:00
test_batch_indexing_base.py chore: backend feature api exclude_vector_space (#36642) 2026-05-26 08:50:54 +00:00
test_billing_service.py test: use sqlite3 session in test_billing_service (#38779) 2026-07-13 07:23:48 +00:00
test_clear_free_plan_expired_workflow_run_logs.py refactor: optimize free plan workflow run cleanup batching (#37227) 2026-06-17 03:19:26 +00:00
test_clear_free_plan_tenant_expired_logs.py refactor: pass db session into service calls (#37403) (#38016) 2026-06-26 07:53:27 +00:00
test_code_based_extension_service.py test: add tests for some files in services module (#32583) 2026-03-11 14:21:56 +08:00
test_conversation_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_credential_permission_service.py test: use sqlite3 session in test_credential_permission_service (#38711) 2026-07-14 03:58:34 +00:00
test_credit_pool_service.py chore: Replace @patch logger.warning with caplog fixture in credit_pool_service test (#38626) 2026-07-10 03:08:17 +00:00
test_dataset_service_dataset.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_dataset_service_document.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_dataset_service_lock_not_owned.py test: use sqlite3 session in test_dataset_service_lock_not_owned (#38755) 2026-07-14 06:40:31 +00:00
test_dataset_service_segment.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_datasource_provider_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_document_indexing_task_proxy.py chore(api): Fix several typing errors (#37248) 2026-06-12 14:02:09 +00:00
test_duplicate_document_indexing_task_proxy.py chore(api): Fix several typing errors (#37248) 2026-06-12 14:02:09 +00:00
test_export_app_messages.py feat: add export app messages (#32990) 2026-03-07 11:27:15 +08:00
test_external_dataset_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_feature_service_app_dsl_version.py chore: split to single app_dsl_version API (#36864) 2026-05-31 12:13:44 +00:00
test_feature_service_enable_app_deploy.py feat: app deploy (#35670) 2026-06-17 09:28:43 +00:00
test_feature_service_human_input_email_delivery.py chore: seprate vector space quota query (#36514) 2026-05-22 09:26:17 +00:00
test_feature_service_learn_app.py fix: add is_cloud_only for templates (#37846) 2026-06-24 08:29:54 +00:00
test_feature_service_licensed_seats.py feat(enterprise): enforce licensed seats cap at account creation (#38883) 2026-07-14 06:51:19 +00:00
test_feature_service_trial_models.py chore: split trial models to a single API (#36796) 2026-05-31 13:09:13 +00:00
test_feature_service_vector_space.py chore: backend feature api exclude_vector_space (#36642) 2026-05-26 08:50:54 +00:00
test_feedback_service.py test: move feedback service coverage to unit tests (#38927) 2026-07-15 05:42:12 +00:00
test_file_request_service.py feat: daily sync (#38593) 2026-07-09 10:35:15 +00:00
test_file_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_hit_testing_service.py test: move hit testing service coverage to unit tests (#38925) 2026-07-15 03:37:16 +00:00
test_human_input_file_upload_service.py chore(api): upgrade graphon to v0.6.0, migrate HITL logic back to Dify (#38247) 2026-07-03 03:45:21 +00:00
test_human_input_service.py chore(api): upgrade graphon to v0.6.0, migrate HITL logic back to Dify (#38247) 2026-07-03 03:45:21 +00:00
test_knowledge_retrieval_inner_service.py feat(agent-v2): sync nightly updates to main (2026-06-25) (#37915) 2026-06-26 13:13:35 +00:00
test_knowledge_service.py refactor: replace dict with BedrockRetrievalSetting BaseModel in knowledge_service (#34080) 2026-03-25 21:33:24 +09:00
test_message_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_messages_clean_service.py test(api): manage backend pytest services natively (#36235) 2026-05-19 07:52:15 +00:00
test_metadata_bug_complete.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_metadata_nullable_bug.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_model_load_balancing_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_model_provider_service_sanitization.py chore: reorg imports (#35308) 2026-04-16 08:50:02 +00:00
test_model_provider_service.py chore: port isinstance to match case (#37271) 2026-06-18 00:18:03 +00:00
test_oauth_device_flow.py test: use sqlite3 session in test_oauth_device_flow (#38782) 2026-07-13 07:48:15 +00:00
test_operation_service.py fix: bound OperationService billing requests (#37425) 2026-06-22 06:45:03 +00:00
test_rag_pipeline_task_proxy.py chore: add Type to test (#37191) 2026-06-19 16:44:20 +00:00
test_recommended_app_service.py test: move recommended app service coverage to unit tests (#38940) 2026-07-14 13:55:06 +00:00
test_schedule_service.py test: use sqlite3 session in test_schedule_service (#38707) 2026-07-14 03:43:19 +00:00
test_snippet_dsl_service.py feat(agent): support new Agent DSL import and export (#38849) 2026-07-15 02:02:14 +00:00
test_snippet_generate_service.py feat: snippet (#37046) 2026-06-05 09:38:42 +00:00
test_snippet_service.py fix: preserve and display workflow retry details (#38854) 2026-07-15 05:58:37 +00:00
test_summary_index_service.py chore: batch example #38419 (#38474) 2026-07-09 09:14:52 +00:00
test_trigger_provider_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_variable_truncator_additional.py chore(api): convert BaseTruncator from ABC to Protocol (#37199) 2026-06-09 02:55:36 +00:00
test_variable_truncator.py chore(api): adapt Graphon 0.2.2 upgrade (#35377) 2026-04-18 11:16:24 +00:00
test_vector_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_webhook_service_additional.py refactor(tests): replace mock_logger with caplog in 5 service tests (#37468) (#37715) 2026-06-22 05:53:51 +00:00
test_webhook_service.py fix(trigger): return 429 instead of 500 when API quota is exceeded (#38664) 2026-07-10 10:57:50 +00:00
test_website_service.py refactor: replace bare dict with dict[str, Any] in services unit test helpers (#35182) 2026-04-14 18:37:59 +00:00
test_workflow_collaboration_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_workflow_comment_service.py feat: collaboration (#30781) 2026-04-16 02:21:04 +00:00
test_workflow_generator_service.py feat(workflow-generator): enhance the AI auto-creation flow end-to-end (#38175) 2026-07-01 02:28:58 +00:00
test_workflow_node_execution_trace_service.py fix: preserve and display workflow retry details (#38854) 2026-07-15 05:58:37 +00:00
test_workflow_run_service_pause.py chore: reorg imports (#35308) 2026-04-16 08:50:02 +00:00
test_workflow_run_service.py fix: preserve and display workflow retry details (#38854) 2026-07-15 05:58:37 +00:00
test_workflow_service.py test: use sqlite3 session (#38641) 2026-07-10 06:11:24 +00:00