dify/api/tests/unit_tests/services
zyssyz123 44725dde74
feat(agent): Sandbox / CLI Agent (dify.shell) + read-only sandbox file inspector (#36984)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-03 22:37:31 +00:00
..
agent feat(api): Agent App type S1 — AppMode.AGENT + create flow + binding (#36829) 2026-06-02 03:50:10 +00:00
auth refactor: replace bare dict with dict[str, Any] in services unit test helpers (#35182) 2026-04-14 18:37:59 +00:00
data_migration feat: add cross-environment app migration workflow (#36765) 2026-05-28 07:30:33 +00:00
enterprise feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
openapi feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
plugin feat(plugin): cache plugin model providers by tenant (#36449) 2026-05-23 09:12:09 +00:00
rag_pipeline fix(api): centralize remote file retrieval (#36399) 2026-06-01 09:25:08 +00:00
recommend_app fix: get recommend_app categories should not re-order it (#36161) 2026-05-14 06:36:28 +00:00
retention test: add tests for api/services retention, enterprise, plugin (#32648) 2026-03-31 03:16:42 +00:00
tools fix(tools): scope builtin tool default-credential clear to tenant (#35887) 2026-05-08 05:08:23 +00:00
workflow feat(api): Node Output Inspector service + 3 REST endpoints (Stage 4 §8) (#36644) 2026-05-26 07:34:33 +00:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
controller_api.py chore: add Type to test (#36454) 2026-05-21 19:25:03 +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: replace bare dict with dict[str, Any] in services unit test helpers (#35182) 2026-04-14 18:37:59 +00:00
test_account_service.py fix(api): enforce workspace membership + role checks in auth pipeline (#36931) 2026-06-03 07:31:47 +00:00
test_agent_app_feature_service.py feat(api): Agent App type S1 — AppMode.AGENT + create flow + binding (#36829) 2026-06-02 03:50:10 +00:00
test_agent_app_workspace_service.py feat(agent): Sandbox / CLI Agent (dify.shell) + read-only sandbox file inspector (#36984) 2026-06-03 22:37:31 +00:00
test_annotation_service.py refactor: port MessageAnnotation (#31005) 2026-04-26 11:47:42 +00:00
test_app_generate_service_streaming_integration.py chore: add Type to test (#35942) 2026-05-09 03:16:22 +00:00
test_app_generate_service.py chore: add Type to test (#35942) 2026-05-09 03:16:22 +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 feat(api): Agent App type S1 — AppMode.AGENT + create flow + binding (#36829) 2026-06-02 03:50:10 +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 test(api): manage backend pytest services natively (#36235) 2026-05-19 07:52:15 +00:00
test_async_workflow_service.py refactor: quota v3 integration (#35436) 2026-04-27 01:49:40 +00:00
test_audio_service.py chore: api para type (#35985) 2026-05-10 06:04:42 +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 chore: backend feature api exclude_vector_space (#36642) 2026-05-26 08:50:54 +00:00
test_clear_free_plan_expired_workflow_run_logs.py feat: add metrics to clean message and workflow-run task (#33143) 2026-03-17 13:55:28 +08:00
test_clear_free_plan_tenant_expired_logs.py fix: fix delete logs failed (#36151) 2026-05-14 08:02:31 +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 feat: per-credential visibility control for plugin credentials (#35468) 2026-06-01 05:56:18 +00:00
test_credit_pool_service.py fix: use Generator type annotation with @contextmanager decorators (#36297) 2026-05-18 07:12:49 +00:00
test_dataset_service_dataset.py test: migrate dataset service dataset mock tests to testcontainers (#35194) 2026-04-14 19:52:31 +00:00
test_dataset_service_document.py fix(api): preserve hierarchical estimate rules (#36852) 2026-06-01 03:16:09 +00:00
test_dataset_service_lock_not_owned.py chore: backend feature api exclude_vector_space (#36642) 2026-05-26 08:50:54 +00:00
test_dataset_service_segment.py chore: DocumentSegment to Typebase (#35635) 2026-05-12 07:02:17 +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: backend feature api exclude_vector_space (#36642) 2026-05-26 08:50:54 +00:00
test_duplicate_document_indexing_task_proxy.py chore: backend feature api exclude_vector_space (#36642) 2026-05-26 08:50:54 +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 bare dict with dict[str, Any] in services unit test helpers (#35182) 2026-04-14 18:37:59 +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_human_input_email_delivery.py chore: seprate vector space quota query (#36514) 2026-05-22 09:26:17 +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_service.py chore: add Type to test (#36454) 2026-05-21 19:25:03 +00:00
test_hit_testing_service_dump_records.py fix: knowledge hit-testing render failed. (#36106) 2026-05-13 07:31:38 +00:00
test_human_input_service.py chore(api): upgrade graphon to 0.4.0 (#36124) 2026-05-18 00:34:17 +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 fix: suggested questions API crash on legacy conversation override configs (#36459) 2026-05-21 01:58:52 +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: port reqparse to BaseModel (#28993) 2025-12-08 15:31:19 +09:00
test_metadata_nullable_bug.py refactor: port reqparse to BaseModel (#28993) 2025-12-08 15:31:19 +09:00
test_model_load_balancing_service.py chore: add Type to test (#35942) 2026-05-09 03:16:22 +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: add Type to test (#35942) 2026-05-09 03:16:22 +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 refactor: replace bare dict with dict[str, Any] in services unit test helpers (#35182) 2026-04-14 18:37:59 +00:00
test_rag_pipeline_task_proxy.py chore: backend feature api exclude_vector_space (#36642) 2026-05-26 08:50:54 +00:00
test_recommended_app_service.py test(api): manage backend pytest services natively (#36235) 2026-05-19 07:52:15 +00:00
test_schedule_service.py test: migrate schedule service mock tests to testcontainers (#35196) 2026-04-14 20:34:53 +00:00
test_summary_index_service.py refactor(services): migrate summary_index_service to SQLAlchemy 2.0 select() API (#34971) 2026-04-12 01:37:16 +00:00
test_trigger_provider_service.py chore: add Type to test (#35942) 2026-05-09 03:16:22 +00:00
test_variable_truncator_additional.py chore: reorg imports (#35308) 2026-04-16 08:50:02 +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 refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
test_webhook_service_additional.py chore: fix use select style api in orm (#35531) 2026-04-24 08:35:20 +00:00
test_webhook_service.py chore: api para type (#35985) 2026-05-10 06:04:42 +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 feat: collaboration (#30781) 2026-04-16 02:21:04 +00:00
test_workflow_comment_service.py feat: collaboration (#30781) 2026-04-16 02:21:04 +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: reuse injected SQLAlchemy sessions in app read paths (#36798) 2026-05-30 00:23:58 +00:00