Skip to content

🐛 Bugfix: Move AIDP-related synchronous calls to a managed thread to avoid blocking other interfaces. - #4054

Merged
WMC001 merged 1 commit into
developfrom
pyh/fix_aidp_count_develop
Oct 9, 2026
Merged

WMC001 merged 1 commit into
developfrom
pyh/fix_aidp_count_develop

Conversation

@YehongPan

Copy link
Copy Markdown
Collaborator

🐛 Bugfix: Move AIDP-related synchronous calls to a managed thread to avoid blocking other interfaces.

[Specification Details]

  1. 将 Agent 初始化、知识库能力查询、工具搜索与更新中的 AIDP 同步调用移至受管线程执行。本地工具验证也通过受管线程运行,避免同步调用阻塞事件循环。
  2. 为 AIDP 目录请求的连接错误、限流和服务错误增加 5 秒失败冷却。

[Test Results]

接口调用失败不阻塞其他接口,天舟beta环境验证ok

abaeca83-c975-488e-893a-af6b433af2fe 57fc7210-e32c-4677-a6b1-2b06d4974fe8

@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.90909% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...xt_components/aidp/services/aidp_access_service.py 88.46% 1 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@WMC001
WMC001 merged commit b7f96d0 into develop Oct 9, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants