Commit Graph
420 Commits
Author SHA1 Message Date
twwu 35c5afb0c5 Merge branch 'main' into feat/dify-builder 2026-10-26 17:50:58 +08:00
Charles Yao ed736b822d fix(workflow): persist recoverable draft coordination 2026-10-25 03:24:38 -07:00
Charles Yao c90b35d363 fix(builder): type task control owners and canonical test fixtures 2026-10-23 17:13:32 -07:00
Charles Yao 8c52a91ea0 feat(builder): fence task stop and synchronize safe resume 2026-10-23 16:40:43 -07: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
7445e48323 chore: port Document to TypeBase (#36084)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
2026-10-23 02:56:00 +00:00
Charles Yao 186deb854d feat(builder): unify native test controls with session actions 2026-10-22 19:19:47 -07:00
Yunlu WenandDevin 903ca7478e fix(api): stop leaking Redis result connections from fire-and-forget groups (#44551)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-23 01:55:21 +00:00
zyssyz123andyyh 0a620ddd95 feat(tracing): export Agent app and Workflow Agent execution trees (#44144)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-10-22 02:11:12 +00:00
-LAN-andWH-2099 f5cdb80297 feat(workflow): execute workflow tools as nested containers (#42820)
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-10-21 02:11:18 +00:00
Charles Yao 231e423431 Integrate validated Builder backend testing and CI repairs
Track backend integration, Ruff cleanup and migration reconciliation in ENG-1271. Retain required copy contracts without implementing frontend interactions.
2026-10-20 15:40:06 -07:00
twwu 5a442d510e Merge branch 'main' into feat/dify-builder
Adapt Builder execution to Graphon 0.8 and resolve merge conflicts.
Fix backend type errors, update affected tests, and propagate stream cleanup.
2026-10-20 15:53:02 +08:00
Alexey Shabalinandhjlarry 638ed4eb55 fix(dataset): batch segment and document cleanup with retries (#38519)
Co-authored-by: hjlarry <hjlarry@163.com>
2026-10-20 06:30:53 +00:00
2a6764edc5 feat: add reusable network access group APIs (#41025)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-10-20 05:52:18 +00:00
-LAN-andautofix-ci[bot] 823f40e71f refactor(workflow): adopt Graphon 0.8 execution orchestration (#40277)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 13:03:56 +00:00
6f434baf93 ci: enable Ruff B904 (#44121)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: hjlarry <hjlarry@163.com>
2026-10-19 12:47:53 +00:00
林玮 (Jade Lin) 08d3c547ec fix(api): initialize default LLMs during onboarding (#44350) 2026-10-19 11:03:22 +00:00
twwu 4c1c41c2ea fix(builder): support initial Chatflow builds (ENG-1242)
Recognize initial templates, generate graphs in the app mode, and replace default nodes atomically after approval.

Normalize node ordering in execution revisions to prevent false 409 conflicts, with frontend and backend regression coverage.
2026-10-19 16:44:09 +08:00
twwu eed3ebdd0f Merge branch 'main' into feat/dify-builder
# Conflicts:
#	api/services/app_generate_service.py
#	api/services/workflow_service.py
#	web/app/components/app/create-app-dialog-shell.tsx
#	web/app/components/app/create-app-dialog/__tests__/index.spec.tsx
#	web/app/components/app/create-app-dialog/app-list/__tests__/sidebar.spec.tsx
#	web/app/components/app/create-app-modal/__tests__/index.spec.tsx
#	web/app/components/app/create-app-modal/index.tsx
#	web/app/components/apps/__tests__/list.spec.tsx
#	web/app/components/header/account-setting/model-provider-page/__tests__/hooks.spec.ts
#	web/app/components/workflow-app/components/__tests__/workflow-main.spec.tsx
#	web/app/components/workflow-app/components/__tests__/workflow-panel.spec.tsx
#	web/app/components/workflow-app/hooks/__tests__/use-DSL.spec.ts
#	web/app/components/workflow-app/hooks/__tests__/use-nodes-sync-draft.spec.ts
#	web/app/components/workflow-app/hooks/__tests__/use-workflow-init.spec.ts
#	web/app/components/workflow-app/hooks/__tests__/use-workflow-refresh-draft.spec.ts
#	web/app/components/workflow-app/hooks/__tests__/use-workflow-run.spec.ts
#	web/app/components/workflow-app/hooks/use-DSL.ts
#	web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts
#	web/app/components/workflow-app/hooks/use-workflow-init.ts
#	web/app/components/workflow-app/hooks/use-workflow-refresh-draft.ts
#	web/app/components/workflow/__tests__/workflow-edge-events.spec.tsx
#	web/app/components/workflow/collaboration/core/__tests__/crdt-provider.test.ts
#	web/app/components/workflow/collaboration/hooks/__tests__/use-collaboration.spec.ts
#	web/app/components/workflow/header/__tests__/header-layouts.spec.tsx
#	web/app/components/workflow/header/__tests__/run-and-history.spec.tsx
#	web/app/components/workflow/header/__tests__/scroll-to-selected-node-button.spec.tsx
#	web/app/components/workflow/header/checklist/__tests__/index.spec.tsx
#	web/app/components/workflow/hooks/__tests__/use-workflow-panel-interactions.spec.tsx
#	web/app/components/workflow/hooks/__tests__/use-workflow-search.spec.tsx
#	web/app/components/workflow/hooks/__tests__/use-workflow-update.spec.tsx
#	web/app/components/workflow/hooks/__tests__/use-workflow.spec.ts
#	web/app/components/workflow/nodes/__tests__/index.spec.tsx
#	web/app/components/workflow/nodes/question-classifier/__tests__/integration.spec.tsx
#	web/app/components/workflow/operator/__tests__/control.spec.tsx
#	web/app/components/workflow/operator/__tests__/zoom-in-out.spec.tsx
#	web/app/components/workflow/panel/__tests__/workflow-preview.spec.tsx
#	web/app/components/workflow/run/__tests__/result-panel.spec.tsx
#	web/app/components/workflow/store/__tests__/workflow-draft-slice.spec.ts
#	web/app/components/workflow/utils/__tests__/node-navigation.spec.ts
#	web/app/components/workflow/utils/node-navigation.ts
#	web/i18n/locales/ar-TN/app.json
#	web/i18n/locales/az-AZ/app.json
#	web/i18n/locales/de-DE/app.json
#	web/i18n/locales/en-US/app.json
#	web/i18n/locales/es-ES/app.json
#	web/i18n/locales/fa-IR/app.json
#	web/i18n/locales/fr-FR/app.json
#	web/i18n/locales/hi-IN/app.json
#	web/i18n/locales/id-ID/app.json
#	web/i18n/locales/it-IT/app.json
#	web/i18n/locales/ja-JP/app.json
#	web/i18n/locales/ko-KR/app.json
#	web/i18n/locales/lo-LA/app.json
#	web/i18n/locales/nl-NL/app.json
#	web/i18n/locales/pl-PL/app.json
#	web/i18n/locales/pt-BR/app.json
#	web/i18n/locales/ro-RO/app.json
#	web/i18n/locales/ru-RU/app.json
#	web/i18n/locales/sl-SI/app.json
#	web/i18n/locales/th-TH/app.json
#	web/i18n/locales/tr-TR/app.json
#	web/i18n/locales/uk-UA/app.json
#	web/i18n/locales/vi-VN/app.json
#	web/i18n/locales/zh-Hans/app.json
#	web/i18n/locales/zh-Hant/app.json
#	web/i18n/resources.generated.d.ts
#	web/service/console/client.spec.ts
2026-10-19 11:39:20 +08:00
96202aa544 ci: enable Ruff F841 (#44115)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 01:47:17 +00:00
CRYPTONIKAVandStream 8857292ad7 fix(dify): retry failed archive deletion instead of reporting success (#44061)
Co-authored-by: Stream <Stream_2@qq.com>
2026-10-17 17:53:19 +00:00
twwu 22d109c1dc Merge branch 'main' into feat/dify-builder 2026-10-16 12:14:03 +08:00
twwu 2b5253fe17 Merge branch 'main' into feat/dify-builder 2026-10-16 10:40:30 +08:00
林玮 (Jade Lin) 10285432d2 fix: accumulate workflow elapsed time across resumptions (#44161) 2026-10-16 02:11:49 +00:00
c30c19b83a ci: enable Ruff UP007 (#44106)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-16 01:34:03 +00:00
twwu d2129f25ee Merge branch 'main' into feat/dify-builder 2026-10-15 17:42:16 +08:00
twwu c899d8c2c0 fix(builder): align conflict checks across execution layers
Share revision exemptions between service admission and queued workers while
retaining fixture and session fences. Use executable graph normalization for
execution admission and native node bindings.

Keep recovery classification separate from handler execution, refresh cached
offers before continuing, and reject drift during rebasing. Add service-to-native
regression coverage and fix JSON execution context typing.
2026-10-15 16:56:57 +08:00
Asuka MinatoandCodex a4e0a0c10d ci: enable Ruff E712 (#44114)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 07:37:57 +00:00
Asuka MinatoandCodex d5ce917839 ci: enable Ruff B905 (#44094)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 01:01:21 +00:00
Asuka MinatoandCodex 56f1dc2cb8 ci: enable Ruff UP032 (#44092)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 01:01:15 +00:00
D41910 c7e3f5a324 fix(knowledge): only batch-enable segments whose indexing completed (#44017) 2026-10-15 05:34:50 +08:00
twwu 412e0ec953 Merge branch 'main' into feat/dify-builder 2026-10-14 17:31:51 +08:00
twwu 89504b7dce refactor(builder): localize fixed copy on the frontend
Move fixed copy into the difyBuilder i18n namespace and resolve scene IDs
using reply_language. Preserve dynamic streaming, historical receipts,
and submitted values.

Show fixed replies immediately with a short transition, detect language
before initial progress, and retire new notices and recovery messages.
Keep recovery and publication validation in place.

Update generated contracts and regression coverage, including progress
snapshot and execution context expectations and test type annotations.
2026-10-14 17:10:20 +08:00
twwu 802ed06a37 fix(builder): restore session progress after reconnect
Restore cumulative worker progress before live SSE updates and recover missed terminal state on idle heartbeats. Keep submitted interactions hidden while the command runs and record reconnect state in trace exports.
2026-10-14 16:50:00 +08:00
非法操作 c11b36c70a feat: support permanent deletion of monthly workflow archives (#44052) 2026-10-14 07:46:14 +00:00
wangxiaoleiandyunlu.wen 7a02240701 feat: support clean workspace related resource (#43803)
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
2026-10-14 04:44:38 +00:00
twwu 1a42eb50f5 Merge branch 'main' into feat/dify-builder 2026-10-14 10:11:36 +08:00
Charles Yao c6c7dc5eea fix(builder): localize structured decisions and interaction receipts 2026-10-13 13:11:22 -07:00
XiaoBa 804fac75e0 fix(rbac): append default bindings in app_rbac initializer (#43088) 2026-10-13 16:56:10 +00:00
Charles Yao ec78357de1 feat(builder): seal qualified JSON Parse native runs 2026-10-13 03:10:47 -07:00
twwu 51ad3490f7 Merge branch 'main' into feat/dify-builder 2026-10-13 15:05:16 +08:00
Charles Yao 3a24e9067d fix(builder): admit saved draft graph before resume effects 2026-10-12 13:20:56 -07:00
Charles Yao 084326a430 feat(builder): bind installed draft tools with fresh setup admission 2026-10-12 11:41:44 -07:00
非法操作 8b4f32fc95 chore(api): retire New Agent Beta campaign integration (#43918) 2026-10-12 06:28:21 +00:00
twwu 461a397387 Merge branch 'main' into feat/dify-builder 2026-10-12 13:54:52 +08:00
Charles YaoandClaude Opus 5.5 9323e60724 fix: give one worker exclusive lease ownership and settle terminal confirmed grants
Worker activation now swaps the dispatch token for a unique owner value, so a
duplicate delivery of a running command can neither run nor release the
winner's lease. Terminal worker failures clear pending confirmed references and
settle the worker's own reloaded grant; the sweeper repairs, in a bounded pass,
reserved grants whose command already reached review/FAILED but whose
settlement write failed, never while a lease is live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 18:48:57 -07:00
Charles YaoandClaude Opus 5.5 391d1a9c49 feat: launch confirmed Tool tests through native Builder Runs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 17:58:50 -07:00
Charles YaoandClaude Opus 5.5 cad55b260d fix: persist Builder consent reference, replay current execute state and clean consents with app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 15:18:38 -07:00
Charles Yao 625fdfd8d1 fix(builder): discover installed tools needing setup 2026-10-11 02:01:36 -07:00
盐粒 Yanliandyunlu.wen cc14bb83e0 refactor(agent): replace Agenton with native Pydantic AI modules (#43833)
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
2026-10-10 12:53:47 +00:00