Skip to content

Conversation

@JAORMX
Copy link
Collaborator

@JAORMX JAORMX commented Dec 1, 2025

Summary

  • Adds virtualmcp_aggregation_overrides_test.go - tests tool renaming via overrides
  • Adds virtualmcp_composite_sequential_test.go - tests sequential A→B workflows with template expansion
  • Adds virtualmcp_composite_parallel_test.go - tests parallel step execution with fan-out/fan-in DAG

All tests use yardstick as a deterministic MCP server backend.

Test plan

  • Verify tests compile: golangci-lint run ./test/e2e/thv-operator/virtualmcp/...
  • Run operator e2e tests in CI

🤖 Generated with Claude Code

Add three new e2e test files for VirtualMCPServer:

- virtualmcp_aggregation_overrides_test.go: Tests tool renaming via
  overrides configuration, verifying renamed tools appear with custom
  names and descriptions while original names are hidden.

- virtualmcp_composite_sequential_test.go: Tests sequential composite
  tool workflows with template expansion, where step B depends on
  step A's output using Go template syntax.

- virtualmcp_composite_parallel_test.go: Tests parallel composite
  workflows where independent steps execute concurrently before
  aggregating results in a final dependent step.

All tests use yardstick as a deterministic MCP server backend.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@github-actions github-actions bot added the size/L Large PR: 600-999 lines changed label Dec 1, 2025
@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.59%. Comparing base (6a9a2c1) to head (e8e8f98).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2826   +/-   ##
=======================================
  Coverage   56.59%   56.59%           
=======================================
  Files         320      320           
  Lines       30899    30899           
=======================================
  Hits        17487    17487           
  Misses      11910    11910           
  Partials     1502     1502           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The filtering logic applies after tool overrides, so the filter must
specify the renamed tool name (user-facing name) rather than the
original name. Updated test to filter by renamedToolName.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@github-actions github-actions bot added size/L Large PR: 600-999 lines changed and removed size/L Large PR: 600-999 lines changed labels Dec 1, 2025
Copy link
Contributor

@jhrozek jhrozek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll send a minor fixup as a follow up but tests are always good!

@jhrozek jhrozek merged commit efe86fa into main Dec 2, 2025
33 checks passed
@jhrozek jhrozek deleted the add-vmcp-overrides-composite-e2e-tests branch December 2, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Large PR: 600-999 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants