Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

test(api): stop excluding six service test modules from strict pyrefly (#45100)

Felix Shi693945c96a55
diff --git a/api/tests/unit_tests/pyrefly.toml b/api/tests/unit_tests/pyrefly.toml
index cf241456de9..1eb62fbf229 100644
--- a/api/tests/unit_tests/pyrefly.toml
+++ b/api/tests/unit_tests/pyrefly.toml
@@ -382,7 +382,6 @@ project-excludes = [
"models/test_workflow.py",
"repositories/test_sqlalchemy_api_workflow_run_repository.py",
"services/agent/test_dsl_service.py",
- "services/agent/test_observability_service.py",
"services/agent/test_roster_service.py",
"services/agent/test_prompt_mentions.py",
"services/agent/test_skill_package_service.py",
@@ -397,7 +396,6 @@ project-excludes = [
"../helpers/unit/services/hit_service.py",
"services/plugin/test_plugin_parameter_service.py",
"services/rag_pipeline/test_pipeline_generate_service.py",
- "services/rag_pipeline/test_rag_pipeline_dsl_service.py",
"services/rag_pipeline/test_rag_pipeline.py",
"services/rag_pipeline/test_rag_pipeline_task_proxy.py",
"services/rag_pipeline/test_rag_pipeline_transform_service.py",
@@ -408,7 +406,6 @@ project-excludes = [
"services/retention/workflow_run/test_clear_free_plan_expired_workflow_run_logs.py",
"services/retention/workflow_run/test_restore_archived_workflow_run.py",
"services/test_agent_config_service.py",
- "services/test_annotation_service.py",
"services/test_api_token_service.py",
"services/test_app_generate_service.py",
"services/test_app_service.py",
@@ -423,7 +420,6 @@ project-excludes = [
"services/knowledge/external/test_service.py",
"services/test_file_service.py",
"services/test_human_input_delivery_test_service.py",
- "services/test_human_input_file_upload_service.py",
"services/test_knowledge_retrieval_inner_service.py",
"services/retention/conversation/test_messages_clean_service.py",
"services/knowledge/metadata/test_application.py",
@@ -441,14 +437,12 @@ project-excludes = [
"services/test_workflow_node_execution_trace_service.py",
"services/test_workflow_run_service.py",
"services/test_workflow_service.py",
- "services/tools/test_builtin_tools_manage_service.py",
"services/tools/test_tools_transform_service.py",
"services/tools/test_tools_manage_service.py",
"services/test_workflow_draft_variable_service.py",
"services/workflow/test_node_output_inspector_service.py",
"services/workflow/test_workflow_converter.py",
"services/test_workflow_event_snapshot_service.py",
- "services/workflow/test_workflow_event_snapshot_service_additional.py",
"services/test_workflow_restore.py",
"tasks/test_clean_dataset_task.py",
"tasks/test_clean_document_task.py",