Skip to content

Follow-ups from Spec 108-h MCP profiles tool review (#1443) #1445

Closed

Description

@Dumbris

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") sets anonymous_profile to a dangling name instead. As a result, the reachability path where a new profile becomes reachable through switchable_to is not exercised for create. The rename fixture does cover it.
  • internal/server/mcp_profiles_tool_v3_test.go:400-448, 549-620: TestProfilesTool_EachOpResultEqualsRESTData compares 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.

Activity

  1. added
    kind/bug
    priority/low
    triage/accepted
    on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugpriority/lowtriage/accepted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions