Commit Graph
4141 Commits
Author SHA1 Message Date
Charles Yao 6f60a71756 fix(builder): complete approved insertions and bound unchanged recovery 2026-10-24 03:47:04 -07:00
Charles Yao 8c52a91ea0 feat(builder): fence task stop and synchronize safe resume 2026-10-23 16:40:43 -07:00
Charles Yao 186deb854d feat(builder): unify native test controls with session actions 2026-10-22 19:19:47 -07:00
Charles Yao 2c8f3041a5 fix(builder): ground tool outputs and repair confirmed business failures 2026-10-22 14:29:35 -07:00
Charles Yao 8e00366280 fix(builder): ground native generation and explicit acceptance evidence 2026-10-22 03:20:00 -07:00
Charles Yao aeefe548ff Replace remaining dynamic runtime access with explicit capabilities 2026-10-20 17:41:17 -07:00
Charles Yao f5050842fe Fix Builder migration portability and typed backend CI contracts 2026-10-20 17:33:54 -07: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
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
672a627fa5 ci: enable Ruff E402 (#44123)
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:16:16 +00:00
Eddy ZHANGandAsuka Minato e3e1c39315 refactor(api): bring vector store provider sources under type checking (#44237)
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-10-19 00:16:02 +00:00
Asuka MinatoandCodex b953e69a0e ci: enable Ruff B903 (#44117)
Co-authored-by: Codex <codex@openai.com>
2026-10-18 11:46:25 +00:00
Liu Ziming ebb2706139 fix(ops): bind tracing service accounts to the app workspace (#44208) 2026-10-18 05:44:41 +00:00
David AlladaandStream 3941e2d925 fix: don't stringify list values for union-typed MCP tool parameters (#44182)
Co-authored-by: Stream <Stream_2@qq.com>
2026-10-17 17:24:11 +00:00
lorenzozane 743be5c638 fix(rag): preserve newlines in recursive character fallback (#44179) 2026-10-16 11:43:09 +00:00
林玮 (Jade Lin) 73c2c696ff fix(api): align hosted moderation provider validation (#44200) 2026-10-16 07:50:09 +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
Asuka MinatoandCodex 6bdc670766 ci: enable Ruff N806 (#44116)
Co-authored-by: Codex <codex@openai.com>
2026-10-16 02:11:01 +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
Xiyuan Chen 8c5eb6d16e feat(api): let agents build, configure and ship Dify apps over openapi (#43067) 2026-10-16 00:45:49 +00:00
Asuka MinatoandCodex 1f3fdbc0d3 ci: enable Ruff SIM105 (#44112)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 11:14:20 +00:00
Asuka MinatoandCodex cd8301a468 ci: enable Ruff SIM108 (#44113)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 09:45:52 +00:00
twwu d2129f25ee Merge branch 'main' into feat/dify-builder 2026-10-15 17:42:16 +08:00
twwu dd08eb9f7a feat(builder): add workflow summaries to plan cards 2026-10-15 17:26:41 +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
Lokesh Chauhan 36f9bb69e6 fix(mcp): collect all tool discovery pages (#43842) 2026-10-15 05:30:36 +00:00
Power 9e771c03d3 refactor(tools): remove redundant nested cast in MCP tool (#44132) 2026-10-15 05:02:00 +00:00
Asuka MinatoandCodex 14f863a23f ci: enable Ruff FURB113 (#44109)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 05:00:19 +00:00
Asuka MinatoandCodex 7b467ec651 ci: enable Ruff SIM103 (#44110)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 05:00:16 +00:00
呆萌闷油瓶 e67479bd8c perf(rag): reduce knowledge retrieval post-processing overhead (#43665) 2026-10-15 02:47:15 +00:00
Asuka MinatoandCodex c99db12d61 ci: enable Ruff SIM113 (#44102)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 01:02:18 +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
Charles Yao 13368bd5fa fix(builder): bind condition repairs to failed-run evidence
Use authorized historical workflow graphs and bounded sanitized condition and producer-type facts in Build, Edit and Fix diagnosis. Refuse repairs with missing or ambiguous runtime evidence, changed failed IF identities, or unsupported comparison semantics at proposal and write boundaries.

Preserve threshold, selector and graph identity for proven numeric equality-family repairs; withhold explicit credential values before projection. Keep restricted execution admission unchanged.

Validated in isolated Linux: 3067 normal-selection tests and 487 related tests pass, 15 Python files pass Ruff. Scoped independent source review passes; existing Pyrefly recursion warning remains. Live immutable Local/Dev E2E follows normal image qualification.
2026-10-14 15:44:20 -07:00
Shreyansh Jainandcrazywoola f77facfe65 fix(structured_output): skip reasoning JSON when selecting output (#44005)
Co-authored-by: crazywoola <427733928@qq.com>
2026-10-14 21:59:15 +00:00
leilei3167 905f6b7782 fix(api): accept MCP protocol version 2025-11-25 (#44066) 2026-10-14 21:39:37 +00:00
Charles Yao 1c31ae7bf5 fix(builder): ground constant producers and native capabilities 2026-10-14 08:54:24 -07:00
Asuka MinatoandCodex f2033a4fc9 ci: enable Ruff B006 (#44099)
Co-authored-by: Codex <codex@openai.com>
2026-10-14 15:21:32 +00:00
Asuka MinatoandCodex 8e358bb131 ci: enable Ruff SIM210 (#44095)
Co-authored-by: Codex <codex@openai.com>
2026-10-14 15:10:07 +00:00
Charles Yao ccf379392d fix(builder): ground native HTTP outputs and numeric conditions 2026-10-14 07:46:09 -07:00