Repository navigation
Log routine vMCP cache sync messages at debug - #7216
Merged
ChrisJBurns merged 1 commit intoNov 22, 2026
Merged
Conversation
Keep readiness polling quiet at info level while retaining warnings for unstarted watchers and failed cache synchronization. Signed-off-by: FOWEPJF255 <lhi25wy@163.com>
ChrisJBurns
approved these changes
Nov 22, 2026
Collaborator
|
@FOWEPJF255 Nice and simple@ Thanks! |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7216 +/- ##
==========================================
+ Coverage 81.58% 81.63% +0.04%
==========================================
Files 898 898
Lines 91580 91580
==========================================
+ Hits 74718 74763 +45
+ Misses 16857 16812 -45
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
Repeated vMCP readiness checks emit roughly 40 routine cache-sync messages per minute at info level, obscuring useful operational logs. Move the wait and successful-sync messages in
WaitForCacheSyncto debug level. The unstarted-watcher and failed-sync paths keep their warnings and return values.Fixes #7109
Type of change
Test plan
gofmtandgit diff --checkpassed. This probe does not exercise a Kubernetes cluster or replace the full ToolHive test suite, which was not run locally.Does this introduce a user-facing change?
Before: routine readiness polling prints both cache-sync messages at info level. After: those messages require debug logging; failure warnings remain visible at the normal log level.
Implementation plan
Implementation scope
Change only the two routine
slog.Infocalls inBackendWatcher.WaitForCacheSynctoslog.Debug, keep warning and synchronization behavior intact, and check the before/after logging behavior. The issue was assigned before implementation.Prepared and checked with Codex assistance.