Skip to content

[P1] Metrics Collector Failing - MCP Gateway Schema Validation Error#9898

Description

@github-actions

馃毃 High Priority: Metrics Collector Workflow Failing

Summary

The Metrics Collector workflow has degraded to 50% success rate (5/10 runs) starting January 9, 2026. This is blocking all workflow health monitoring and metrics collection.

Error Details

Root Cause

MCP Gateway schema breaking change in v0.0.47 requires:

  • New container property for stdio server config
  • Removal of command property (now invalid)
  • Updated configuration structure

Error Messages

Error: failed to load config: Configuration validation error (MCP Gateway version: v0.0.47):
Error: doesn't validate with mcp-gateway-config.schema.json#
  Error: doesn't validate with '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/definitions/mcpServerConfig'
    Error: oneOf failed
      Error: doesn't validate with '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/definitions/stdioServerConfig'
        Error: missing properties: 'container'
        Error: additionalProperties 'command' not allowed

Sample Failed Run

Required Fix

Update MCP Server Configuration

The workflow needs to migrate from old schema:

tools:
  server_name:
    command: "/path/to/server"
    args: ["--arg1"]
    env:
      VAR: "value"

To new schema:

tools:
  server_name:
    container:
      image: "server-image:latest"
      # or for stdio mode
      # command: "/path/to/server"
      # args: ["--arg1"]
    env:
      VAR: "value"

Recommended Actions

Immediate (P1)

  1. Review Workflow File: .github/workflows/metrics-collector.md
  2. Update MCP Configuration: Migrate to new schema format
  3. Test with MCP Gateway v0.0.47: Validate configuration
  4. Recompile Workflow: Run make recompile after changes

Follow-up

  1. Audit all workflows for MCP Gateway usage
  2. Document schema migration guide
  3. Add schema validation to CI/CD
  4. Consider pinning MCP Gateway version

Impact Assessment

Direct Impact

  • No workflow metrics since 2026-01-09
  • Workflow Health Manager lacks execution data
  • Agent Performance Analyzer missing metrics
  • Unable to track success rates, failures, performance

Cascade Impact

  • Meta-orchestrator monitoring degraded
  • System health visibility lost
  • Other orchestrators (Campaign Manager) affected
  • Cannot detect new failures or trends

Related Issues

  • Part of MCP Gateway breaking change affecting multiple workflows
  • Meta-orchestrator cascade failure
  • Highest priority for system visibility restoration

Detection

Identified by Workflow Health Manager on 2026-01-14
Health Score Impact: -10 points (75/100 overall)


Labels: workflow-health, priority-p1, type-failure, mcp-gateway
Related Workflows: Agent Performance Analyzer, Workflow Health Manager

AI generated by Workflow Health Manager - Meta-Orchestrator

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions