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
fix: eliminate duplicate log telemetry in reconnect paths and SSE deprecation block
- Extract logReconnectStart() and logReconnectResult(err) helpers to
deduplicate the three identical logger.Log* call sites shared by
reconnectPlainJSON() and reconnectSDKTransport() (issue #3632)
- Consolidate the 5-line SSE deprecation warning burst into 2 concise
log calls: one LogWarn with URL and spec info, one LogInfo for the
connection confirmation (issue #3634)
- Issue #3633 (Mixed log.Printf / logger.LogInfo) was already resolved
Agent-Logs-Url: https://github.com/github/gh-aw-mcpg/sessions/adc38ef8-8512-47c3-805e-582ed80d5993
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
logger.LogWarn("backend", "⚠️ MCP over SSE has been deprecated. Connected using SSE transport for url=%s. Please migrate to streamable HTTP transport (2025-03-26 spec).", url)
247
-
logger.LogWarn("backend", "⚠️ WARNING: MCP over SSE (2024-11-05 spec) has been DEPRECATED")
248
-
logger.LogWarn("backend", "⚠️ The server at %s is using the deprecated SSE transport", url)
249
-
logger.LogWarn("backend", "⚠️ Please migrate to streamable HTTP transport (2025-03-26 spec)")
250
-
logger.LogWarn("backend", "Configured HTTP MCP server with SSE transport: %s", url)
246
+
logger.LogWarn("backend", "⚠️ MCP over SSE (2024-11-05 spec) is DEPRECATED for url=%s. Please migrate to streamable HTTP transport (2025-03-26 spec).", url)
247
+
logger.LogInfo("backend", "Configured HTTP MCP server with SSE transport: %s", url)
0 commit comments