You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Delete the dead pkg/vmcp/server/adapter package #6191
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).
I'd like to take this one. Confirmed the package has no non-test importers (repo-wide grep for server/adapter and for NewCapabilityAdapter/NewDefaultHandlerFactory/CapabilityAdapter/DefaultHandlerFactory finds nothing outside pkg/vmcp/server/adapter/ itself). Will delete the package and its tests together with the mocks/ subdir. Happy to have it assigned.
Activity
suantea commentedon Oct 10, 2026
I'd like to take this one. Confirmed the package has no non-test importers (repo-wide grep for
server/adapterand forNewCapabilityAdapter/NewDefaultHandlerFactory/CapabilityAdapter/DefaultHandlerFactoryfinds nothing outsidepkg/vmcp/server/adapter/itself). Will delete the package and its tests together with themocks/subdir. Happy to have it assigned.