Skip to content

feat(router): add MCP schema discovery for search and query generation [DO NOT MERGE] - #3156

Draft
asoorm wants to merge 5 commits into
mainfrom
ahmet/router-628-demo-environment-to-demonstrate-yoko-via-mcp-in-router
Draft

feat(router): add MCP schema discovery for search and query generation [DO NOT MERGE]#3156
asoorm wants to merge 5 commits into
mainfrom
ahmet/router-628-demo-environment-to-demonstrate-yoko-via-mcp-in-router

fix(router): pin connect-go codegen and sync router-tests go.sum

a60a313
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 13, 2026 in 1s

62.51% (target 30.00%)

View this Pull Request on Codecov

62.51% (target 30.00%)

Details

Codecov Report

❌ Patch coverage is 60.25974% with 459 lines in your changes missing coverage. Please review.
✅ Project coverage is 62.51%. Comparing base (70cd61d) to head (a60a313).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
router/gen/proto/yoko/v1/yoko.pb.go 37.77% 330 Missing and 6 partials ⚠️
router/pkg/mcpserver/schema_discovery_tools.go 81.06% 29 Missing and 3 partials ⚠️
router/pkg/querygen/service.go 68.93% 28 Missing and 4 partials ⚠️
...er/gen/proto/yoko/v1/yokov1connect/yoko.connect.go 79.41% 28 Missing ⚠️
router/pkg/querygen/indexer.go 78.15% 23 Missing and 3 partials ⚠️
router/pkg/mcpserver/server.go 95.00% 1 Missing and 2 partials ⚠️
router/core/router.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3156      +/-   ##
==========================================
+ Coverage   62.40%   62.51%   +0.11%     
==========================================
  Files         263      270       +7     
  Lines       31048    32308    +1260     
==========================================
+ Hits        19375    20197     +822     
- Misses      10163    10566     +403     
- Partials     1510     1545      +35     
Files with missing lines Coverage Δ
router/pkg/config/config.go 84.35% <ø> (+1.35%) ⬆️
router/pkg/querygen/client.go 100.00% <100.00%> (ø)
router/pkg/querygen/config.go 100.00% <100.00%> (ø)
router/core/router.go 70.89% <0.00%> (-0.09%) ⬇️
router/pkg/mcpserver/server.go 76.22% <95.00%> (+5.66%) ⬆️
router/pkg/querygen/indexer.go 78.15% <78.15%> (ø)
...er/gen/proto/yoko/v1/yokov1connect/yoko.connect.go 79.41% <79.41%> (ø)
router/pkg/mcpserver/schema_discovery_tools.go 81.06% <81.06%> (ø)
router/pkg/querygen/service.go 68.93% <68.93%> (ø)
router/gen/proto/yoko/v1/yoko.pb.go 37.77% <37.77%> (ø)

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.