Commit Graph
139 Commits
Author SHA1 Message Date
twwu 4d06466b67 Merge branch 'main' into feat/dify-builder
# Conflicts:
#	api/services/trigger/webhook_service.py
#	api/tests/unit_tests/core/plugin/impl/test_oauth.py
2026-11-10 09:35:18 +08:00
非法操作 dd21c981f2 refactor(api): inject trigger subscription renewal and event execution (#44653) 2026-11-09 02:42:52 +00:00
twwu 72919b6a55 Merge main into feat/dify-builder 2026-11-06 16:14:53 +08:00
周龙杰 da24f6d133 test(api): verify workflow publish transactions with SQLite (#45142) 2026-11-06 04:02:44 +00:00
twwu 353ef4f832 fix(workflow): simplify page-close draft saving
Remove the save-receipt schema, predecessor tracking, and collaboration protocol extensions from 488a8d9307. Dispatch keepalive saves immediately while later draft operations wait for completion, retaining existing hash checks and stale-response protection.

Concurrent-save reconciliation remains deferred. Validated with 110 frontend tests, 141 backend tests, Web type checking, and the full repository static check.
2026-11-03 16:40:08 +08:00
twwu 488a8d9307 fix(workflow): preserve final draft saves across editor teardown
Dispatch keepalive snapshots before teardown and persist save receipts in
the draft transaction. Validate base receipts and named predecessors to
reject stale saves even when the graph returns to its original hash.

Retain unacknowledged saves and variable patches for recovery, propagate
receipts through refresh, import, and collaboration, and support UUID
generation on HTTP deployments. Include the migration and API contracts.
2026-11-03 16:16:39 +08:00
twwu 44636d383d Merge main into feat/dify-builder 2026-11-03 13:33:30 +08:00
4293584598 ci: bump type checker (#44015)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
2026-10-30 11:22:51 +00:00
twwu 35c5afb0c5 Merge branch 'main' into feat/dify-builder 2026-10-26 17:50:58 +08:00
Charles Yao fc7f58a51a fix(api): use configured sessions for draft save receipts 2026-10-25 04:15:29 -07:00
Charles Yao ed736b822d fix(workflow): persist recoverable draft coordination 2026-10-25 03:24:38 -07:00
Charles Yao c2e4cb9332 fix(api): serialize initial app workflow draft creation 2026-10-25 02:45:42 -07:00
Charles Yao 0d3ecac17b fix(api): preserve draft configuration during graph saves 2026-10-25 02:25:49 -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
Stephen Zhou 05c538e695 refactor(web): migrate console API helpers to generated contracts (#44430) 2026-10-20 12:42:37 +00: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
-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
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
twwu 22d109c1dc Merge branch 'main' into feat/dify-builder 2026-10-16 12:14:03 +08:00
7cafd65d54 refactor(web): migrate handwritten console API calls to the generated oRPC contract (#44169)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-16 03:47:31 +00:00
twwu 2b5253fe17 Merge branch 'main' into feat/dify-builder 2026-10-16 10:40:30 +08: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
twwu d2129f25ee Merge branch 'main' into feat/dify-builder 2026-10-15 17:42:16 +08:00
Asuka MinatoandCodex d5ce917839 ci: enable Ruff B905 (#44094)
Co-authored-by: Codex <codex@openai.com>
2026-10-15 01:01:21 +00:00
twwu 412e0ec953 Merge branch 'main' into feat/dify-builder 2026-10-14 17:31:51 +08:00
33b1c57f9d feat: document API errors per code and narrow them with oRPC defined errors (#44001)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-14 08:25:50 +00:00
Charles Yao cbeaad8ea7 fix(workflow): allow presaves of an existing empty draft 2026-10-12 22:26:29 -07:00
Charles Yao 084326a430 feat(builder): bind installed draft tools with fresh setup admission 2026-10-12 11:41:44 -07:00
Byron.wang 2f20c7d958 refactor(api): separate workspace RBAC controllers and application service (#43323) 2026-10-10 09:46:01 +00:00
JoelandYansong Zhang c497e930a6 fix(workflow): confirm before saving an empty canvas (#43668)
Co-authored-by: Yansong Zhang <916125788@qq.com>
2026-10-09 07:04:15 +00:00
d86435ee1e fix(workflow): coerce non-uuid variable ids and warn on skipped branches (#42750)
Co-authored-by: Cursor <cursoragent@cursor.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-09-25 08:16:41 +00:00
yyh ef33df5e22 refactor(api): tighten app detail response schema (#42876) 2026-09-24 08:53:49 +00:00
Byron.wangandautofix-ci[bot] 635143cb88 refactor(api): thin console app controllers and separate application boundaries (#42671)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-24 06:17:38 +00:00
盐粒 Yanli 2a66bf6f09 refactor(workflow): prepare inputs by entry node type 🤖🤖🤖 (#42595) 2026-09-21 05:26:23 +00:00
4724779fe2 refactor(api): migrate remaining RESTX models to Pydantic (#40399)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Byron Wang <byron@dify.ai>
2026-09-09 09:50:44 +00:00
Asuka Minatoandautofix-ci[bot] f71047f31a test: migrate console workflow sessions and ORM models to SQLite (#40563)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-09 08:50:02 +00:00
Keith f3e5f41a3c refactor(models): pass session into WorkflowNodeExecutionModel accessors (#41968) 2026-09-08 09:31:08 +00:00
Xiyuan Chenandautofix-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
jjj-n 09054169c4 refactor(models): pass session into Workflow accessors (#41464) 2026-08-29 14:28:15 +00:00
Terminator666666andTerminator666666 f8dd276e2c refactor(controllers/console): dep-inject workflow payloads with @model_validate (#41244)
Co-authored-by: Terminator666666 <Terminator666666@users.noreply.github.com>
2026-08-28 14:49:46 +00:00
WH-2099 edc805c453 fix(api): enforce app-scoped access on indirect resources (#40893) 2026-08-21 00:52:39 +00:00
盐粒 Yanliandyyh 013b328555 fix(agent): complete ownership-aware deletion lifecycle (#40888)
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-08-20 07:48:02 +00:00
7aba539e82 feat: app deployment v2 (#39829)
Co-authored-by: zhangx1n <zhangxin@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-12 01:55:36 +00:00
-LAN-andautofix-ci[bot] aab31292d8 feat(workflow): support LLM environment variables (#39125)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-04 06:17:13 +00:00
盐粒 Yanliandautofix-ci[bot] a048f35099 refactor: introduce agent working environment architecture (#39480)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-28 13:16:05 +00:00
Escape0707 04158ac8ea ci: replace custom noqa markers with guard ignores (#39679) 2026-07-28 08:52:12 +00:00
yyhandautofix-ci[bot] 05a25943e7 fix(e2e): align fixtures with generated contracts (#39394)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-22 05:09:23 +00:00
6022939bf0 fix: prevent hidden-tab collaboration leader from saving stale drafts (#38997)
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-07-20 06:58:01 +00:00