Commit Graph
1154 Commits
Author SHA1 Message Date
twwu 58650e82e2 test(builder): align CI checks with session stream protocol 2026-11-10 09:52:16 +08:00
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
Tanishq 99683fe2e8 fix(trigger): store webhook uploads under the trigger end user (#44995) 2026-11-09 18:39:05 +00:00
twwu ffc2f267d0 fix(builder): unify native test streaming and controls
Observe Builder commands and native tests on one session stream. Reconnect to the retained Run without submitting another test.

Use Stop and Resume for task control during native tests and keep approval details available. Allow retained local sandbox bindings to be checked without reading restricted ancestor directories.

Refs: ENG-1448
2026-11-09 20:18:12 +08:00
XiaoBa 23ea5e3562 fix: validate retrieval attachment UUIDs and tolerate invalid image history (#45915) 2026-11-09 11:36:53 +00:00
Eddy ZHANG 343094f7cb test(api): strictly type runtime credential resolver tests (#45893) 2026-11-09 09:14:21 +00:00
yetugeandyetuge 071905e7b8 test(api): bring workspace model provider tests under strict pyrefly (#45878)
Co-authored-by: yetuge <yetuge@users.noreply.github.com>
2026-11-09 09:11:20 +00:00
非法操作 e37e727184 refactor(api): inject trigger workflow dispatch and execution logging (#45195) 2026-11-09 08:44:55 +00:00
非法操作 2626e944ec refactor(api): inject trigger subscription renewal scheduling (#45190) 2026-11-09 07:28:38 +00:00
非法操作 b6d2d2170d refactor(api): inject app trigger publication and quota status lifecycle (#45188) 2026-11-09 06:29:12 +00:00
twwu a53e5bc4bf fix(builder): honor the feature flag across editor and APIs 2026-11-09 11:50:43 +08:00
非法操作 cc53107f82 refactor(api): inject workflow trigger subscription bindings (#45172) 2026-11-09 03:03:35 +00:00
非法操作 dd21c981f2 refactor(api): inject trigger subscription renewal and event execution (#44653) 2026-11-09 02:42:52 +00:00
twwu 84abb5af06 fix(builder): resolve merge CI regressions 2026-11-09 10:26:56 +08:00
twwu 661a8d5fdd Merge branch 'main' into feat/dify-builder 2026-11-09 10:15:19 +08:00
Charles Yao a9e0e739c9 feat(builder): integrate coordinated confirmed binding recovery 2026-11-06 09:38:50 -08:00
yetugeandyetuge b021e559c9 test(api): annotate console app message tests for strict pyrefly (#45727)
Co-authored-by: yetuge <yetuge@users.noreply.github.com>
2026-11-06 10:59:31 +00:00
twwu 15b8bb5473 Merge latest main into feat/dify-builder 2026-11-06 16:20:24 +08:00
twwu 72919b6a55 Merge main into feat/dify-builder 2026-11-06 16:14:53 +08:00
非法操作 a83ce881a1 refactor(api): inject plugin dynamic option queries (#44576) 2026-11-06 08:08:45 +00:00
非法操作 138ad48d30 refactor(api): inject plugin trigger endpoint dispatch (#44547) 2026-11-06 07:05:04 +00:00
周龙杰 da24f6d133 test(api): verify workflow publish transactions with SQLite (#45142) 2026-11-06 04:02:44 +00:00
Charles Yao 3a8647288f test: use real trigger subscription records and results 2026-11-05 02:55:19 -08:00
Charles Yao a05dbb077c fix: move trigger subscription deletion transaction into service 2026-11-05 02:40:30 -08:00
非法操作 803f5d3d9c refactor(api): isolate trigger subscription management (#44541) 2026-11-05 09:54:35 +00:00
twwu d9bd071d1d Merge branch 'main' into feat/dify-builder
# Conflicts:
#	AGENTS.md
#	api/controllers/console/socketio/workflow.py
#	api/services/workflow_runtime/entry.py
#	api/tasks/app_generate/workflow_execute_task.py
#	api/tests/unit_tests/services/test_app_service.py
#	web/app/components/apps/app-list-catalog.tsx
#	web/app/components/apps/list.tsx
#	web/app/components/workflow-app/components/__tests__/workflow-main.spec.tsx
#	web/app/components/workflow-app/components/workflow-main.tsx
#	web/app/components/workflow-app/draft/use-draft-save.ts
#	web/app/components/workflow/collaboration/core/collaboration-manager.ts
#	web/app/components/workflow/collaboration/hooks/use-collaboration.ts
#	web/app/components/workflow/nodes/human-input-v2/__tests__/recipients.spec.tsx
#	web/app/components/workflow/operator/zoom-in-out.tsx
2026-11-05 17:17:16 +08:00
非法操作 45279b704d feat: restrict SaaS workflow collaboration to paid plans (#45549) 2026-11-05 08:19:37 +00:00
非法操作 107bbf85ca refactor(api): inject trigger subscription builder lifecycle (#44532) 2026-11-05 08:18:01 +00:00
非法操作 db3ffcc92b refactor(api): isolate trigger provider and subscription queries (#44514) 2026-11-05 07:20:07 +00:00
Tianyu Cai ce7ccc3754 fix(api): use the dataset doc_form when document requests omit it (#45581) 2026-11-05 06:55:00 +00:00
非法操作 11517691d2 refactor(api): isolate trigger OAuth authorization flow (#44505) 2026-11-05 06:21:44 +00:00
EvanandClaude Opus 5.5 fc53a9fed3 refactor(models): remove implicit sessions from workflow_run and credential accessors (#45168)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 04:49:45 +00:00
Evan 5d0c0b6657 refactor(api): inject sessions into RAG pipeline console controllers (#45605) 2026-11-05 04:17:24 +00:00
Felix Shiandshi-felix bd1ed239e9 test(api): annotate five controller test modules for strict pyrefly (#45458)
Co-authored-by: shi-felix <204130665+shi-felix@users.noreply.github.com>
2026-11-04 15:56:14 +00:00
非法操作 b501b64f82 refactor(api): isolate trigger OAuth client configuration (#44469) 2026-11-04 12:02:15 +00:00
Yufeng HeandByron Wang cf7ac6120f fix: skip empty tool entries in agent_chat config validation (#37775)
Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
Co-authored-by: Byron Wang <byron@dify.ai>
2026-11-04 10:39:42 +00:00
非法操作 bc675eb0e0 fix(api): populate snippet defaults before response (#45496) 2026-11-04 03:16:46 +00:00
Charles Yao 04d1b5c3d2 test(socketio): use typed probes for draft cleanup 2026-11-03 04:53:19 -08:00
Charles Yao 94067a45ca Merge latest main into feat/dify-builder 2026-11-03 04:31:01 -08:00
7e9edeab42 test(api): annotate three test modules so strict pyrefly can check them (#45337)
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-11-03 10:07:36 +00:00
非法操作andautofix-ci[bot] 52ae152e00 fix(api): reject invalid model provider icon paths (#45445)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-03 10:01:37 +00:00
28dabd92ac feat(agent): add opt-in show thinking toggle for Agent v2 chat (#45427)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-11-03 09:49:33 +00:00
非法操作 cf38e6ad67 feat(api): add workflow collaboration metrics (#45446) 2026-11-03 09:40:53 +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 e3ed7efa04 Merge branch 'main' into feat/dify-builder 2026-11-03 16:26:37 +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
Stephen Zhou 193fdfa6ce test(api): cut per-test overhead and fixed waits in unit tests (#45388) 2026-11-03 07:00:56 +00:00
twwu 45ca55e266 fix(builder): align backend contracts and fixtures with main CI 2026-11-03 14:53:59 +08:00
Eddy ZHANG 074e9e0b92 refactor(api): annotate KnowledgeFS Service API return types (#45295) 2026-11-03 06:05:40 +00:00
-LAN-andautofix-ci[bot] 0257f20b48 fix(openapi): exclude directories from skill import file counts (#45393)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-03 05:48:00 +00:00