githubnext / githubnext/gh-aw-cao
[aw] AW Optimization / AI Credit Savings is missing required data
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 1
- Avg merge
- 48m
- Merged PRs (30d)
- 853
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/35033488223
> [!WARNING]
> **Missing Data Reported**: The agent reported missing data during execution.
**Missing Data:**
- **AI credit / run telemetry for workflow runs in githubnext/gh-aw-cao \(all-runs.json, top-workflows.json, repo-memory daily snapsh
\[Content truncated due to length\]**: No optimization target could be selected: all pre-downloaded data inputs for githubnext/gh-aw-cao are empty. /tmp/gh-aw/token-audit/all-runs.json has 0 runs and top-workflows.json has 0 top\_workflows for the 7-day window. All 8 daily repo-memory snapshots
\[Content truncated due to length\]
- *Context*: Agentic Workflow Optimizer \(ai-credit-optimizer worker\) attempting to select and audit the highest AI-credit-spend workflow to publish an optimization issue.
- *Alternatives*: Re-run once the token-audit collection step has populated real run data \(verify the upstream aggregation job that writes all-runs.json/top-workflows.json actually queried GitHub Actions runs\), or populate the cao-activity SQLite cache via the standard inge
\[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/35033488223
````
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/35033488223`
> [!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/35033488223) · copilot · 36.7 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 16, 2026, 11:05 PM UTC
Contributor guide
Research direction
Start with the failed run and the workflow definition at .github/workflows/optimization-ai-credit-optimizer.md, then follow debug.md and the agentic-workflows skill referenced in the issue. Check the token-audit aggregation and cao-activity SQLite cache paths named in the report; done means the workflow receives populated telemetry data and completes without the missing-data failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, sqlite
- Domain
- ci-cd, data, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100