[aw] Test Copilot Mark Pull Request As Ready For Review could not verify daily AI credits

Open
#16,634 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
github-actions
Domain
ci-cd, testing-qa

Research direction

Start with the failed workflow run 35425020843 and the referenced workflow definition, then inspect prior run 35421958136 and its component logs. Check agent/token_usage.jsonl, agent_usage.jsonl, and agent_usage.json for the missing or empty accounting record. Done means the workflow's daily AI Credits guardrail can verify complete accounting for executed agent components.

Written by the indexing model from the issue text.

Description

agentic-workflows cascade-suspected
Workflow Failure

Workflow: Test Copilot Mark Pull Request As Ready For Review
Branch: test-pr-1789797020-18330-26087
Run: https://github.com/githubnext/gh-aw-test/actions/runs/35425020843
Pull Request: #16625

[!WARNING]
Daily Workflow AI Credits Could Not Be Verified: The agent was not started because the daily guardrail could not prove complete AI Credits accounting for earlier workflow runs.

Guardrail status: transient_error

Reason: Daily workflow AI Credits are unknown: Missing accounting for executed agent component in run 35421958136 (attempt 1, job 105841311695, conclusion success): agent/token_usage.jsonl is empty; agent_usage.jsonl is missing; agent_usage.json is missing

The guardrail fails closed either because a billable component's usage artifact is missing, empty, or unreadable, or because the guardrail could not reach the GitHub API to verify prior runs. The detailed reason above identifies the specific cause.

This means a billable component in a prior run completed without leaving a valid accounting record. Inspect the affected prior run and its component logs. Once that run leaves the rolling 24-hour window, the guardrail can evaluate the remaining runs normally.

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-test/actions/runs/35425020843
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 Test Copilot Mark Pull Request As Ready For Review ·

  • expires on Sep 26, 2026, 5:51 AM UTC
Dominant language
Shell
Stars
8
Forks
5
Avg merge
18h 32m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

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 githubnext/gh-aw-test

All issues in githubnext/gh-aw-test

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.