Delete the dead pkg/vmcp/server/adapter package
维护者通常 1 天内回复
评估
调研方向
从 pkg/vmcp/server/adapter/capability_adapter.go 和 handler_factory.go 开始,包括它们的测试。执行一次全仓库引用检查,并确认 cmd/ 和 operator 不会导入该包。完成的标准是删除该包及其测试、不再存在任何引用,并且仓库检查通过。
由索引模型根据 Issue 内容生成。
描述
Surfaced in jhrozek's review of #6180.
Problem
pkg/vmcp/server/adapter/ (capability_adapter.go, handler_factory.go) has no non-test callers — NewCapabilityAdapter/NewDefaultHandlerFactory are dead code. Its CreateResourceHandler (handler_factory.go:164) still drops result.Meta while its sibling CreateToolHandler preserves it — it's now the only surviving copy of the resource-_meta drop that #6180 removed from the live paths, which invites re-divergence if anyone ever wires it back in.
Work
Delete the package and its tests. Verify with a repo-wide reference check first (the review found no non-test callers; confirm nothing in cmd/ or the operator imports it).
- 主要语言
- Go
- 星标
- 2.3k
- 派生
- 326
- 平均合并
- 1 天 53 分钟
- 30 天内合并 PR
- 155
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stacklok/toolhive 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
stacklok/toolhive#6925 · 1 条评论 ·
维护者通常 1 天内回复
-
proxyrunner tool-filter middleware strips SEP-2322 Modern envelope from tools/list, breaking vMCP health checks可能重新可做 @alex-feel 于 46 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
stacklok/toolhive#6684 · 5 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
HttpClientBuilder.Build() ignores HTTP(S)_PROXY (auth-server OAuth/DCR calls bypass forward proxy)可能已有人在做 @schonmann 于 37 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
stacklok/toolhive#6671 · 2 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
Outgoing strategies differ on no-subject-provider fallback (xaa hard-fails, token_exchange and aws_sts fall back) and it is undocumented可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Delete the unreachable legacy optimizer decorator path in sessionmanager可能已有人在做 @kocaemre 于 105 天前认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
查看 stacklok/toolhive 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 78/100
fabriziosalmi/secure-proxy-manager#619 ·
维护者通常 1 天内回复
-
bug needs-triage P1 tier:1-mechanical
难度 1/5 1 小时以内 新手友好度 88/100
krakenhavoc/cmd_and_ctrl#5434 ·
维护者通常 1 天内回复
-
go good first issue help wanted up-for-grabs
难度 2/5 1-3 小时 新手友好度 76/100
andrewsiah/agentswarm-data-tasks#117 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
C:dataplane
难度 2/5 1-3 小时 新手友好度 76/100
yanet-platform/yanet2#3395 ·
维护者通常 1 天内回复