dify/api/tests/unit_tests/services
2026-07-07 13:03:32 +00:00
..
agent chore(agent-v2): sync changes (#38442) 2026-07-06 13:51:33 +00:00
auth fix: add bounded timeout to Firecrawl credential validation (#37638) 2026-06-22 02:56:15 +00:00
data_migration refactor: make session boundaries explicit for migration flows (#38379) 2026-07-04 04:43:01 +00:00
enterprise refactor(web): migrate rbac access console contracts (#38256) 2026-07-01 14:45:34 +00:00
openapi feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
plugin fix: can't debug model plugins (#38500) 2026-07-07 13:03:32 +00:00
rag_pipeline refactor(api): clarify DSL import and plugin migration boundaries (#38483) 2026-07-07 02:06:49 +00:00
recommend_app fix(templates): make End output variable names unique in built-in templates (#38293) 2026-07-02 06:06:07 +00:00
retention chore: rm all mock_logger (#37786) 2026-06-24 07:10:02 +00:00
tools fix(tools): scope builtin tool default-credential clear to tenant (#35887) 2026-05-08 05:08:23 +00:00
workflow chore(api): upgrade graphon to v0.6.0, migrate HITL logic back to Dify (#38247) 2026-07-03 03:45:21 +00:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
controller_api.py refactor(api): migrate tenant/user via DI for several endpoints (#37026) 2026-06-04 05:52:59 +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 refactor: pass session into hit testing service (#37785) 2026-06-23 06:21:38 +00:00
test_account_service.py chore: add sqlite3 to conftest (#38475) 2026-07-07 05:04:44 +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 (#38442) 2026-07-06 13:51:33 +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 feat(agent-v2): sync nightly updates to main (2026-06-25) (#37915) 2026-06-26 13:13:35 +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 refactor: thread explicit sessions through app retrieval paths (#38309) 2026-07-02 17:00:47 +00:00
test_annotation_service.py refactor: replace db.paginate with plain SQLAlchemy pagination (#38280) 2026-07-04 04:50:01 +00:00
test_app_dsl_service.py refactor(api): clarify DSL import and plugin migration boundaries (#38483) 2026-07-07 02:06:49 +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 refactor: thread explicit sessions through app retrieval paths (#38309) 2026-07-02 17:00:47 +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 fix(agent): return conflict for duplicate agent names (#37686) 2026-06-20 12:25:08 +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 refactor: quota v3 integration (#35436) 2026-04-27 01:49:40 +00:00
test_audio_service.py fix(api): scope nested resource lookups by owner refs (#38177) 2026-06-30 08:19:58 +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 refactor: pass db session into service calls (#37403) (#38016) 2026-06-26 07:53:27 +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 test: migrate conversation service mock tests to testcontainers (#35198) 2026-04-16 07:55:21 +00:00
test_credential_permission_service.py refactor: pass db session into service calls (#37403) (#38016) 2026-06-26 07:53:27 +00:00
test_credit_pool_service.py fix: Add tenant-level Redis lock for credit pool deduction (#37753) 2026-06-22 09:26:47 +00:00
test_dataset_service_dataset.py refactor: replace db.paginate with plain SQLAlchemy pagination (#38280) 2026-07-04 04:50:01 +00:00
test_dataset_service_document.py fix(api): scope nested resource lookups by owner refs (#38177) 2026-06-30 08:19:58 +00:00
test_dataset_service_lock_not_owned.py chore: inject more db.session (#38045) 2026-06-30 06:55:54 +00:00
test_dataset_service_segment.py refactor: replace db.paginate with plain SQLAlchemy pagination (#38280) 2026-07-04 04:50:01 +00:00
test_datasource_provider_service.py fix(api): gracefully handle credential fetch failures in rag pipeline (#36165) 2026-05-14 08:27:19 +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 refactor: replace db.paginate with plain SQLAlchemy pagination (#38280) 2026-07-04 04:50:01 +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_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_file_request_service.py chore(agent-v2): sync daily changes (#38298) 2026-07-05 08:09:38 +00:00
test_file_service.py refactor: accept db.session explicitly in FileService.get_upload_files_by_ids (#37695) 2026-06-21 05:18:28 +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: add Type to test (#37191) 2026-06-19 16:44:20 +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 refactor: for db.session feedback service.export feedbacks (#37763) 2026-06-23 14:01:40 +00:00
test_metadata_nullable_bug.py refactor: for db.session feedback service.export feedbacks (#37763) 2026-06-23 14:01:40 +00:00
test_model_load_balancing_service.py chore(api): Upgrade graphon to v0.5.1 (#37168) 2026-06-11 07:37: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 feat(openapi): redesign auth pipeline with per-token-type routing (#36693) 2026-05-27 12:45:30 +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_schedule_service.py test: migrate schedule service mock tests to testcontainers (#35196) 2026-04-14 20:34:53 +00:00
test_snippet_dsl_service.py refactor(api): clarify DSL import and plugin migration boundaries (#38483) 2026-07-07 02:06:49 +00:00
test_snippet_generate_service.py feat: snippet (#37046) 2026-06-05 09:38:42 +00:00
test_snippet_service.py feat: refine snippet siderbar and support RBAC. (#38134) 2026-06-29 06:03:40 +00:00
test_summary_index_service.py chore: inject more db.session (#38045) 2026-06-30 06:55:54 +00:00
test_trigger_provider_service.py refactor(tests): replace mock_logger with caplog in 5 service tests (#37468) (#37715) 2026-06-22 05:53:51 +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 fix: multimodal segment attachment indexing (#38080) 2026-06-29 09:18:29 +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 chore: rm all mock_logger (#37786) 2026-06-24 07:10:02 +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 fix: support multi-worker workflow collaboration (#38242) 2026-07-02 08:16:03 +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_run_service_pause.py chore: reorg imports (#35308) 2026-04-16 08:50:02 +00:00
test_workflow_run_service.py test: split merged API test modules and remove F811 ignore (#35105) 2026-04-14 03:54:30 +00:00
test_workflow_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