fix(studio): 稳定 Runtime Ready 后的连接探测 - #772
Merged
yaozheng-fang merged 1 commit intoJul 29, 2026
Merged
Conversation
yaozheng-fang
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
Studio 部署 AgentKit Runtime 后,后端轮询任务状态已经显示 Runtime Ready,但前端进入智能体详情或自动连接 Runtime 时,偶发出现连接失败。用户看到的是部署流程已经结束,但 Studio 仍提示无法连接或部署失败,容易误判为创建链路失败。
这个问题影响的是部署后的主干链路:创建 Runtime -> Runtime Ready -> Studio 读取 Runtime 内应用列表 / Agent 信息 / 会话列表。
遇到的问题
排查时看到几类现象:
/list-apps、/web/agent-info/*或GET /apps/*/users/*/sessions时,Runtime 入口可能短时间 DNS/连接失败。修复内容
/list-apps/web/agent-info/*/apps/*/users/*/sessions范围
requirements.txt指向分支包的验证改动。验证
python3 -m pre_commit run --from-ref upstream/main --to-ref HEADpython3 -m py_compile veadk/cli/cli_frontend.pynpm testnpm run buildBase
基于最新
main,当前main已包含 #766。