Commit Graph

782 Commits

Author SHA1 Message Date
hjlarry fbeb35fbb5 should be SANDBOX_EXPIRED_RECORDS_CLEAN_GRACEFUL_PERIOD 2025-12-17 14:54:48 +08:00
hjlarry a80194fe06 use SANDBOX_RECORDS_CLEAN_GRACEFUL_PERIOD env 2025-12-17 14:46:56 +08:00
crazywoola 208a81d224
Merge branch 'main' into p332 2025-12-17 10:27:23 +08:00
hjlarry 774286797d add batch limit 2025-12-17 10:04:11 +08:00
wangxiaolei dda7eb03c9
feat: _truncate_json_primitives support file (#29760) 2025-12-17 08:10:43 +09:00
hjlarry c42e7c8a97 add grace_deadline logic 2025-12-16 15:16:15 +08:00
非法操作 7695f9151c
chore: webhook with bin file should guess mimetype (#29704)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maries <xh001x@hotmail.com>
2025-12-16 13:34:27 +08:00
wangxiaolei 187450b875
chore: skip upload_file_id is missing (#29666) 2025-12-15 21:09:53 +08:00
zyssyz123 bd7b1fc6fb
fix: csv injection in annotations export (#29462)
Co-authored-by: hj24 <huangjian@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-15 17:14:05 +08:00
autofix-ci[bot] f5952b3884
[autofix.ci] apply automated fixes 2025-12-15 08:19:04 +00:00
hjlarry 5f957a115a add dry run param for clear command 2025-12-15 16:17:05 +08:00
非法操作 7cd162ad3d
Merge branch 'main' into p332 2025-12-15 15:38:57 +08:00
zyssyz123 724cd57dbf
fix: dos in annotation import (#29470)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-15 15:22:04 +08:00
Sai 1e47ffb50c
fix: does not save segment vector when there is no attachment_ids (#29520)
Co-authored-by: sai <>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-15 12:32:52 +08:00
hjlarry 2f635173a8 fix mypy 2025-12-12 14:07:19 +08:00
hjlarry 2e6d71c861 fix CI 2025-12-12 13:51:57 +08:00
Jyong 04d09c2d77
fix: hit-test failed when attachment id is not exist (#29563) 2025-12-12 13:45:00 +08:00
wangxiaolei ac40309850
perf: optimize save_document_with_dataset_id (#29550) 2025-12-12 13:14:45 +08:00
hjlarry e2cceee024 refactor the workflowNodeExecution 2025-12-12 12:28:52 +08:00
hjlarry a194d09b0a refactor the repo and service 2025-12-12 12:28:31 +08:00
hjlarry 03993ed4f7 rename the get_runs_batch_for_cleanup 2025-12-12 09:26:40 +08:00
hjlarry 8df80e0992 fix CI 2025-12-11 17:20:52 +08:00
-LAN- 063b39ada5
fix: conversation rename payload validation (#29510) 2025-12-11 18:05:41 +09:00
hjlarry 46d824b17f refactor to repo layer 2025-12-11 16:56:54 +08:00
hjlarry 22443df772 add batch in get_info_bulk 2025-12-11 16:08:35 +08:00
hjlarry cd51bfb568 fix CI 2025-12-11 15:39:33 +08:00
autofix-ci[bot] 66ee07154d
[autofix.ci] apply automated fixes 2025-12-11 07:21:13 +00:00
hjlarry d8578dd4ba add batch get plan api 2025-12-11 15:15:50 +08:00
hjlarry e14a5797d4 add workflow run clean up 2025-12-11 12:02:42 +08:00
wangxiaolei 266d1c70ac
fix: fix custom model credentials display as plaintext (#29425) 2025-12-11 09:48:45 +08:00
Jyong 784008997b
fix parent-child check when child chunk is not exist (#29426) 2025-12-10 18:45:43 +08:00
wangxiaolei c24835ca87
chore: update the error message (#29325) 2025-12-09 15:29:04 +08:00
Jyong 9affc546c6
Feat/support multimodal embedding (#29115)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-09 14:41:46 +08:00
wangxiaolei a0c8ebf487
chore: not slient call external service error (#29290) 2025-12-09 10:25:33 +08:00
hj24 3cb944f318
feat: enable tenant isolation on duplicate document indexing tasks (#29080)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-08 17:54:57 +08:00
yangzheli 71497954b8
perf(api): optimize tool provider list API with Redis caching (#29101)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-08 15:34:03 +09:00
Asuka Minato 05fe92a541
refactor: port reqparse to BaseModel (#28993)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-08 15:31:19 +09:00
QuantumGhost 91667e3c1d
feat(api): Implement EventManager error logging and add coverage (#29204)
- Ensure `EventManager._notify_layers` logs exceptions instead of silently swallowing them 
  so GraphEngine layer failures surface for debugging
- Introduce unit tests to assert the logger captures the runtime error when collecting events
- Enable the `S110` lint rule to catch `try-except-pass` patterns
- Add proper error logging for existing `try-except-pass` blocks.
2025-12-08 09:40:40 +08:00
heyszt 10b59cd6ba
add service layer OTel Span (#28582)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 21:58:32 +08:00
Asuka Minato 7396eba1af
refactor: port reqparse to Pydantic model (#28949)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-05 13:05:53 +09:00
wangxiaolei e924dc7b30
chore: ignore redis lock not owned error (#29064)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-04 10:14:28 +08:00
非法操作 3e5f683e90
feat: dark theme icon support (#28858) 2025-12-04 09:29:00 +08:00
CrabSAMA 0a2d478749
Feat: Add "Open Workflow" link in workflow side panel (#28898) 2025-11-29 18:47:12 +08:00
hsparks-codes ec3b2b40c2
test: add comprehensive unit tests for FeedbackService (#28771)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-28 11:33:56 +08:00
CrabSAMA 820925a866
feat(workflow): workflow as tool output schema (#26241)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-11-27 16:50:48 +08:00
jiangbo721 2551f6f279
feat: add APP_DEFAULT_ACTIVE_REQUESTS as the default value for APP_AC… (#26930) 2025-11-27 10:51:48 +08:00
Asuka Minato 2731b04ff9
Pydantic models (#28697)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-26 22:44:14 +08:00
QuantumGhost 1c1f124891
Enhanced GraphEngine Pause Handling (#28196)
This commit: 

1. Convert `pause_reason` to `pause_reasons` in `GraphExecution` and relevant classes. Change the field from a scalar value to a list that can contain multiple `PauseReason` objects, ensuring all pause events are properly captured.
2. Introduce a new `WorkflowPauseReason` model to record reasons associated with a specific `WorkflowPause`.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-26 19:59:34 +08:00
Ethan Lee 665d49d375
Fixes session scope bug in FileService.delete_file (#27911)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-11-26 16:21:33 +08:00
非法操作 1241cab113
chore: enhance the hint when the user triggers an invalid webhook request (#28671) 2025-11-26 14:00:16 +08:00