Byron Wang
8240798c66
Reconcile knowledge policy and error contracts with main CI
2026-11-28 15:13:30 -08:00
Byron Wang
80f814a09f
Merge main into the knowledge retrieval boundary refactor
2026-11-28 14:59:51 -08:00
Eddy ZHANG
3ec320d6b1
test(api): strictly type login code mail tests ( #47080 )
2026-11-27 13:43:34 +00:00
非法操作
6b4d449cee
fix(plugin): compact completed auto-upgrade reservations ( #47377 )
2026-11-27 08:59:03 +00:00
FFXN
0c9a5be916
fix(evaluation): validate evidence and enforce execution limits ( #47267 )
2026-11-27 07:32:14 +00:00
非法操作
f6c206bc17
refactor(agent): isolate Console config inspector access ( #46561 )
2026-11-26 08:56:10 +00:00
盐粒 Yanli and yunlu.wen
a8e13d2648
feat(agent): support sandbox state transfer, lease keepalive, and retired workspace cleanup ( #46796 )
...
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
2026-11-26 07:47:33 +00:00
非法操作
0a1d652b19
fix(evaluation): attribute hosted AI credit usage ( #47154 )
2026-11-25 06:25:22 +00:00
FFXN
288474aa9b
fix(evaluation): upgrade Ragas and validate Faithfulness evidence ( #46963 )
2026-11-24 02:51:24 +00:00
914bcf328f
fix(api): restore missing-document warning in document_indexing_task ( #43081 )
...
Co-authored-by: SquabbyZ <601709253@qq.com >
Co-authored-by: Byron Wang <byron@dify.ai >
2026-11-19 12:14:46 +00:00
Byron Wang
0c16845a68
Merge main into knowledge boundaries and preserve invitation concurrency
2026-11-19 15:57:33 +08:00
非法操作
601b23413e
fix(retention): bound archive download memory and recover interrupted jobs ( #46662 )
2026-11-18 07:34:25 +00:00
林玮 (Jade Lin)
733454eae3
feat(api): enforce moderation for Cloud AI-credit model calls ( #45987 )
2026-11-18 02:48:29 +00:00
FFXN
b7b033fac8
feat(evaluation): clarify batch fields and missing-node errors ( #46538 )
2026-11-18 01:51:39 +00:00
Jyong
582cab8491
Merge main into stack/knowledge-01-boundaries
...
Resolve conflicts with the configurable knowledge base description limit,
the blocking workflow run connection fix, read_media tool observations,
debug conversation workspace retirement, Ruff N815 and the strict pyrefly
test conversions.
2026-11-17 17:45:08 +08:00
Jyong and Claude Fable 5.2
f276afa378
fix(api): keep index tasks from stranding documents and cleanup
...
- Segment enable/disable/delete tasks wait for a busy document index
lock instead of giving up after five retries.
- Tasks that exhaust retries resolve documents left in a transitional
state so users can retry them, and clear indexing cache flags.
- Hand off the duplicate-indexing tenant queue slot only on a final
attempt.
- Document cleanup bounds non-lock retries and falls back to relational
cleanup when index cleanup fails terminally.
- App removal continues past failing records and reports them once.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-17 15:36:06 +08:00
Jyong and Claude Fable 5.2
9cbb4e42e3
fix(api): bound upload reference parsing and stop locking keyword reads
...
- Scan Markdown preview links with linear regexes instead of rendering
through python-markdown; a 40 KB crafted input took ~45 s before.
- Accept only UUID-shaped ids from free text and treat text-linked files
as best-effort: lock them when the tenant owns them, ignore them
otherwise, so foreign or stale preview links no longer fail writes.
Structured references keep hard validation.
- Drop the exclusive Redis lock from the jieba keyword read path.
- Treat pipeline invoke-entity file cleanup as best-effort.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-17 15:35:50 +08:00
zyssyz123
68a96c3cc9
fix(plugin): bound and deduplicate automatic upgrade checks ( #46500 )
2026-11-17 05:28:32 +00:00
Asuka Minato and Codex
4471b285c3
ci: enable Ruff N815 ( #44118 )
...
Co-authored-by: Codex <codex@openai.com >
2026-11-17 03:28:54 +00:00
Byron Wang
9c7fd366b9
Merge main into knowledge boundaries and resolve conflicts
2026-11-16 12:36:42 +08:00
68609e1b09
feat(evaluation): add Evaluation workspaces and execution ( #46141 )
...
Co-authored-by: Stephen Zhou <hi@hyoban.cc >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <jyong@dify.ai >
2026-11-16 02:43:34 +00:00
Jyong and Claude Fable 5.2
74bdfd1fe4
feat(file-scan): scan uploaded knowledge base files for malware ( #46090 )
...
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-13 09:46:56 +00:00
Byron Wang
2b8ed9a1d7
Merge main into stack/knowledge-01-boundaries
2026-11-11 13:42:13 +08:00
QuantumGhost and zxhlyh
a4d64bcddd
feat(hitl): improve forms, notifications, and IM contact sync ( #45945 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
2026-11-10 09:00:41 +00:00
非法操作 and autofix-ci[bot]
ce26b22970
refactor(api): isolate trigger execution lifecycle ( #45950 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-10 08:17:39 +00:00
非法操作
27297e954f
refactor(api): inject trigger debug runtime ( #45946 )
2026-11-10 07:09:35 +00:00
非法操作
17686733f7
refactor(api): isolate trigger schedule runtime ( #45941 )
2026-11-10 06:28:06 +00:00
非法操作
e37e727184
refactor(api): inject trigger workflow dispatch and execution logging ( #45195 )
2026-11-09 08:44:55 +00:00
非法操作
2626e944ec
refactor(api): inject trigger subscription renewal scheduling ( #45190 )
2026-11-09 07:28:38 +00:00
非法操作
b6d2d2170d
refactor(api): inject app trigger publication and quota status lifecycle ( #45188 )
2026-11-09 06:29:12 +00:00
非法操作
cc53107f82
refactor(api): inject workflow trigger subscription bindings ( #45172 )
2026-11-09 03:03:35 +00:00
非法操作
dd21c981f2
refactor(api): inject trigger subscription renewal and event execution ( #44653 )
2026-11-09 02:42:52 +00:00
Stream
fb753750c9
Merge branch 'main' into stack/knowledge-01-boundaries
2026-11-07 11:33:50 +08:00
Paul Y Hui and Claude Opus 5.5
eb2be7ff81
refactor(api): drop global db.session from RBAC init task ( #45736 )
...
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-06 13:21:20 +00:00
Byron Wang
78ff26901e
fix(api): address knowledge review regressions
...
Preserve retrieval settings at the service API boundary and allow enabling segments alongside edits. Recover healthy Notion indexes after preflight failures, invalidate recovery before cleanup, and resume cleanup safely after lease loss. Bound workflow file-reference scans and retain unresolved candidates without adding database tables.
2026-11-06 14:01:38 +08:00
Zevian L and Asuka Minato
852f62cc14
refactor(api): run draft-variable offload cleanup tests on real SQLite ( #45693 )
...
Signed-off-by: Zevian L <236838398+zhengmingchuang@users.noreply.github.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-11-06 05:59:34 +00:00
Byron Wang
fdc59df443
Merge main into knowledge application boundary refactor
...
Resolve conflicts while preserving knowledge application boundaries and current main behavior for model validation, converted-file downloads, token scope, strict pagination, and tracing.
2026-11-04 20:34:13 +08:00
Byron.wang
1ac9aa0d3c
fix(api): complete chatflow streams after direct replies ( #45552 )
2026-11-04 09:34:19 +00:00
-LAN-
43d8c3715a
refactor(tracing): one trace pipeline behind a minimal provider interface ( #44673 )
2026-11-02 12:16:49 +08:00
Byron Wang
25fcc73fb2
fix: resolve CI failures
2026-10-30 19:00:30 +08:00
Byron Wang
5b510efc78
fix(api): reconcile service contracts after merging main
2026-10-30 17:22:43 +08:00
Byron Wang
6562cb0331
merge main
2026-10-30 16:55:29 +08:00
Byron Wang
24f8702174
Merge main into knowledge service boundary refactor
2026-10-30 16:48:14 +08:00
Byron Wang
87c6d94564
refactor(api): clarify knowledge service boundaries and resource lifecycles
2026-10-30 16:13:53 +08:00
zhoulongjie777-gif
c84abc0d50
test(api): exercise draft variable batch cleanup with SQLite ( #45139 )
2026-10-30 07:56:45 +00:00
8cbb6c0130
feat: HITL IM integration ( #44864 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-30 02:43:31 +00:00
Ganondorf
b336b67945
fix(workflow): preserve caller identity for scheduled Agent files ( #44796 )
2026-10-28 13:13:21 +00:00
非法操作 and autofix-ci[bot]
a0b2e14960
refactor(api): isolate console annotation management ( #43807 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-27 04:18:00 +00:00
Asuka Minato and Codex
8b0a17ce47
refactor(models): migrate workflow models to TypeBase ( #40815 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-26 15:53:48 +00:00
fd2db63184
feat: KnowledgeFS and New Knowledge ( #44165 )
...
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zhaohao1004 <zhaohao1004@gmail.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: FFXN <lizy@dify.ai >
2026-10-23 03:34:59 +00:00