Skip to content

Conversation

@jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Nov 17, 2025

Enhance integration tests for VirtualMCPCompositeToolDefinition watch functionality to verify reconciliation actually occurs.

The original tests used Consistently to check ObservedGeneration stayed current, but this couldn't distinguish between "reconciliation occurred and completed" vs "no reconciliation was triggered". ResourceVersion changes when the controller updates status during reconciliation, providing definitive proof that the watch functionality works correctly.

JAORMX
JAORMX previously approved these changes Nov 17, 2025
@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.84%. Comparing base (8ce0337) to head (00b695e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2604   +/-   ##
=======================================
  Coverage   55.84%   55.84%           
=======================================
  Files         312      312           
  Lines       29541    29541           
=======================================
+ Hits        16496    16498    +2     
+ Misses      11603    11601    -2     
  Partials     1442     1442           

☔ 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.

Enhance integration tests for VirtualMCPCompositeToolDefinition watch
functionality to verify reconciliation actually occurs.

The original tests used Consistently to check ObservedGeneration stayed
current, but this couldn't distinguish between "reconciliation occurred
and completed" vs "no reconciliation was triggered". ResourceVersion
changes when the controller updates status during reconciliation,
providing definitive proof that the watch functionality works correctly.
@jhrozek jhrozek force-pushed the feat/watch_vmcp_tool_composition branch from 00b695e to 7974464 Compare November 17, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants