You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Code Quality] Consolidate 4 duplicated MCP-server-stats structs in pkg/cli into a shared base #50676
The "per-MCP-server stats/health" concept has been independently modeled four separate times in pkg/cli, creating real drift risk as new fields get added to only some of them.
Suggested Changes
Introduce a shared MCPServerStatsBase{ServerName string; RequestCount, ToolCallCount, ErrorCount int}, mirroring the existing AnalysisBase/AggregatedSummaryBase dedup pattern already used in this package.
Have each report-specific struct embed the base, keeping only its own extra fields.
Activity
github-actions commentedon Aug 6, 2026
This issue was automatically closed because it expired on 2026-08-06T19:12:43.126Z.