Add multi-backend optimizer acceptance test#4049
Merged
aponcedeleonch merged 1 commit intomainfrom Mar 9, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4049 +/- ##
==========================================
+ Coverage 68.63% 68.69% +0.06%
==========================================
Files 446 446
Lines 45424 45424
==========================================
+ Hits 31175 31205 +30
+ Misses 11840 11810 -30
Partials 2409 2409 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e12142e to
d428c32
Compare
d428c32 to
aa23404
Compare
3 tasks
aa23404 to
c8e9eb7
Compare
c8e9eb7 to
ed15e61
Compare
yrobla
previously approved these changes
Mar 9, 2026
ed15e61 to
ba9d4d5
Compare
ba9d4d5 to
ff3a867
Compare
ff3a867 to
9510729
Compare
Adds an E2E test that deploys a VirtualMCPServer with 4 backends (yardstick, gofetch, osv, github) in a kind cluster, then validates: - Only find_tool and call_tool are exposed in optimizer mode - Cold-start FindTool request completes under 5 seconds - Search results are semantically relevant across all backends Addresses #3759 (200+ tools count to be added in a follow-up). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9510729 to
dfd699d
Compare
jerm-dro
approved these changes
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
virtualmcp_optimizer_multibackend_test.go) that deploys a VirtualMCPServer with 4 backends (yardstick, gofetch, osv, github-mcp-server) and validates optimizer behavior: tool exposure, cold-start latency (<5s), and search quality across backends.GitHubMCPServerImageconstant for the github-mcp-server image used as a test backend.Addresses #3759
Type of change
Test plan
task lint-fix)Verified the new test file compiles cleanly with
go vet. The test is designed to run in a kind cluster withtask test-e2e(operator tests). CI will validate compilation and linting.Special notes for reviewers
The issue requests 200+ tools for scale testing. This PR uses 4 real MCP server backends which provide fewer tools. Scaling to 200+ tools is planned as a follow-up (likely by adding a tool-generation fixture or additional backends).
Generated with Claude Code