dify/api/tests/unit_tests
Yansong Zhang e9ee897973 fix: resolve remaining CI failures for style checks and unit tests
- Add model_features property and build_execution_context method to
  AgentAppRunner to fix mypy attr-defined errors
- Export WorkflowComment, WorkflowCommentReply, WorkflowCommentMention
  from models/__init__.py to fix import errors
- Add NestedNodeGraphRequest, NestedNodeGraphResponse,
  NestedNodeParameterSchema to services/workflow/entities.py
- Update test_agent_chat_app_runner: tests for invalid LLM mode and
  invalid strategy now reflect unified AgentAppRunner behavior
  (no longer raises ValueError for these cases)

Made-with: Cursor
2026-04-13 16:07:38 +08:00
..
commands feat: add metrics to clean message and workflow-run task (#33143) 2026-03-17 13:55:28 +08:00
configs refactor: Unify NodeConfigDict.data and BaseNodeData (#32780) 2026-03-11 23:43:58 +08:00
controllers refactor(api): deduplicate TextToAudioPayload and MessageListQuery into controller_schemas.py (#34757) 2026-04-13 05:27:35 +00:00
core fix: resolve remaining CI failures for style checks and unit tests 2026-04-13 16:07:38 +08:00
enterprise/telemetry feat: enterprise otel exporter (#33138) 2026-03-27 07:56:31 +00:00
events feat: enterprise otel exporter (#33138) 2026-03-27 07:56:31 +00:00
extensions refactor(otel): replace Any with Tracer and [T] generics (#34883) 2026-04-10 07:37:14 +00:00
factories chore: normalize frozenset literals and myscale typing (#34327) 2026-03-31 08:21:22 +00:00
fields refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
libs feat(ci): add pyrefly type coverage reporting to CI (#34754) 2026-04-10 07:43:29 +00:00
models fix: resolve CI failures for Python style, DB migration, and unit tests 2026-04-13 15:07:16 +08:00
oss refactor(api): replace test fixture side-effect imports (#34421) 2026-04-02 04:55:15 +00:00
repositories test: migrate SQLAlchemyWorkflowNodeExecutionRepository tests to testcontainers (#34926) 2026-04-10 17:35:52 +00:00
services test: migrate BillingService permission-check tests to Testcontainers integration tests (#34993) 2026-04-13 03:44:14 +00:00
tasks refactor(tasks): migrate document_indexing_task and remove_app_and_related_data_task to SQLAlchemy 2.0 select() API (#34968) 2026-04-12 01:49:56 +00:00
tools chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
utils fix: fix remove_leading_symbols remove [ (#34832) 2026-04-09 08:22:09 +00:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
.gitignore Enhance Code Consistency Across Repository with .editorconfig (#19023) 2025-04-29 18:04:33 +08:00
conftest.py refactor: select in service API wraps, file_preview, and site controllers (#34086) 2026-03-25 23:01:05 +09:00