Yansong Zhang
971828615e
fix: resolve CI failures for Python style, DB migration, and unit tests
...
- Fix type errors in dify_graph/nodes/agent/agent_node.py:
- Add missing user_id param to get_agent_tool_runtime call
- Use create_plugin_provider_manager instead of bare ProviderManager()
- Pass provider_manager to ModelManager constructor
- Add access_controller param to file_factory.build_from_mapping
- Fix return type annotation for _fetch_memory
- Fix DB migration chain: update workflow_comments migration to point
to correct parent after sandbox migration removal
- Fix test_app_generate_service: set AGENT_V2_TRANSPARENT_UPGRADE=False
in mock config to prevent transparent upgrade intercepting test flow
- Fix test_app_generator: add scalar method to mock db.session
- Fix test_app_models: add AppMode.AGENT to expected modes set
- Remove unnecessary db.session.close() from agent_chat app_runner
Made-with: Cursor
2026-04-13 15:07:16 +08:00
sxxtony
d9f54f8bd7
refactor: migrate WorkflowPause and WorkflowPauseReason to TypeBase ( #34688 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 05:46:52 +00:00
NVIDIAN
a3170f744c
refactor: migrate app site from marshal_with/api.model to Pydantic BaseModel ( #34933 )
...
Co-authored-by: ai-hpc <ai-hpc@users.noreply.github.com>
2026-04-13 05:18:16 +00:00
wdeveloper16
17da0e4146
test: migrate BillingService permission-check tests to Testcontainers integration tests ( #34993 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 03:44:14 +00:00
wdeveloper16
ea41e9ab4e
test: implement Account/Tenant model integration tests to replace db-mocked unit tests ( #34994 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 03:39:16 +00:00
-LAN-
8c4ea5c898
fix: external dataset tenant checks for bound knowledge APIs ( #34734 )
2026-04-13 01:47:57 +00:00
wdeveloper16
88c38ddeb3
test: migrate conversation rename/delete edge cases to Testcontainers integration tests ( #34991 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 00:55:58 +00:00
wdeveloper16
45561bed9d
test: update TestContainers integration tests and unit test fixtures to SQLAlchemy 2.0 select() API ( #34969 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-12 01:24:14 +00:00
wdeveloper16
452067db19
test: migrate Conversation.status_count and Site.generate_code SQL tests to Testcontainers ( #34955 )
2026-04-11 17:56:44 +00:00
wdeveloper16
34ce3cac70
test: migrate RagPipelineService DB operation SQL tests to Testcontainer ( #34959 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-11 16:32:52 +00:00
wdeveloper16
50206ae8a7
test: migrate WorkflowNodeExecutionModel creator property SQL tests to Testcontainers ( #34958 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-11 15:39:49 +00:00
wdeveloper16
169184ac9b
test: migrate Conversation/Message inputs tenant resolution SQL tests to Testcontainers ( #34957 )
2026-04-11 15:39:30 +00:00
BitToby
98d3bcd079
test: migrate SQLAlchemyWorkflowNodeExecutionRepository tests to testcontainers ( #34926 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 17:35:52 +00:00
volcano303
e224c77920
test: migrate hit_testing_service tests to testcontainers ( #34750 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 08:26:40 +00:00
volcano303
28b8215c9b
test: migrate ops_service tests to testcontainers ( #34749 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 08:25:50 +00:00
wangxiaolei
bcd738d2e6
fix: fix orm_exc.DetachedInstanceError ( #34904 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 07:13:59 +00:00
volcano303
1898a3f8a5
test: migrate recommended_app_service tests to testcontainers ( #34751 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 00:36:57 +00:00
Will
e138523123
fix: legacy model_type deserialization regression ( #34717 )
2026-04-08 05:08:12 +00:00
YBoy
f67a811f7f
refactor: replace dict params with BaseModel payloads in TagService ( #34422 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-07 04:20:02 +00:00
aliworksx08
396b39dff9
refactor: migrate session.query to select API in console controllers ( #34607 )
2026-04-07 04:19:30 +00:00
YBoy
f814579ed2
test: migrate service_api dataset controller tests to testcontainers ( #34423 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-03 02:28:47 +00:00
99
8f9dbf269e
chore(api): align Python support with 3.12 ( #34419 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-04-02 05:07:32 +00:00
Renzo
31f7752ba9
refactor: select in 10 service files ( #34373 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-04-01 08:03:49 +00:00
wangxiaolei
57f358a96b
perf: use global httpx client instead of per request create new one ( #34311 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-01 01:19:32 +00:00
Desel72
dbdbb098d5
refactor: use sessionmaker().begin() in console workspace and misc co… ( #34284 )
2026-03-31 14:28:05 +00:00
Desel72
2c8b47ce44
refactor: use sessionmaker().begin() in web and mcp controllers ( #34281 )
2026-03-31 14:26:37 +00:00
Desel72
cf50d7c7b5
refactor: use sessionmaker().begin() in console app controllers ( #34282 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-03-31 13:10:16 +00:00
Desel72
d9a0665b2c
refactor: use sessionmaker().begin() in console datasets controllers ( #34283 )
2026-03-31 13:09:18 +00:00
Desel72
b818cc0766
test: migrate apikey controller tests to testcontainers ( #34286 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-31 13:06:42 +00:00
YBoy
1063e021f2
test: migrate explore conversation controller tests to testcontainers ( #34312 )
2026-03-31 05:00:22 +00:00
YBoy
303f548408
test: migrate rag pipeline datasets controller tests to testcontainers ( #34304 )
2026-03-31 04:59:13 +00:00
YBoy
cc68f0e640
test: migrate rag pipeline workflow controller tests to testcontainers ( #34306 )
2026-03-31 04:58:14 +00:00
YBoy
9b7b432e08
test: migrate rag pipeline import controller tests to testcontainers ( #34305 )
2026-03-31 04:57:53 +00:00
YBoy
88863609e9
test: migrate rag pipeline controller tests to testcontainers ( #34303 )
2026-03-31 04:56:53 +00:00
tmimmanuel
1344c3b280
refactor: use EnumText for model_type in provider models ( #34300 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-31 00:31:33 +00:00
YBoy
15aa8071f8
test: migrate mcp controller tests to testcontainers ( #34297 )
2026-03-31 00:28:44 +00:00
YBoy
097095a69b
test: migrate tool provider controller tests to testcontainers ( #34293 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-31 00:28:04 +00:00
YBoy
c58170f5b8
test: migrate app import api controller tests to testcontainers ( #34290 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-31 00:26:50 +00:00
YBoy
3a7885819d
test: migrate web conversation controller tests to testcontainers ( #34287 )
2026-03-31 00:25:46 +00:00
YBoy
5fc4dfaf7b
test: migrate web wraps controller tests to testcontainers ( #34289 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-30 16:19:15 +00:00
YBoy
953bcc33b1
test: migrate workspace wraps controller tests to testcontainers ( #34296 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-30 16:18:21 +00:00
YBoy
cc89b57c1f
test: migrate web forgot password controller tests to testcontainers ( #34288 )
2026-03-30 15:01:50 +00:00
YBoy
623c8ae803
test: migrate app apis controller tests to testcontainers ( #34291 )
2026-03-30 14:58:04 +00:00
YBoy
dede190be2
test: migrate data source controller tests to testcontainers ( #34292 )
2026-03-30 14:57:28 +00:00
YBoy
3c7180bfd5
test: migrate trigger providers controller tests to testcontainers ( #34295 )
2026-03-30 14:56:30 +00:00
GuanMu
8a277da278
feat(api): add delete workflow functionality with error handling ( #33657 )
2026-03-30 06:56:04 +00:00
YBoy
b36b077d42
test: migrate workflow service tests to testcontainers ( #34206 )
2026-03-29 21:50:21 +00:00
YBoy
7cc81e9a43
test: migrate workspace service tests to testcontainers ( #34218 )
2026-03-28 07:50:26 +00:00
YBoy
865ee473ce
test: migrate messages clean service retention tests to testcontainers ( #34207 )
2026-03-27 22:55:11 +00:00
99
40591a7c50
refactor(api): use standalone graphon package ( #34209 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-27 21:05:32 +00:00