Skip to content

Vmcp: migrate groupref into config#3205

Merged
jerm-dro merged 5 commits intomainfrom
jerm/2026-01-06-migrate-basic-config
Jan 8, 2026
Merged

Vmcp: migrate groupref into config#3205
jerm-dro merged 5 commits intomainfrom
jerm/2026-01-06-migrate-basic-config

Conversation

@jerm-dro
Copy link
Copy Markdown
Contributor

@jerm-dro jerm-dro commented Jan 6, 2026

Summary

Stacked on #3203

This migrates the group spec field to use the config data.

Supports #3125

Changes

  1. Delete the legacy groupRef field on the spec.
  2. Add kubebuilder annotations
  3. Update documentation, examples, and tests to match new schema

@github-actions github-actions bot added the size/L Large PR: 600-999 lines changed label Jan 6, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.02%. Comparing base (3e6fdd5) to head (bfff8df).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3205   +/-   ##
=======================================
  Coverage   57.02%   57.02%           
=======================================
  Files         348      348           
  Lines       34635    34635           
=======================================
  Hits        19751    19751           
  Misses      13235    13235           
  Partials     1649     1649           

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

@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 Jan 6, 2026
@jerm-dro jerm-dro marked this pull request as ready for review January 6, 2026 22:06
@jerm-dro jerm-dro requested review from JAORMX, jhrozek and yrobla January 6, 2026 22:06
Copy link
Copy Markdown
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.

My only comment is about the breaking change - my gut feeling is that it /should/ be OK to do now, but we should double-check to avoid a bad surprise to our users.

@jerm-dro jerm-dro force-pushed the jerm/2026-01-06-add-vmcp-config-to-spec branch from 1caf867 to f26f2c7 Compare January 7, 2026 15:57
jhrozek
jhrozek previously approved these changes Jan 7, 2026
Copy link
Copy Markdown
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.

acking in case the conflicts can be resolved by re-homing the branch

Base automatically changed from jerm/2026-01-06-add-vmcp-config-to-spec to main January 7, 2026 22:31
@jerm-dro jerm-dro dismissed jhrozek’s stale review January 7, 2026 22:31

The base branch was changed.

Signed-off-by: Jeremy Drouillard <jeremy@stacklok.com>
Signed-off-by: Jeremy Drouillard <jeremy@stacklok.com>
@jerm-dro jerm-dro force-pushed the jerm/2026-01-06-migrate-basic-config branch from 0909d7c to 6303a20 Compare January 7, 2026 22:33
@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 Jan 7, 2026
Signed-off-by: Jeremy Drouillard <jeremy@stacklok.com>
@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 Jan 7, 2026
@jerm-dro jerm-dro requested a review from jhrozek January 7, 2026 23:36
@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 Jan 8, 2026
@jerm-dro jerm-dro merged commit 5530e97 into main Jan 8, 2026
35 checks passed
@jerm-dro jerm-dro deleted the jerm/2026-01-06-migrate-basic-config branch January 8, 2026 15:26
jerm-dro added a commit to stacklok/docs-website that referenced this pull request Jan 8, 2026
This change stacklok/toolhive#3205 on the toolhive side modified the shape of the virtual mcp server config.

Update VirtualMCPServer documentation to reflect the change.
jerm-dro added a commit that referenced this pull request Jan 8, 2026
Summary
Stacked on #3205
Supports #3125

This PR migrates the telemetry config to use the app config's telemetry config.

Changes
Delete the legacy telemetry config field on the spec.
Preserve the existing application of defaults and normalization of config by converting back into the legacy type. This code is more involved to refactor, so I'm leaving it in place until the refactor is complete.
Update docs and examples.

---------

Signed-off-by: Jeremy Drouillard <jeremy@stacklok.com>
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.

2 participants