githubnext / githubnext/gh-aw-test

[aw] Test Copilot Add Labels could not verify daily AI credits

未关闭
#15,744 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
agentic-workflows cascade-suspected
主要语言
Shell
星标
8
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

### Workflow Failure

**Workflow:** [Test Copilot Add Labels](https://github.com/githubnext/gh-aw-test/blob/main/.github/workflows/test-copilot-add-labels.md)
**Branch:** main
**Run:** https://github.com/githubnext/gh-aw-test/actions/runs/34929217006

> [!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 34927589119 (attempt 1, job 104249082281, 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/34929217006
````

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 test-copilot-add-labels failure in https://github.com/githubnext/gh-aw-test/actions/runs/34929217006`

> [!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 [Test Copilot Add Labels](https://github.com/githubnext/gh-aw-test/actions/runs/34929217006) · [◷](https://github.com/search?q=repo%3Agithubnext%2Fgh-aw-test+is%3Aissue+%22gh-aw-workflow-id%3A+test-copilot-add-labels%22&type=issues)
> - [x] expires on Sep 22, 2026, 4:33 AM UTC

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 debug.md 开始,检查失败的 Test Copilot Add Labels 运行 34929217006,然后将其与之前的运行 34927589119 及其组件日志进行比较。重点关注失败信息中描述的缺失或为空的 agent 计费构件。完成的标准是,受影响的 workflow 留下有效的计费信息,并且 daily AI credits guardrail 能够验证该运行,而不会报告未知 credits。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions
领域
ci-cd, devops
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。