twwu
3686aa891b
Merge branch 'main' into feat/dify-builder
2026-09-20 16:12:20 +08:00
william
4da38ea322
chore(models): remove redundant server_default from trigger models ( #42519 )
2026-09-20 02:47:05 +00:00
william
77d701ae81
chore(models): remove redundant server_default from oauth, source, onboarding and comment models ( #42520 )
2026-09-20 02:46:17 +00:00
william
6523584762
chore(models): remove redundant server_default from provider, tools and workflow models ( #42521 )
2026-09-20 02:42:06 +00:00
william
214aacd780
chore(models): remove redundant server_default from account models ( #42524 )
2026-09-20 02:40:35 +00:00
william
d913f3dd0e
chore(models): remove redundant server_default from dataset models ( #42525 )
2026-09-20 02:38:59 +00:00
william
62e1c53c84
chore(models): remove redundant server_default from app, message and site models ( #42526 )
2026-09-20 02:36:19 +00:00
twwu
cce9470161
Merge branch 'main' into feat/dify-builder
2026-09-20 09:45:05 +08:00
Asuka Minato and autofix-ci[bot]
d7630db953
chore: port WorkflowNodeExecutionOffload to TypeBase ( #35633 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-19 09:25:31 +00:00
JessYan and Claude Opus 5
5568aa0ea5
refactor(models): pass session into App.tenant ( #42518 )
...
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-18 18:31:45 +00:00
twwu
bb7f7e4640
Merge branch 'main' into feat/dify-builder
2026-09-18 16:06:20 +08:00
Keith
21d5e4e020
refactor(models): pass session into WorkflowRun accessors and drop dead ones ( #42034 )
2026-09-18 04:12:28 +00:00
twwu
f0c2c644d2
Merge branch 'main' into feat/dify-builder
2026-09-18 10:24:19 +08:00
Dorian
ad9a5be560
refactor(models): pass session into MCPToolProvider.load_user ( #42432 )
2026-09-17 13:37:27 +00:00
twwu
782688563d
Merge branch 'main' into feat/dify-builder
2026-09-17 17:01:34 +08:00
Keith
bba566540d
refactor(models): drop implicit-session getters on Conversation/Message inputs and model_config ( #42335 )
2026-09-17 07:59:00 +00:00
JessYan and Claude Opus 5
28e2682986
refactor(models): pass session into App.app_model_config and App.workflow ( #42190 )
...
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-17 05:43:18 +00:00
Syrinx.
66bf75d1d8
refactor(models): pass session into AppMCPServer.generate_server_code ( #42316 )
2026-09-17 03:41:45 +00:00
Keith and autofix-ci[bot]
4afc3cbd4f
refactor(models): drop dead to_dict serializers and remaining global-session accessors on dataset models ( #42324 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-17 03:39:04 +00:00
xiaodu55
8b3c4db9ac
refactor(models): pass session into recommended-app and trial-record accessors ( #42325 )
2026-09-17 03:38:18 +00:00
twwu
7d18af6483
Merge branch 'main' into feat/dify-builder
2026-09-17 09:57:23 +08:00
Mesrop Harutyunyan
cb4d8ab5ea
perf(api): batch dataset list detail fields ( #42279 )
2026-09-15 02:33:42 +00:00
KingPointer and autofix-ci[bot]
085a79c748
chore(models): add Mapped annotations to EndUser and ApiToken ( #42146 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-11 17:07:04 +00:00
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