Repository navigation
Description
Problem statement
Make the MCP gateway degrade a single unreachable server instead of terminating the whole gateway — one flaky external dependency (Datadog) is taking down Sentry, Grafana, and OTLP export along with it.
Affected workflows and runs
- Smoke OTEL (§31491021479, 2026-08-11T12:23Z) —
datadogMCP server ping returnedHTTP 503on all 3 retries (progressive timeouts 10s/20s/30s); gateway loggedERROR: 1 required server(s) failed connectivity check(3 succeeded: grafana, safeoutputs, sentry) and terminated the whole process rather than continuing withoutdatadog. - Same signature previously on §31023914914 (2026-08-05) and §30606870031 (2026-07-31) — 3 occurrences in the last two weeks.
- Baseline for comparison (success): §31264782373 (2026-08-08).
Probable root cause
The gateway's startup connectivity check treats every configured MCP server as equally "startup-critical." When datadog fails its ping/initialize check after retries, the gateway aborts before the agent job even starts — even though 3 of 4 servers (grafana, safeoutputs, sentry) connected successfully. audit-diff between the failed run and the last success confirms the blast radius: the failed run made zero calls to sentry.io, grafana.net, or the OTLP intake host, all of which were exercised 13-15 times each in the successful baseline. The other 3 integrations never got a chance to run.
Proposed remediation
- Add a per-server criticality flag (or default to "best-effort") in the gateway's startup check config so a single non-essential server's failure logs a warning and continues, instead of calling
process.exit/terminating the gateway. - For servers that must stay required, add a circuit-breaker/backoff so a transient
503doesn't repeat the full 10s/20s/30s retry sequence within the same 6h window. - If
datadoggenuinely needs to be startup-critical for this workflow's test purpose, at minimum surface a distinct, actionable log line (e.g. "non-critical MCP server unavailable, continuing without it") vs. the current blanket "Gateway process will be terminated."
Success criteria / verification
- A single unresponsive non-critical MCP server (e.g.
datadogreturning 503) no longer aborts gateway startup — the other configured servers (grafana,safeoutputs,sentry) continue to be reachable and used by the agent. - No new "ERROR: MCP server checks failed - no servers could be connected" gateway-termination failures on Smoke OTEL for at least 2 consecutive scheduled runs after the fix ships.
Related to [aw-failures] [aw] Failure Investigator Report — 2026-08-11 13:00 (6h) #52061
Generated by 🔍 [aw] Failure Investigator (6h) · agent · 124.7 AIC · ⌖ 42.2 AIC · ⊞ 5.3K · ◷
- expires on Aug 18, 2026, 5:20 AM UTC-08:00
Activity
github-actions commentedon Aug 11, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪