githubnext / githubnext/gh-aw-cao
[aw] AW Optimization / AI Credit Savings is missing required data
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 1
- Avg merge
- 49m
- Merged PRs (30d)
- 837
Description
### Workflow Failure
**Workflow:** [AW Optimization / AI Credit Savings](https://github.com/githubnext/gh-aw-cao/blob/main/.github/workflows/optimization-ai-credit-optimizer.md)
**Branch:** main
**Run:** https://github.com/githubnext/gh-aw-cao/actions/runs/34502640508
> [!WARNING]
> **Missing Data Reported**: The agent reported missing data during execution.
**Missing Data:**
- **AI credit usage / run history for githubnext/gh-aw-workshop**: Cannot select or analyze a target workflow to optimize because all pre-downloaded data inputs are empty for this target repository: /tmp/gh-aw/token-audit/all-runs.json has 0 runs \(total\_aic=0, total\_tokens=0\), top-workflows.json lists 0 top\_workflows, and
\[Content truncated due to length\]
- *Context*: Task requires selecting the highest AI-credit-spend workflow in githubnext/gh-aw-workshop over a 7-day window and auditing recent runs, but no run-level or aggregated AIC/token data exists for this repo in the current dataset.
- *Alternatives*: Options: \(1\) verify the ai-credit auditor/collector workflow for githubnext/gh-aw-workshop has run and populated all-runs.json/top-workflows.json before dispatching this optimizer; \(2\) confirm githubnext/gh-aw-workshop has had any gh-aw workflow runs in th
\[Content truncated due to length\]
### 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/githubnext/gh-aw-cao/actions/runs/34502640508
````
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the `agentic-workflows` prompt.
- Start your agent
- Load the `agentic-workflows` skill from `.github/skills/agentic-workflows/SKILL.md` or
- Type `debug the agentic workflow optimization-ai-credit-optimizer failure in https://github.com/githubnext/gh-aw-cao/actions/runs/34502640508`
> [!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:
> ```yaml
> safe-outputs:
> report-failure-as-issue: false
> ```
>
>
> Generated from [AW Optimization / AI Credit Savings](https://github.com/githubnext/gh-aw-cao/actions/runs/34502640508) · copilot · 15.1 AIC · [◷](https://github.com/search?q=repo%3Agithubnext%2Fgh-aw-cao+is%3Aissue+%22gh-aw-workflow-id%3A+optimization-ai-credit-optimizer%22&type=issues)
> - [x] expires on Sep 17, 2026, 4:37 PM UTC
Contributor guide
Research direction
Start with .github/workflows/optimization-ai-credit-optimizer.md and the failed run for AW Optimization / AI Credit Savings. Read debug.md and the agentic-workflows skill referenced in the issue, then trace why the pre-downloaded all-runs.json and top-workflows.json inputs are empty. Done means the workflow has the required AI-credit and run-history data and can select and analyze a target workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100