Commit Graph

3829 Commits

Author SHA1 Message Date
NeatGuyCoding 6b720d9d04 minor fix: using Pydantic model_validate instead of deprecated parse_obj (#22239)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-16 10:57:08 +08:00
Jason Young 538b011e7e test: add comprehensive unit tests for console authentication and authorization decorators (#22439) 2025-07-16 10:07:01 +08:00
NeatGuyCoding 3abb18d540 fix(api): Fix potential thread leak in MCP BaseSession (#22169)
The `BaseSession` class in the `core/mcp/session` package uses `ThreadPoolExecutor` 
to run the receive loop but fails to properly clean up the executor and receiver 
future, leading to potential thread leaks.

This PR addresses this issue by:
- Initializing `_executor` and `_receiver_future` attributes to `None` for proper cleanup checks
- Adding graceful shutdown with a 5-second timeout in the `__exit__` method
- Ensuring the ThreadPoolExecutor is properly shut down to prevent resource leaks

This fix prevents memory leaks and hanging threads in long-running scenarios where 
multiple MCP sessions are created and destroyed.

Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-16 00:01:44 +08:00
Jacky Wu b6c11e40bc chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. (#22371) 2025-07-15 19:46:48 +08:00
quicksand a1b7bd620f fix: create api workflow run repository error (#22422) 2025-07-15 16:12:02 +08:00
-LAN- 9dd14af071 fix: conversatino statistic including data from debugger (#22412)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-15 15:45:45 +08:00
Hao Cheng 6cab149fd4 fix: generate deterministic operationId for root endpoints without one (#19888) 2025-07-15 14:19:55 +08:00
quicksand bf1c8fc62d fix: code result included "error" field (#22392) 2025-07-15 13:55:00 +08:00
湛露先生 cdbdd767f0 fix workflow node iterator . (#21008)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 10:55:49 +08:00
homejim 69b4ce95bd fix(plugin): introduce response_type parameter in plugin list API to enable paginated response support (#22251) 2025-07-15 10:10:37 +08:00
wanttobeamaster c8236637e3 tablestore vector support more method (#22225)
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
2025-07-15 09:58:48 +08:00
quicksand 6ad76e7d74 improve opik workflow_trace span name to node name (#22356) 2025-07-15 09:33:06 +08:00
Jacky Wu d16d203390 fix: close session before doing long latency operation (#22306) 2025-07-14 15:16:10 +08:00
-LAN- 417e538311 feat(api/repo): Allow to config repository implementation (#21458)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-14 14:54:38 +08:00
Novice 2305e5e4e9 fix: error parsing object type parameters for code node (#22230) 2025-07-14 10:37:26 +08:00
Jason Young df7a30b56a test: add comprehensive unit tests for login decorator (#22294) 2025-07-14 09:34:13 +08:00
znn 8f6a8f0674 fixing Enum part in backend and making it same as front end (#22296) 2025-07-14 09:34:04 +08:00
Bowen Liang 3b1f9d996a chore: bump ruff to 0.12.x (#22259) 2025-07-12 20:00:54 +08:00
NeatGuyCoding 149b3eca30 minor fix: wrong and (#22242) 2025-07-12 19:59:07 +08:00
NeatGuyCoding b7f2c667d4 Add unit test for account service (#22278) 2025-07-12 19:58:42 +08:00
Jason Young 328b28036b test: add comprehensive unit tests for PassportService with exception handling optimization (#22268) 2025-07-12 19:56:20 +08:00
Garden12138 5a84533523 fix:Fixed the problem of plugin installation failure caused by incons… (#22156) 2025-07-11 15:18:42 +08:00
K 43244827d2 fix: resolve Docker file URL networking issue for plugins (#21334) (#21382)
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-11 12:11:59 +08:00
诗浓 7a51c41819 feat(tool): add support for API key authentication via query parameter (#21656) 2025-07-11 10:39:20 +08:00
NeatGuyCoding 03c10cd4e4 minor fix: remove duplicates, fix typo, and add restriction for get mcp server (#22170)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-11 09:40:17 +08:00
诗浓 d9a13fd1d8 fix(custom_tool): omit optional parameters instead of setting them to None (#22171) 2025-07-10 20:56:45 +08:00
Maries 66b52287d8 chore(version): bump to 1.6.0 (#22136) 2025-07-10 17:49:32 +08:00
Novice 78192822e1 fix: add the default value to the dark icon (#22149) 2025-07-10 17:13:48 +08:00
非法操作 0ec9b6949f feat: support ping method for MCP server (#22144) 2025-07-10 16:14:46 +08:00
Yeuoly 585f3635b9 feat: add support for dark icons in provider and tool entities (#22081) 2025-07-10 14:43:31 +08:00
湛露先生 c21e7eee80 update worklow events logs. (#19871)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-07-10 14:21:34 +08:00
Novice c346bd7389 feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-10 14:01:34 +08:00
baonudesifeizhai b1f9c306cf Fix: Resolve issue with json_output (#22053) 2025-07-10 13:34:06 +08:00
Yongtao Huang b2041c6e8f Chore: rm useless import and vars (#22108) 2025-07-10 11:47:43 +08:00
NeatGuyCoding c90c5eea27 feat: add redis fallback mechanism #21043 (#21044)
Co-authored-by: tech <cto@sb>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-10 10:19:58 +08:00
luckylhb90 070fc6a118 optimize: batch embedding and qdrant write_consistency_factor parameter (#21776)
Co-authored-by: hobo.l <hobo.l@binance.com>
2025-07-10 10:16:59 +08:00
Jason Young 1a7a43ab4d test: add comprehensive unit tests for encrypter module (#22102) 2025-07-10 10:01:15 +08:00
wangsen3 c63028c6b7 Update clean_document_task.py (#22090) 2025-07-10 09:18:50 +08:00
-LAN- 195bda90bb feat(libs): Introduce extract_tenant_id (#22086)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-09 17:45:56 +08:00
wlleiiwang 6a53cb20eb Optimize the memory usage of Tencent Vector Database (#22079)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
2025-07-09 15:53:06 +08:00
Minamiyama a3b4cd58e3 Feat: description field for env variables (#21556) 2025-07-09 15:18:23 +08:00
Yongtao Huang 6067011ccc Remove tow unused files (#22022) 2025-07-09 09:28:26 +08:00
Jason Young f7879402d6 test: add comprehensive unit tests for UrlSigner (#22030) 2025-07-08 21:22:37 +08:00
Davide Delbianco 4381b351a6 Expose LLM usage in workflows (#21766)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-07-08 21:18:00 +08:00
Jason Young 148d8184a2 test: add unit tests for password validation and hashing (#22003) 2025-07-08 10:00:00 +08:00
NeatGuyCoding c2e792db5e minro fix: fix duplicate local import of ToolProviderType (#22013)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-08 09:49:53 +08:00
NeatGuyCoding 24ac7f7b4d feat: add unit tests and validation for aliyun tracing (#22012)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-08 09:32:30 +08:00
NeatGuyCoding 8899fc3b34 minro fix: fix a typo for aliyun (#22001)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-07 22:04:38 +08:00
Yongtao Huang 26a8730004 Chore: remove unreachable code (#21986) 2025-07-07 21:55:34 +08:00
quicksand 97a7845608 fix: document delete image files check file exist (#21991) 2025-07-07 21:53:40 +08:00