Yansong Zhang
42c3163f90
fix: wait for qdrant endpoint before activating tidb cluster
2026-05-07 09:47:36 +08:00
hj24
e100e96279
fix: remove graphon
2026-04-28 16:07:45 +08:00
hj24
a03d5b8ed3
refactor: quota v3 integration ( #35436 )
...
Co-authored-by: Yansong Zhang <916125788@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-28 10:51:46 +08:00
Yansong Zhang
ef50e117da
feat: tidb endpoint ( #35158 )
...
Backport langgenius/dify#35158 to hotfix branch: persist a per-cluster
qdrant endpoint on TidbAuthBinding so each tenant connects to the
qdrant gateway colocated with its TiDB Serverless cluster instead of a
single global TIDB_ON_QDRANT_URL, which fails for clusters in other
regions.
Adapted to the hotfix branch's pre-monorepo paths
(api/core/rag/datasource/vdb/tidb_on_qdrant/) and direct httpx usage.
Made-with: Cursor
2026-04-27 11:20:33 +08:00
Yansong Zhang
a4cb47d6cd
fix: resolve DetachedInstanceError on Google OAuth login
...
When account_integrates has no record, the email fallback path used
sessionmaker(db.engine).begin() which auto-commits on exit, expiring
all attributes on the Account object. Subsequent access to account.id
in get_join_tenants raises DetachedInstanceError.
Remove the independent session wrapper and let
get_account_by_email_with_case_fallback use db.session (request-scoped)
so the returned Account stays attached.
Cherry-picked from bcd738d2e6 on main (#34904 ).
Made-with: Cursor
2026-04-17 10:40:01 +08:00
hj24
1a9a1e821f
refactor: enhance billing info response handling ( #34340 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 17:43:48 +08:00
wangxiaolei
c3e05045bb
fix: fix qdrant delete size is too large ( #35042 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 16:56:51 +08:00
hj24
b6420ec6de
fix: optimize trigger long running read transactions ( #35046 )
2026-04-13 16:56:23 +08:00
wangxiaolei
0a27e38170
fix: fix online_drive is not a valid datasource_type ( #34440 )
2026-04-02 12:59:50 +08:00
wangxiaolei
5ab3526845
fix: sqlalchemy.exc.InvalidRequestError: Can't operate on closed tran… ( #34407 )
2026-04-01 21:44:05 +08:00
-LAN-
59639ca9b2
chore: bump Dify to 1.13.3 and sandbox to 0.2.13 ( #34079 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 20:03:15 +08:00
Xin Zhang
66b8c42a25
feat: add inner API endpoints for admin DSL import/export ( #34059 )
2026-03-25 19:48:53 +08:00
QuantumGhost
1789988be7
fix(api): fix concurrency issues in StreamsBroadcastChannel ( #34061 )
2026-03-25 15:47:31 +08: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
Krishna Chaitanya
ad3899f864
fix: resolve SADeprecationWarning for callable default in remaining TypeBase models ( #34049 )
2026-03-25 12:51:36 +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
Renzo
4c32acf857
refactor: select in console datasets segments and API key controllers ( #34027 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 12:46:22 +09:00
Desel72
b4e541e11a
test: migrate advanced prompt template service tests to testcontainers ( #34034 )
2026-03-25 12:45:13 +09:00
Desel72
a3855eca8b
test: migrate webapp auth service tests to testcontainers ( #34037 )
2026-03-25 12:42:41 +09:00
tmimmanuel
a946015ebf
test: replace indexing_technique string literals with IndexTechnique ( #34042 )
2026-03-25 12:39:58 +09:00
QuantumGhost
eef13853b2
fix(api): StreamsBroadcastChannel start reading messages from the end ( #34030 )
...
The current frontend implementation closes the connection once `workflow_paused` SSE event is received and establish a new connection to subscribe new events. The implementation of `StreamsBroadcastChannel` sets initial `_last_id` to `0-0`, consumes streams from start and send `workflow_paused` event created before pauses to frontend, causing excessive connections being established.
This PR fixes the issue by setting initial id to `$`, which means only new messages are received by the subscription.
2026-03-25 10:21:57 +08:00
Daisuke Mino
3f13db11c8
fix: use query params instead of request body for decode_plugin_from_identifier ( #31697 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 09:50:57 +08:00
Rajat Agarwal
6f137fdb00
test: unit test cases for rag.cleaner, rag.data_post_processor and rag.datasource ( #32521 )
2026-03-25 02:19:15 +08:00
Rajat Agarwal
36cc1bf025
test: unit test cases for sub modules in core.app (except core.app.apps) ( #32476 )
2026-03-25 02:13:28 +08:00
qianchongyang
e873cea99e
fix: SQLAlchemy deprecation warnings for default parameter ( #33980 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-03-25 00:18:29 +09:00
Desel72
ca703fdda1
test: migrate mcp tools manage service tests to testcontainers ( #34024 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 00:06:28 +09:00
Desel72
ceb2e10179
refactor: use sessionmaker().begin() in console auth controllers ( #33966 )
2026-03-24 23:59:21 +09:00
Desel72
b15d312f68
test: migrate dataset service document indexing tests to testcontainers ( #34022 )
2026-03-24 23:42:34 +09:00
Desel72
cc0dadb5e3
test: migrate forgot password tests to testcontainers ( #33972 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 23:34:13 +09:00
Desel72
b78ca4e8e8
test: migrate email register tests to testcontainers ( #33971 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 23:33:47 +09:00
yuchengpersonal
9065d54f4a
chore: bump pyrefly from 0.55.0 to 0.57.0 ( #33755 )
...
Co-authored-by: yuchengpersonal <yuchengpersonal@users.noreply.github.com>
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-24 23:22:18 +09:00
Desel72
defb982c3e
test: remove agent service tests superseded by testcontainers ( #34023 )
2026-03-24 22:55:06 +09:00
Desel72
4f87625df5
test: migrate retention delete archived workflow run tests to testcon… ( #34020 )
2026-03-24 22:52:10 +09:00
Desel72
2a35f8a625
test: remove feedback service tests superseded by testcontainers ( #34026 )
2026-03-24 22:50:51 +09:00
Renzo
e3c1112b15
refactor: select in console datasets document controller ( #34019 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 21:57:38 +09:00
Desel72
542c1a14e0
test: migrate oauth tests to testcontainers ( #33973 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 21:56:40 +09:00
scdeng
67d5c9d148
feat: configurable model parameters with variable reference support in LLM, Question Classifier and Variable Extractor nodes ( #33082 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 17:41:51 +08: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
Zhanyuan Guo
7fe25f1365
fix(rate_limit): flush redis cache when __init__ is triggered by changing max_active_requests ( #33830 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 15:08:55 +08:00
tmimmanuel
8b634a9bee
refactor: use EnumText for ApiToolProvider.schema_type_str and Docume… ( #33983 )
2026-03-24 13:27:50 +09:00
BitToby
ecd3a964c1
refactor(api): type auth service credentials with TypedDict ( #33867 )
2026-03-24 13:22:17 +09:00
Desel72
49a1fae555
test: migrate password reset tests to testcontainers ( #33974 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 06:04:34 +09:00
tmimmanuel
cc17c8e883
refactor: use EnumText for TidbAuthBinding.status and MessageFile.type ( #33975 )
2026-03-24 05:38:29 +09:00
tmimmanuel
5d2cb3cd80
refactor: use EnumText for DocumentSegment.type ( #33979 )
2026-03-24 05:37:51 +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
Renzo
dd4f504b39
refactor: select in remaining console app controllers ( #33969 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 02:53:05 +09:00
tmimmanuel
75c3ef82d9
refactor: use EnumText for TenantCreditPool.pool_type ( #33959 )
2026-03-24 02:51:10 +09:00