Charles Yao and Claude Opus 4.8
97b8354173
fix(dify-builder): capture verify-launch errors instead of swallowing them
...
The build/edit test handlers wrapped run_draft in a bare, non-logging
`except Exception` that turned any launch-time failure into a blank failed
run (dify_run_id="", per_node=[], no error). Diagnose then had nothing to
act on and the repair loop ran blind — the prod symptom where a stale test
input (ValueError "<var> is required in input form") produced an
undiagnosable await_repair loop.
Now the launch error is logged, captured, and persisted so diagnose/routing
can act on it:
- Run.error field + dify_builder_runs.error column (migration a9cc8d552db4)
- handlers_build/edit: logger.exception + launch_error_text(exc) -> Run.error
- is_input_failure() also inspects Run.error (+ "in input form" signal), so a
stale-input launch failure routes to the testdata gate, not blind repair
- diagnose/_degraded_diagnosis surface the launch error when no node executed
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-09-10 14:24:51 -07:00
twwu
0a8b35c2bf
Merge branch 'main' into feat/dify-builder
2026-09-10 09:44:17 +08:00
Evan
8bdf01be3b
refactor(api): remove legacy end user type fallback ( #39662 )
2026-09-09 20:16:48 +00:00
Asuka Minato
677f2cf43f
chore: example to add Mapped ( #40374 )
2026-09-09 08:56:41 +00:00
twwu
e808808168
Merge branch 'main' into feat/dify-builder
2026-09-09 15:55:44 +08:00
nehal-a2z and nehal-a2z
cd031ab423
refactor(api): remove InstalledApp implicit-session accessor ( #42000 )
...
Co-authored-by: nehal-a2z <183489955+nehal-a2z@users.noreply.github.com >
2026-09-09 05:31:08 +00:00
Eddy ZHANG
dc9dd9c559
refactor(models): remove the App.bound_agent_id and App.is_agent wrappers ( #41998 )
2026-09-09 05:17:29 +00:00
Eddy ZHANG
e65f45f17a
refactor(models): remove the unread App.author_name db.session wrapper ( #41983 )
2026-09-09 05:16:14 +00:00
Keith
f3e5f41a3c
refactor(models): pass session into WorkflowNodeExecutionModel accessors ( #41968 )
2026-09-08 09:31:08 +00:00
Eddy ZHANG
9e0763e189
refactor(models): remove four unread legacy db.session wrappers ( #41964 )
2026-09-08 07:27:02 +00:00
Eddy ZHANG
970bbeca8d
refactor(models): remove the legacy db.session wrappers on App ( #41942 )
2026-09-08 07:26:20 +00:00
twwu
9fea1cc3a8
Merge branch 'main' into feat/dify-builder
2026-09-08 15:22:53 +08:00
ShawYann
a57e04aa49
refactor(models): pass session into InstalledApp.tenant accessor ( #41831 )
2026-09-07 15:45:39 +00:00
however-yir and however
75f867da85
refactor(models): remove legacy db.session wrappers on Message accessors ( #41886 )
...
Co-authored-by: however <however-yir@users.noreply.github.com >
2026-09-07 09:28:29 +00:00
Keith
d5be01b253
refactor(models): remove the last standalone legacy db.session properties on Dataset ( #41911 )
2026-09-07 09:27:04 +00:00
however-yir and however
b93101459d
refactor(models): pass session into ApiToolProvider.user accessor ( #41882 )
...
Co-authored-by: however <however-yir@users.noreply.github.com >
2026-09-07 09:25:55 +00:00
Charles
2df92204e9
refactor(models): pass session into CustomizedSnippet accessors ( #40379 )
2026-09-07 05:37:43 +00:00
Keith
11a9627cbb
refactor(models): remove remaining legacy db.session property wrappers on Dataset ( #41647 )
2026-09-07 05:25:51 +00:00
Keith
62a286332a
refactor(models): remove legacy db.session property wrappers on DocumentSegment and DatasetQuery ( #41794 )
2026-09-07 05:24:37 +00:00
however-yir and however
a1a98e1087
refactor(models): remove legacy db.session wrappers on Message feedback/annotation accessors ( #41883 )
...
Co-authored-by: however <however-yir@users.noreply.github.com >
2026-09-07 05:11:29 +00:00
however-yir and however
80f6f72e8c
refactor(models): pass session into AppAnnotationSetting.collection_binding_detail ( #41885 )
...
Co-authored-by: however <however-yir@users.noreply.github.com >
2026-09-07 05:00:12 +00:00
Xiyuan Chen and autofix-ci[bot]
86134ea99e
feat(rbac): agent RBAC/ACL scenes and resource-locator check bundles ( #41768 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-07 04:39:43 +00:00
Kiveiru3
e7d34f05ba
refactor(models): remove legacy db.session properties from Conversation ( #41847 )
2026-09-07 03:43:14 +00:00
twwu
e661825c03
Merge branch 'main' into feat/dify-builder
2026-09-07 11:25:24 +08:00
chenshiyang and Claude
3c55dcc3d1
refactor(models): pass session into AppAnnotationHitHistory accessors ( #41832 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-09-05 10:32:30 +00:00
chenshiyang and Claude
fde602dadf
refactor(models): pass session into tool provider accessors ( #41830 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-09-05 10:31:41 +00:00
Sourav Rajvi and autofix-ci[bot]
5b13b7a44d
refactor(models): use sa.false()/sa.true() for boolean server defaults ( #41762 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-04 02:50:27 +00:00
550196e3b8
feat: app deployment v2 ( #41444 )
...
Co-authored-by: zhangx1n <zhangxin@dify.ai >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-04 02:01:35 +00:00
twwu
537d2a3178
Merge branch 'main' into feat/dify-builder
2026-09-04 09:44:01 +08:00
Keith
e6a38fd793
refactor(models): remove legacy db.session property wrappers on Document ( #41721 )
2026-09-03 13:34:49 +00:00
Byron.wang and autofix-ci[bot]
692010f0fc
refactor(api): decouple console OAuth flow from legacy account services ( #41188 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-03 08:47:14 +00:00
twwu
a257ac4dee
Merge branch 'main' into feat/dify-builder
2026-09-03 11:12:22 +08:00
Asuka Minato
8129555642
chore: Site to typebase ( #35632 )
2026-09-02 14:44:08 +00:00
YungLe and autofix-ci[bot]
3cd1fc098c
feat: allow knowledge base API keys to be scoped to a single dataset ( #37569 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-02 10:30:42 +00:00
Yunlu Wen
b1eafb0d82
fix: validate rule for provider scoped credentials ( #41659 )
2026-09-02 10:07:44 +00:00
twwu
3152ba3faa
Merge branch 'main' into feat/dify-builder
2026-09-01 17:09:54 +08:00
Keith
566b8857dd
refactor(models): remove legacy db.session property wrappers on Dataset ( #41569 )
2026-09-01 06:28:24 +00:00
elyar1124
3ed28dce33
refactor(models): pass session into DocumentSegment and AppDatasetJoin accessors ( #41568 )
2026-09-01 06:24:04 +00:00
twwu
433046e0de
Merge branch 'main' into feat/dify-builder
2026-08-30 14:25:22 +08:00
jjj-n
09054169c4
refactor(models): pass session into Workflow accessors ( #41464 )
2026-08-29 14:28:15 +00:00
Keith
e6fc0a8ba8
refactor(models): pass session into WorkflowAppLog accessors ( #41440 )
2026-08-28 14:32:27 +00:00
Keith and ke-yu
c8606db16b
refactor(models): pass session into ChildChunk accessors ( #41370 )
...
Co-authored-by: ke-yu <ke-yu@pepabo.com >
2026-08-28 02:30:10 +00:00
chenshiyang and Claude Sonnet 5
654324c0d9
refactor(models): pass session into PipelineCustomizedTemplate.created_user_name ( #41394 )
...
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com >
2026-08-28 02:26:41 +00:00
huyua9 and huyua9
650f8880ea
docs: correct UUIDv7 helper docstring ( #41419 )
...
Co-authored-by: huyua9 <huyua9@users.noreply.github.com >
2026-08-28 02:26:40 +00:00
Xin Zhang
638dfd77a4
fix: update secret environment variable description ( #41309 )
2026-08-26 10:08:30 +00:00
twwu
7e580db1cc
Merge branch 'main' into feat/dify-builder
2026-08-26 17:15:19 +08:00
林玮 (Jade Lin)
f5aaa50a30
fix(auth): normalize Gmail registration emails ( #41249 )
2026-08-26 07:14:27 +00:00
ebb0f12cd0
fix(model): re-sign bare/backticked tool file URLs in answer ( #40799 )
...
Co-authored-by: Taranum01 <50813317+Taranum01@users.noreply.github.com >
Co-authored-by: Taranum01 <taranumwasu@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-08-25 02:04:21 +00:00
+21
0024a845f7
feat: support agent skill ( #39675 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: 起岚 <155608604+xiaoyaoqilan@users.noreply.github.com >
Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com >
Co-authored-by: Escape0707 <tothesong@gmail.com >
Co-authored-by: Xin Zhang <zhangxin@dify.ai >
Co-authored-by: iridescentWen <66297467+iridescentWen@users.noreply.github.com >
Co-authored-by: Bond Zhu <37842169+MRZHUH@users.noreply.github.com >
Co-authored-by: KVOJJJin <jzongcode@gmail.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Chester <superdiao6@gmail.com >
Co-authored-by: WH-2099 <wh2099@pm.me >
Co-authored-by: Jony <619963502@qq.com >
Co-authored-by: Jony <13896935+zyz619963502zyz@users.noreply.github.com >
Co-authored-by: Harsh Kashyap <harsh.kashyap2001@gmail.com >
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com >
Co-authored-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: csurong <csurong1@gmail.com >
Co-authored-by: caosurong <surong.cao@thinkingdata.cn >
Co-authored-by: Taranum Wasu <81034301+Taranum01@users.noreply.github.com >
Co-authored-by: Taranum01 <50813317+Taranum01@users.noreply.github.com >
Co-authored-by: Pranav Agarwal <agarwalpranav0711@gmail.com >
Co-authored-by: Stephen Zhou <hi@hyoban.cc >
Co-authored-by: zl86790 <marshal_li_b@163.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2026-08-24 05:29:14 +00:00
酒诗 and geneachina
aed1672366
refactor: pass session to workflow comment account accessors ( #41117 )
...
Co-authored-by: geneachina <geneachina@gmail.com >
2026-08-24 03:20:32 +00:00