copilot-swe-agent[bot] and GitHub
01419f4b4e
test: add tests for workflow-generator to improve codecov
2026-06-30 06:59:44 +00:00
copilot-swe-agent[bot] and GitHub
e4c97139c0
Merge PR 38175
2026-06-30 06:51:42 +00:00
Sanket Shakya and GitHub
9521c7fe7d
feat(mcp): support dynamic HTTP request headers in MCPClient ( #37938 )
2026-06-30 03:28:24 +00:00
995ba6b00e
fix(api): skip uuidv7() creation when PostgreSQL 18 provides it natively ( #36998 )
...
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai >
2026-06-30 02:34:27 +00:00
crazywoola and Claude Opus 4.8
a66b3559aa
fix(workflow-generator): stream SSE via compact_generate_response
...
pyrefly rejected flask.stream_with_context called with a generator
(constrained AnyStr overload — "no-matching-overload"), failing the
Python type-check CI. Switch the streaming endpoint to the repo's
established SSE helper compact_generate_response (which wraps
_stream_with_request_context), so it type-checks and still preserves
request context during iteration.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-30 09:12:10 +08:00
Crazywoola and GitHub
89cef33b45
Merge branch 'main' into feat/enhance-dsl-generation
2026-06-30 09:03:20 +08:00
autofix-ci[bot] and GitHub
40f977d8bc
[autofix.ci] apply automated fixes
2026-06-29 16:38:13 +00:00
crazywoola and Claude Opus 4.8
d859922943
feat(workflow-generator): enhance the AI auto-creation flow end-to-end
...
Implements the stage 1–5 program from #38174 (3.1 dropped per request).
Backend (api/)
- New POST /workflow-generate/suggestions: short, workspace-grounded example
instructions generated on the tenant default model; soft-fails to {suggestions: []}.
- New POST /workflow-generate/stream: SSE plan-first generation that emits the
planner result (plan) then the built graph (result), reusing the existing
planner/builder/validate stages — the streamed result provably equals the
blocking /workflow-generate return.
- mode:"auto" on both generate endpoints; a lightweight classifier resolves the
concrete mode before planning and it is echoed back as `mode`.
Frontend (web/)
- Remove the low-value "Ideal output" field from the modal.
- Replace the static example chips with AI-generated, workspace-grounded
suggestions (cached per session per mode, ↻ refresh, silent static fallback).
- Plan-first streaming: show the planner outline as it lands, then the graph
(replaces the guessed phase timer) via an isolated SSE consumer that reuses
the existing cookie-auth/CSRF/abort setup without touching handleStream.
- Review stage: planner metadata header (icon + name), an actionable error panel
(Regenerate / Install tools / affected node), a /refine diff summary, and a
post-apply nudge toward cmd+k /refine.
- Entry & input: ⌘/Ctrl+Enter to generate, autofocus, palette inline capture
(`/create workflow <text>`), an "Auto" submenu option, and last-instruction
resume across opens.
i18n keys added across all 23 locales. New tests cover the suggestions component
(fetch → fallback → refresh), the graph diff util, and the updated /create command.
Refs #38174
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-30 00:32:20 +08:00
wangxiaolei and GitHub
49a92f096f
perf: make command rbac-migrate-member-roles use less mem and make it… ( #38151 )
2026-06-29 12:42:10 +00:00
非法操作 and GitHub
fa1ac75922
fix: editor can view the logs ( #38165 )
2026-06-29 10:05:32 +00:00
林玮 (Jade Lin) and GitHub
cb35c6fa98
perf(api): retrieve published workflows via app.workflow_id ( #38153 )
2026-06-29 09:51:21 +00:00
shiyuanfang2nd and GitHub
07b5dcbb19
fix(vdb): remove deprecated SQL options for ADB-PG 7.0 compatibility ( #38004 )
2026-06-29 09:30:01 +00:00
Blackoutta and GitHub
8a6ce28855
fix: multimodal segment attachment indexing ( #38080 )
2026-06-29 09:18:29 +00:00
Xiyuan Chen and GitHub
0d5f43520c
fix(api): wire dedicated timeout into inner RBAC requests ( #38150 )
2026-06-29 07:03:50 +00:00
d8f3be4bcd
fix(api): isolate side-effect database writes ( #37895 )
...
Co-authored-by: FFXN <31929997+FFXN@users.noreply.github.com >
2026-06-29 06:20:34 +00:00
ca2755e0c1
feat: refine snippet siderbar and support RBAC. ( #38134 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-29 06:03:40 +00:00
wangxiaolei and GitHub
93d6506443
fix: CAN_REPLACE_LOGO should be false ( #38126 )
2026-06-29 01:52:58 +00:00
Byron.wang and GitHub
8218694691
fix: improve workflow run archive idempotency and batching ( #38027 )
2026-06-27 11:09:57 +08:00
8d09b32cd5
chore: inject session ( #37941 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-06-26 13:42:47 +00:00
52c106b532
feat(agent-v2): sync nightly updates to main (2026-06-25) ( #37915 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: Yansong Zhang <916125788@qq.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 13:13:35 +00:00
Evan and GitHub
4fbfedd287
refactor: replace patch logger with caplog in test_version.py ( #38029 )
2026-06-26 12:07:44 +00:00
051f4b32e3
feat(web): add customizable input placeholder for Agent/Chatflow/Chatbot web app ( #37790 )
...
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 09:57:31 +00:00
林玮 (Jade Lin) and GitHub
1dbda1463e
feat(api): cache workflow provider configurations ( #37980 )
2026-06-26 08:04:37 +00:00
3f2ef24755
refactor: pass db session into service calls ( #37403 ) ( #38016 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 07:53:27 +00:00
Escape0707 and GitHub
eb4ec93cea
chore: migrate account role test to testcontainers ( #38010 )
2026-06-26 05:51:14 +00:00
Xiyuan Chen and GitHub
fa6f4b0ea5
refactor(api): enforce enums over string literals on openapi surface ( #38009 )
2026-06-26 05:48:21 +00:00
a66b1de477
refactor: Use pytest caplog instead of logger patching in test_spec.py ( #37997 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 04:48:22 +00:00
677ab01806
refactor(tests): use caplog in workflow collaboration service tests ( #37468 ) ( #37991 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-26 03:14:06 +00:00
1c5e1280cb
feat(webapp): display app description on chat and text-generation app screens ( #37345 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 02:03:16 +00:00
0035d90e36
fix(api): require edit access for trace config changes ( #37973 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 00:51:39 +00:00
chariri and GitHub
2e9c0a3c7a
refactor(api): migrate response contract tooling to BaseModel ( #37950 )
2026-06-26 00:11:04 +00:00
ojasarora.eth and GitHub
bb921bcc45
test: replace logger mock with caplog in workflow collaboration test ( #37971 )
2026-06-25 16:45:59 +00:00
QuantumGhost and GitHub
4f4ac27de2
chore(api): surface pyrefly output on type-check failures ( #37934 )
2026-06-25 13:47:10 +00:00
Yunlu Wen and GitHub
3aa26fb637
chore: bump versions to 1.15.0 ( #37929 )
2026-06-25 12:02:38 +00:00
林玮 (Jade Lin) and GitHub
aa37c1d833
fix(api): tongyi credential compatibility ( #37942 )
2026-06-25 10:25:24 +00:00
e90c7ab8a7
refactor(tests): replace logger mocks with caplog ( #37468 ) ( #37922 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-25 09:48:43 +00:00
40119fef44
feat: update monitor permission key and plugin permission key ( #37937 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-25 09:41:38 +00:00
72a03c2d6a
refactor(test): replace SimpleNamespace with real UploadFile model in test_dataset_models.py ( #37935 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-25 09:35:24 +00:00
QuantumGhost and GitHub
b33e8f0ddb
fix: improve error handling for workflow execution ( #37919 )
2026-06-25 07:36:34 +00:00
8f74e176ca
fix: remove redundant snippets permissions ( #37921 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-25 07:27:16 +00:00
Gateway and GitHub
abf2986299
build(deps): update Bleach sanitizer security fix ( #37860 )
2026-06-25 06:32:48 +00:00
d93989bfc0
chore: add type to test ( #37876 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-25 03:01:09 +00:00
31a50a3b20
fix: eagerly validate conversation before generator to prevent hanging ( #37224 )
...
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
2026-06-25 02:57:33 +00:00
9fc2925b00
feat: delete member delete rbac binding ( #37904 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-25 02:08:07 +00:00
2483c091aa
refactor: replace logger patches with pytest caplog in tests ( #37890 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-06-24 21:40:06 +00:00
4964359961
refactor(tests): use caplog in web login tests ( #37889 )
...
Co-authored-by: lin-hongkuan <lin-hongkuan@users.noreply.github.com >
2026-06-24 14:44:01 +00:00
d87764b0f8
feat: filter dataset operator and add miss permission key ( #37867 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-24 09:56:28 +00:00
Jiang and GitHub
d135dab241
fix: Lindorm vector store errors caused by the update of opensearch-py ( #37862 )
2026-06-24 09:54:06 +00:00
fe62177ba5
fix: add is_cloud_only for templates ( #37846 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
2026-06-24 08:29:54 +00:00
ce6297bed2
chore(deps): bump dep versions for CVE fixes ( #37861 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2026-06-24 08:22:55 +00:00