mcpproxy-go
mcpproxy-go copied to clipboard
Follow-ups from Spec 108-h MCP profiles tool review (#1443)
Low-severity test-coverage gaps left after the gpt-6.1-sol review of #1443 (Spec 108-h). The review found no product defects in these areas; both items are missing test coverage.
- [ ]
internal/server/mcp_profiles_guard_coverage_v3_test.go:81-88: T086's create case ("a name the anonymous profile's switchable_to already lists") setsanonymous_profileto a dangling name instead. As a result, the reachability path where a new profile becomes reachable throughswitchable_tois not exercised for create. The rename fixture does cover it. - [ ]
internal/server/mcp_profiles_tool_v3_test.go:400-448, 549-620:TestProfilesTool_EachOpResultEqualsRESTDatacompares only the read ops against the REST response. The mutating ops (create, update, delete, rename, classify, assign) are checked field by field, so an extra or missing field in their results would not fail the test.