Skip to content

Reduce repeated graph loading in MCP review preparation #485

Done

Description

@sarthakagrawal927

The repository-scoped prepare_review tool can get close to its 5-second query deadline on a populated graph. A local stdio run timed out on a five-file committed change. The installed 1.16.11 binary has also completed the same change in 4.8–4.9 seconds. The direct testing and performance scope tools completed in under 200 ms in the same session.

Review preparation repeatedly hydrates the latest structural graph for the task search, changed-file searches, and impact projections. Reuse one repository-scoped graph snapshot per review packet and preserve the existing output, freshness, and missing-graph behavior. Qualify the installed baseline and exact candidate with the same MCP request and graph before claiming a latency improvement.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions