perf(runtime): 使用轻量运行概览 - #62
Merged
Merged
Conversation
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.
背景\n\nRuntime 概览原本串行跨设备读取 Tasks、Skills、MCP、Plugins 四份完整数据,远程往返和 Skill 全量扫描会叠加。\n\n## 调整\n\n- 优先通过一次 GET /internal/runtime/overview 获取轻量投影\n- 使用明确 DTO/契约解析 overview\n- 旧 AgentDock 明确返回 NOT_FOUND 时兼容回退\n- 旧版回退的四份明细改为并发读取,避免继续叠加四次远程往返\n- 移除 UI 未使用的 Skill overview 明细和旧 handler 侧聚合逻辑\n- 增加当前契约、旧版本回退与 Plugin unavailable 测试\n\n## 验证\n\n- make check 通过\n- go test -race -count=1 ./internal/agentdock ./internal/httpx 通过