[aw] Visual Regression Checker: exceeded daily AI credits budget
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, yaml
- 領域
- ci-cd
調査の方向性
Start with .github/workflows/visual-regression-checker.md and the failed run linked in the issue, then review the guardrail logic and compiled .lock.yml file. Decide whether to adjust max-daily-ai-credits or reduce token consumption, and run gh aw compile after editing the workflow source. Done means the recompiled workflow completes without the daily AI credits guardrail skipping the agent.
索引モデルが issue の本文から書いたものです。
説明
What happened
Visual Regression Checker exceeded daily AI credits budget.
View run #46741338808 · Workflow source · Previous failures
Branch: copilot/independent-security-review-lockfile-advisories
Pull Request: #83007
Next step
Review the failure details below for a targeted fix, or assign this issue to a coding agent to investigate. If an agentic threat is detected, complete manual review before assigning or using any follow-up automation.
Failure details
[!WARNING]
Daily Workflow AIC Guardrail Exceeded: The agent was not started because the 24-hour guardrail total reached the configured AI Credits threshold.
- 24h AIC guardrail total:
5KAI Credits - Recorded AIC:
1AI Credits - Estimated AIC (unresolved accounting):
5KAI Credits - Configured threshold:
5KAI Credits
Estimated credits represent conservative per-run maximums where accounting is unavailable, not confirmed consumption. Subsequent scans retry unresolved accounting and replace estimates if recorded usage becomes available. Otherwise, these estimates stop counting when the affected runs leave the rolling 24-hour window.
Recorded AIC values are approximate; estimates are not measured consumption. Consult the billing dashboards for accurate usage and charges.
How to raise the daily limit
Set max-daily-ai-credits in your workflow frontmatter to a higher value, then recompile:
max-daily-ai-credits: 20K
Common suffix shorthands: K = thousands, M = millions (e.g. 2M = 2,000,000).
After editing the workflow source file, regenerate the compiled lock file:
gh aw compile
Commit and push the updated .lock.yml file.
Note: Raising the limit increases the number of AI inference calls the workflow can make
per 24-hour window. Review your Copilot or model provider billing
before significantly increasing the threshold (for example, before doubling the current
value or setting it far above expected usage).
What is the daily AI Credits guardrail?
The max-daily-ai-credits frontmatter option sets a per-workflow spending cap measured in AI Credits across the 24-hour window before the current run. The cap is scoped to the repository and workflow — it aggregates usage across all runs of this workflow regardless of who triggered them.
When the total of recorded AI Credits and unresolved conservative estimates across all completed runs of this workflow in the last 24 hours reaches the threshold, the activation job sets the daily_ai_credits_exceeded output to true and the agent job is skipped for that run. The conclusion job still runs and creates this report.
The guardrail is evaluated at activation time, not retrospectively, so a single very large run that pushes usage over the threshold only blocks subsequent runs in the same window — it does not cancel a run that is already in progress.
How to disable this guardrail
Caution: Disabling this guardrail removes the per-workflow spending cap. Only disable it if you have
an alternative mechanism for controlling AI cost usage or if the workflow is intentionally
uncapped.
Set max-daily-ai-credits: -1 in the workflow frontmatter to explicitly disable the guardrail, then recompile:
max-daily-ai-credits: -1
gh aw compile
Alternatively, remove the max-daily-ai-credits key entirely to fall back to the enterprise-wide default (if one is configured) or to run with no per-workflow cap.
Optimize token consumption
This failure was triggered by a guardrail limit (max-daily-ai-credits). Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.) to analyze token usage and reduce costs:
Optimize the agentic workflow token consumption using https://raw.githubusercontent.com/github/gh-aw/main/optimize.md
The workflow run is at https://github.com/github/gh-aw/actions/runs/46741338808
Copy a debugging prompt
After any required manual threat review, paste this into your coding agent:
Debug the agentic workflow "visual-regression-checker" failure.
Follow https://raw.githubusercontent.com/github/gh-aw/main/debug.md
Failed run: https://github.com/github/gh-aw/actions/runs/46741338808
If the repository includes the agentic-workflows skill, load it before investigating.
Manage failure notifications
To stop creating failure issues for this workflow, set this in its frontmatter and recompile:
safe-outputs:
report-failure-as-issue: false
This only disables issue reporting; it does not fix the failure.
Generated from Visual Regression Checker · history
- expires on Dec 2, 2026, 8:48 AM UTC
- 主要言語
- Go
- スター
- 5.7k
- フォーク
- 646
- 平均マージ
- 4時間 29分
- マージ済み PR(30日)
- 829
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/gh-aw のほかの issue
-
automation backlog:smoke-tests testing
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/gh-aw#83095 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows cascade-suspected
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
ai-generated automation backlog:smoke-tests testing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/gh-aw#83042 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows cascade-suspected
難易度 1/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
feat(arithmetization): update `arithmetization` to ZkC version `v1.2.38`対応中かも @DavePearce が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
LFDT-Lineth/lineth-monorepo#4679 ·
メンテナーはふだん 1 日以内に返信
-
macOS: MixMusic stalls as the GPU times out drawing frames, and the media keys fail to register at every start対応中かも @fzn0x が今日担当しました。 オープンbug priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
funding: failure logs print `<nil>` error and zero channel ID対応中かも @litbot-9000 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
lightningnetwork/lnd#11676 ·
メンテナーはふだん 1 日以内に返信
-
effort:s impact:low raised-by:reviewer risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
medici-finance/assay#8050 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信