Skip to content

[aw] Metrics Collector failed #43292

Description

@github-actions

Workflow Failure

Workflow: Metrics Collector
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/28693734363

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

{"type":"tool.execution_complete","timestamp":"2026-07-04T03:54:39.103Z","data":{"toolName":"bash","mcpServerName":"","success":true,"result":{"content":"Size: 301 bytes\nWritten.\n<shellId: 71 completed with exit code 0>","detailedContent":"Size: 301 bytes\nWritten.\n<shellId: 71 completed with exit code 0>"}}}
{"type":"assistant.message","timestamp":"2026-07-04T03:54:42.394Z","data":{"content":""}}
{"type":"tool.execution_start","timestamp":"2026-07-04T03:54:42.395Z","data":{"toolName":"bash","mcpServerName":"","command":"find /tmp/gh-aw/repo-memory/default -not -path '*/.git/*' -type f | xargs wc -c 2>/dev/null | sort -rn | head\necho \"\"\necho \"Target: under 12288 bytes\""}}
{"type":"tool.execution_complete","timestamp":"2026-07-04T03:54:42.450Z","data":{"toolName":"bash","mcpServerName":"","success":true,"result":{"content":"10637 total\n 4002 /tmp/gh-aw/repo-memory/default/shared-alerts.md\n 2970 /tmp/gh-aw/repo-memory/default/workflow-health-latest.md\n 2513 /tmp/gh-aw/repo-memory/default/agent-performance-latest.md\n  520 /tmp/gh-aw/repo-memory/default/alerts-coordination.md\n  301 /tmp/gh-aw/repo-memory/default/metrics/latest.json\n  263 /tmp/gh-aw/repo-memory/default/metrics/README.md\n   68 /tmp/gh-aw/repo-memory/default/metrics/daily/summary.json\n\nTarget: under 12288 bytes\n<shellId: 72 completed with exit code 0>","detailedContent":"10637 total\n 4002 /tmp/gh-aw/repo-memory/default/shared-alerts.md\n 2970 /tmp/gh-aw/repo-memory/default/workflow-health-latest.md\n 2513 /tmp/gh-aw/repo-memory/default/agent-performance-latest.md\n  520 /tmp/gh-aw/repo-memory/default/alerts-coordination.md\n  301 /tmp/gh-aw/repo-memory/default/metrics/latest.json\n  263 /tmp/gh-aw/repo-memory/default/metrics/README.md\n   68 /tmp/gh-aw/repo-memory/default/metrics/daily/summary.json\n\nTarget: under 12288 bytes\n<shellId: 72 completed with exit code 0>"}}}
{"type":"assistant.message","timestamp":"2026-07-04T03:54:45.877Z","data":{"content":""}}
{"type":"tool.execution_start","timestamp":"2026-07-04T03:54:45.878Z","data":{"toolName":"bash","mcpServerName":"","command":"jq -e . /tmp/gh-aw/repo-memory/default/metrics/latest.json > /dev/null && echo \"VALID JSON\"\ncat /tmp/gh-aw/repo-memory/default/metrics/latest.json | python3 -m json.tool"}}
{"type":"tool.execution_complete","timestamp":"2026-07-04T03:54:46.452Z","data":{"toolName":"bash","mcpServerName":"","success":true,"result":{"content":"VALID JSON\n{\n    \"ts\": \"2026-07-04\",\n    \"eco\": {\n        \"wf\": 258,\n        \"act\": 102,\n        \"runs\": 191,\n        \"sr\": 0.749,\n        \"aic\": 12235.0,\n        \"am\": 2041\n    },\n    \"top5\": [\n        [\n            \"PR Sous Chef\",\n            25,\n            0.32\n        ],\n        [\n            \"Smoke CI\",\n            8,\n            0.0\n        ],\n        [\n            \"Test Quality Sentinel\",\n            7,\n            0.857\n        ],\n        [\n            \"Design Decision Gate \\ud83c\\udfd7\\ufe0f\",\n            7,\n            0.857\n        ],\n        [\n            \"Matt Pocock Skills Reviewer\",\n            7,\n            0.714\n        ]\n    ]\n}\n<shellId: 73 completed with exit code 0>","detailedContent":"VALID JSON\n{\n    \"ts\": \"2026-07-04\",\n    \"eco\": {\n        \"wf\": 258,\n        \"act\": 102,\n        \"runs\": 191,\n        \"sr\": 0.749,\n        \"aic\": 12235.0,\n        \"am\": 2041\n    },\n    \"top5\": [\n        [\n            \"PR Sous Chef\",\n            25,\n            0.32\n        ],\n        [\n            \"Smoke CI\",\n            8,\n            0.0\n        ],\n        [\n            \"Test Quality Sentinel\",\n            7,\n            0.857\n        ],\n        [\n            \"Design Decision Gate \\ud83c\\udfd7\\ufe0f\",\n            7,\n            0.857\n        ],\n        [\n            \"Matt Pocock Skills Reviewer\",\n            7,\n            0.714\n        ]\n    ]\n}\n<shellId: 73 completed with exit code 0>"}}}
[copilot-sdk-driver] [sdk-driver] error: Timeout after 870000ms waiting for session.idle
[copilot-sdk-driver] [sdk-driver] warning: SDK idle-timeout with collected output and no pending tool calls — treating as completed
[copilot-sdk-driver] [sdk-driver] session completed: hasOutput=true durationMs=870195

Action Required

Assign this issue to an agent to debug and fix the issue.

Debug with any coding agent

Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):

Debug the agentic workflow failure using https://github.com/github/gh-aw/main/debug.md

The failed workflow run is at https://github.com/github/gh-aw/actions/runs/28693734363
Manually invoke the agent

Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.

Tip

Stop reporting this workflow as a failure

To stop a workflow from creating failure issues, set report-failure-as-issue: false in its frontmatter:

safe-outputs:
  report-failure-as-issue: false

Generated from Metrics Collector · 139.4 AIC ·

  • expires on Jul 4, 2026, 3:56 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions