Commit Graph
881 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
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
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
twwu a53e5bc4bf fix(builder): honor the feature flag across editor and APIs 2026-11-09 11:50:43 +08:00
非法操作 dd21c981f2 refactor(api): inject trigger subscription renewal and event execution (#44653) 2026-11-09 02:42:52 +00:00
twwu 661a8d5fdd Merge branch 'main' into feat/dify-builder 2026-11-09 10:15:19 +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
非法操作 11517691d2 refactor(api): isolate trigger OAuth authorization flow (#44505) 2026-11-05 06:21:44 +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
非法操作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
twwu 44636d383d Merge main into feat/dify-builder 2026-11-03 13:33:30 +08:00
Felix ShiandFelix Shi a8631e5bfe test(api): strictly type four controller unit tests (#45332)
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com>
2026-11-02 18:42:30 +00:00
96b1b20c76 feat(api): validate models before knowledge base upgrades (#45312)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
2026-11-02 11:13:21 +00:00
-LAN- 43d8c3715a refactor(tracing): one trace pipeline behind a minimal provider interface (#44673) 2026-11-02 12:16:49 +08:00
64a99c5556 chore: bump restx. now deco has type (#37391)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
2026-11-02 03:24:33 +00:00
Charles Yao db6d060dd5 fix(builder): align CI receipts and shared Console contracts 2026-11-01 01:06:47 -08:00
Charles Yao de2028bd92 fix(builder): correlate Fix decision receipts with action transport IDs 2026-11-01 00:48:52 -07:00
QuantumGhost 9dd087b885 feat(hitl): expose bound IM providers in contact options (#45233) 2026-11-01 07:48:22 +00:00
Charles Yao 99de1f14b6 fix(builder): document correlated Fix recovery error responses 2026-11-01 00:11:09 -07:00
Charles Yao 9b3f60c18e fix(builder): expose correlated read-only Fix control receipts 2026-11-01 00:01:15 -07:00
Charles Yao 94c7ee305d fix(builder): expose current lifecycle settlement without inferring cleanup 2026-10-31 23:07:10 -07:00
yyh 4c521a3c0a feat(api): type billing error reasons per proto service (#45203) 2026-10-31 14:07:12 +00:00
Peter PanandWH-2099 5907db83b0 fix(oauth): serialize and persist provider credential refreshes (#32195)
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-10-31 12:04:00 +00:00