Files
codebase-memory-mcp/tests
Andrew Hundt 44f7edf370 perf: index LSP call resolution per file
Move the per-file LSP resolved-call hash index into the shared lsp_resolve helper and use it from both sequential and parallel call resolution. This preserves the existing confidence floor, caller/callee match rule, and highest-confidence tie-break while reducing lookup cost from O(calls * resolved_calls) to O(calls + resolved_calls) when the index builds completely.

Reuse the existing registry/service-pattern TLS caches in sequential pass_calls so few-file workloads get the same repeated-name behavior as the parallel resolver. In the generated-parser fixture from tool_consolidation, pass=calls dropped from the prior ~167s shape to ~151ms under ASan.

Also skip callsite scanning when httplink route discovery finds zero routes, and add httplink to CBM_ONLY_SUITE so the focused route tests can be run directly. Validated with tool_consolidation (91 passed), httplink (37 passed), and diff hygiene.

Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-06-28 07:43:24 -04:00
..
2026-06-03 02:13:30 +02:00