[aw] Daily Code Metrics and Trend Tracking Agent failed

Open Beginner friendly
#62,430 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions
Domain
ci-cd

Research direction

Start with .github/workflows/daily-code-metrics.md and compare its engine and model configuration with the failed run at the linked Actions URL. Verify the configured model is supported and enabled for Copilot, then rerun the workflow and confirm the daily metrics agent completes successfully without the model error.

Written by the indexing model from the issue text.

Description

agentic-workflows cascade-suspected
Workflow Failure

Workflow: Daily Code Metrics and Trend Tracking Agent
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/35639308574

[!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:

400 The requested model is not supported.
Changes    +0 -0
Duration   3s
Resume     copilot --resume=b8705ccb-1eac-460b-a13d-0422755f161b
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/35639308574
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 Daily Code Metrics and Trend Tracking Agent ·

  • expires on Sep 22, 2026, 6:39 AM UTC
Dominant language
Go
Stars
5.2k
Forks
547
Avg merge
5h 55m
Merged PRs (30d)
771

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/gh-aw

All issues in github/gh-aw

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.