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
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
-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
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
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
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
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
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
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
tmimmanuel
66fab8722c
refactor: use EnumText for credential_type in TriggerSubscription ( #34174 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-27 10:53:51 +00:00
YBoy
408f650b0c
test: migrate auth integration tests to testcontainers ( #34089 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-03-26 23:25:36 +00:00
YBoy
1da66b9a8c
test: migrate api token service tests to testcontainers ( #34148 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-26 21:02:09 +00:00
YBoy
97764c4a57
test: migrate plugin service tests to testcontainers ( #34098 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-03-26 20:36:12 +00:00
YBoy
f317db525f
test: migrate api key auth service tests to testcontainers ( #34147 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-26 20:31:18 +00:00
YBoy
3fa0538f72
test: migrate human input delivery test service tests to testcontainers ( #34092 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-26 20:29:20 +00:00
YBoy
518937b87f
test: migrate plugin parameter service tests to testcontainers ( #34090 )
2026-03-25 23:11:14 +09:00
YBoy
e6ab9abf19
test: migrate metadata partial update tests to testcontainers ( #34088 )
2026-03-25 23:10:48 +09:00
YBoy
87a25e326c
test: migrate account deletion sync tests to testcontainers ( #34091 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 23:09:10 +09:00
YBoy
baf7d2c7c0
test: migrate database retrieval tests to testcontainers ( #34087 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 23:06:46 +09:00
99
52e7492cbc
refactor(api): rename dify_graph to graphon ( #34095 )
2026-03-25 21:58:56 +08:00
Desel72
7e9d00a5a6
test: migrate workflow converter tests to testcontainers ( #34038 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 22:28:25 +09:00
-LAN-
56593f20b0
refactor(api): continue decoupling dify_graph from API concerns ( #33580 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-03-25 20:32:24 +08:00
YBoy
b7b9b003c9
test: migrate restore archived workflow run tests to testcontainers ( #34083 )
2026-03-25 21:31:53 +09:00
Desel72
5f82ccc750
test: migrate workflow app service tests to testcontainers ( #34036 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 13:43:06 +09:00
Desel72
a9f2fb86a3
test: migrate tools transform service tests to testcontainers ( #34035 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 13:41:38 +09:00
Desel72
81a2eba2a0
test: migrate app service tests to testcontainers ( #34025 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 12:50:30 +09:00
tmimmanuel
d87263f7c3
refactor: select in console datasets document controller ( #34029 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 12:47:25 +09:00
Desel72
b15d312f68
test: migrate dataset service document indexing tests to testcontainers ( #34022 )
2026-03-24 23:42:34 +09:00
Desel72
4f87625df5
test: migrate retention delete archived workflow run tests to testcon… ( #34020 )
2026-03-24 22:52:10 +09:00
QuantumGhost
1674f8c2fb
fix: fix omitted app icon_type updates ( #33988 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 15:10:05 +08:00
tmimmanuel
8b634a9bee
refactor: use EnumText for ApiToolProvider.schema_type_str and Docume… ( #33983 )
2026-03-24 13:27:50 +09:00
tmimmanuel
cc17c8e883
refactor: use EnumText for TidbAuthBinding.status and MessageFile.type ( #33975 )
2026-03-24 05:38:29 +09:00
Desel72
f2c71f3668
test: migrate oauth server service tests to testcontainers ( #33958 )
2026-03-24 03:15:22 +09:00
Desel72
0492ed7034
test: migrate api tools manage service tests to testcontainers ( #33956 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 02:54:33 +09:00
tmimmanuel
75c3ef82d9
refactor: use EnumText for TenantCreditPool.pool_type ( #33959 )
2026-03-24 02:51:10 +09:00
Desel72
8ca1ebb96d
test: migrate workflow tools manage service tests to testcontainers ( #33955 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 02:50:10 +09:00
Desel72
3f086b97b6
test: remove mock tests superseded by testcontainers ( #33957 )
2026-03-24 02:46:54 +09:00
tmimmanuel
20fc69ae7f
refactor: use EnumText for WorkflowAppLog.created_from and WorkflowArchiveLog columns ( #33954 )
2026-03-24 02:44:46 +09:00
Desel72
f5cc1c8b75
test: migrate saved message service tests to testcontainers ( #33949 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-23 22:26:31 +09:00
Desel72
6698b42f97
test: migrate api based extension service tests to testcontainers ( #33952 )
2026-03-23 22:20:53 +09:00
Desel72
848a041c25
test: migrate dataset service create dataset tests to testcontainers ( #33945 )
2026-03-23 22:20:25 +09:00
Desel72
30dd36505c
test: migrate batch update document status tests to testcontainers ( #33951 )
2026-03-23 21:57:01 +09:00