Skip to content

[aw] GitHub MCP Structural Analysis failed #28263

@github-actions

Description

@github-actions

Workflow Failure

Workflow: GitHub MCP Structural Analysis
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/24888785593

⚠️ Engine Failure: The claude engine terminated unexpectedly.

Last agent output:

2026-04-24T12:24:36.633Z [DEBUG] [API:auth] OAuth token check starting
2026-04-24T12:24:36.641Z [DEBUG] [API:auth] OAuth token check complete
2026-04-24T12:24:36.654Z [DEBUG] Fast mode unavailable: Fast mode is not available in the Agent SDK
2026-04-24T12:24:36.671Z [DEBUG] [API REQUEST] /v1/messages source=sdk
2026-04-24T12:24:38.068Z [DEBUG] Stream started - received first chunk
{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01E829btG5K9W4HnYG2sTaFz","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The task is complete. The analysis was successfully performed, data was saved to cache memory, charts were generated and uploaded, and a discussion was created. Let me provide a brief summary.","signature":"Ev4CClsIDRgCKkB9UStJzlsPI/FWrw2IeRDgAlPnLxSsTnPxvzipphEss3nq9bKMdbWxAg3jV0nnbrYWNNqKdSNmUqkuqKTduoaGMhFjbGF1ZGUtc29ubmV0LTQtNjgAEgx8n/6AZYDAXpMIYv0aDIXvcXzWS37i20hjySIw+YrriIV+Te1Dvktnyf5mHquDGJG4XS40wfwfzAbcHPUHsdS3U4ogNhPNk+c6PgaLKtAB5qu7TtUz64f8zQ1RdIU4+Ikn2nao2zM2RXk96qP/lNdr4r7v1cfFwNDvk1zY0LhqGu3zaRyRuzfOmRONEQBDtrLNp0ofdO4K3l9YkNcEN7+QgIYvk1+ZHiKWJepP14/Wu+Qx2c+d+tq4KFDveF7O8F/xTO0apItuTUgBTyXl/RDGUfT8B2wXqEtkqCNsgCGVMHe6w1Np8rVkK+GOpcGDwQyqyoQPvOHUQOt2+s0xKDowZJQFcJTIjIihXWLWeBgt2u3bxxwKRGjFSLCk6ab3OBgB"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":2231,"cache_read_input_tokens":87234,"cache_creation":{"ephemeral_5m_input_tokens":2231,"ephemeral_1h_input_tokens":0},"output_tokens":6,"service_tier":"standard","inference_geo":"global"},"context_management":null},"parent_tool_use_id":null,"session_id":"c0aad164-a91b-48e2-9dc0-460c983e3225","uuid":"f79b957d-ba2b-4e77-b987-3ed0b0d5034a"}
{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01E829btG5K9W4HnYG2sTaFz","type":"message","role":"assistant","content":[{"type":"text","text":"Analysis complete. Here's what was done:\n\n- **9 tools tested** across 8 GitHub MCP toolsets\n- **Data saved** to `/tmp/gh-aw/cache-memory/mcp_analysis.jsonl` for future 30-day trending\n- **4 charts generated** and uploaded as persistent assets\n- **Discussion created** in the Audits category\n\n**Key findings:**\n- `list_discussions` is the best tool (5/5) — 150 tokens, compact, paginated\n- `search_code` is the worst structurally (2/5) — repository sub-object includes 30+ unused URL templates\n- `list_code_scanning_alerts` embeds full markdown help text (~1500 chars/alert), inflating responses 5×\n- `list_workflows` ignores `per_page=1`, returning ~29 items instead"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":2231,"cache_read_input_tokens":87234,"cache_creation":{"ephemeral_5m_input_tokens":2231,"ephemeral_1h_input_tokens":0},"output_tokens":6,"service_tier":"standard","inference_geo":"global"},"context_management":null},"parent_tool_use_id":null,"session_id":"c0aad164-a91b-48e2-9dc0-460c983e3225","uuid":"3c5374bb-0af2-4412-9ee7-245e091bd6ed"}
2026-04-24T12:24:43.257Z [DEBUG] Fast mode unavailable: Fast mode is not available in the Agent SDK
{"type":"result","subtype":"success","is_error":false,"api_error_status":null,"duration_ms":739854,"duration_api_ms":197469,"num_turns":36,"result":"Analysis complete. Here's what was done:\n\n- **9 tools tested** across 8 GitHub MCP toolsets\n- **Data saved** to `/tmp/gh-aw/cache-memory/mcp_analysis.jsonl` for future 30-day trending\n- **4 charts generated** and uploaded as persistent assets\n- **Discussion created** in the Audits category\n\n**Key findings:**\n- `list_discussions` is the best tool (5/5) — 150 tokens, compact, paginated\n- `search_code` is the worst structurally (2/5) — repository sub-object includes 30+ unused URL templates\n- `list_code_scanning_alerts` embeds full markdown help text (~1500 chars/alert), inflating responses 5×\n- `list_workflows` ignores `per_page=1`, returning ~29 items instead","stop_reason":"end_turn","session_id":"c0aad164-a91b-48e2-9dc0-460c983e3225","total_cost_usd":1.19519665,"usage":{"input_tokens":35,"cache_creation_input_tokens":89839,"cache_read_input_tokens":2275238,"output_tokens":11129,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":89839},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":8599,"outputTokens":18,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.008689,"contextWindow":200000,"maxOutputTokens":32000},"claude-sonnet-4-6":{"inputTokens":35,"outputTokens":11129,"cacheReadInputTokens":2275238,"cacheCreationInputTokens":89839,"webSearchRequests":0,"costUSD":1.18650765,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"completed","fast_mode_state":"off","uuid":"c7e8dee2-6547-4074-8eea-5f30710b26ca"}
2026-04-24T12:27:23.111Z [DEBUG] Metrics export disabled by organization setting

Action Required

Assign this issue to Copilot using the agentic-workflows sub-agent to automatically debug and fix the workflow failure.

Debug with any coding agent

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

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

The failed workflow run is at https://github.com/github/gh-aw/actions/runs/24888785593
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 GitHub MCP Structural Analysis ·

  • expires on Apr 25, 2026, 12:29 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions