Skip to content

[aw] Metrics Collector failed #53894

Description

@github-actions

Workflow Failure

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

Warning

Invalid or Unsupported Model: The agent failed because the configured model name is invalid, unknown, or unavailable for this engine/account.

This is a configuration issue, not a transient error — retrying will not help.

How to fix this

Specify a valid model for the selected engine in the workflow frontmatter:

---
engine: copilot
model: gpt-5-mini
---

To find valid models, check your engine/provider documentation (for Copilot see supported models).

If the error text is No model available. Check policy enablement under GitHub Settings > Copilot, the model is not disabled in the workflow but by Copilot policy. Enable the model under GitHub Settings > Copilot > Policies for the org/repo, or pick a model that is already enabled. This can also be triggered by a subagent (task tool) dispatch requesting a model that the policy does not allow, even when the main agent's model is enabled.

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

{"type":"assistant.message","timestamp":"2026-08-19T02:57:55.213Z","data":{"content":"Validation passed. Now calling `noop` with the collection summary."}}
{"type":"tool.execution_start","timestamp":"2026-08-19T02:57:55.214Z","data":{"toolName":"bash","mcpServerName":"","command":"echo done"}}
{"type":"tool.execution_complete","timestamp":"2026-08-19T02:57:55.282Z","data":{"toolName":"bash","mcpServerName":"","success":true,"result":{"content":"done\n<shellId: 35 completed with exit code 0>","detailedContent":"done\n<shellId: 35 completed with exit code 0>","contents":[{"type":"shell_exit","shellId":"35","exitCode":0,"outputTruncated":false,"cwd":"/home/runner/work/gh-aw/gh-aw","outputPreview":"done\n"}]}}}
{"type":"assistant.message","timestamp":"2026-08-19T02:57:57.666Z","data":{"content":""}}
{"type":"tool.execution_start","timestamp":"2026-08-19T02:57:57.667Z","data":{"toolName":"task","mcpServerName":""}}
{"type":"subagent.started","timestamp":"2026-08-19T02:57:57.681Z","data":{"agentName":"general-purpose","agentDisplayName":"General Purpose Agent","toolCallId":"toolu_011437Cjoaeqtd2kqMzR41n4"}}
[copilot-sdk-driver] [sdk-driver] error: Execution failed: Error: No model available. Check policy enablement under GitHub Settings > Copilot
{"type":"subagent.completed","timestamp":"2026-08-19T02:57:57.742Z","data":{"agentName":"general-purpose","toolCallId":"toolu_011437Cjoaeqtd2kqMzR41n4"}}
{"type":"tool.execution_complete","timestamp":"2026-08-19T02:57:57.769Z","data":{"toolName":"task","mcpServerName":"","success":false}}
{"type":"subagent.completed","timestamp":"2026-08-19T02:57:57.773Z","data":{"agentName":"general-purpose","toolCallId":"toolu_011437Cjoaeqtd2kqMzR41n4"}}

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://raw.githubusercontent.com/github/gh-aw/main/debug.md

The failed workflow run is at https://github.com/github/gh-aw/actions/runs/32209589795
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 · 63.7 AIC ·

  • expires on Aug 19, 2026, 2:59 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