Skip to content

[aw] [aw] Failure Investigator (6h) exceeded daily AI credits budget #66699

Description

@github-actions

Workflow Failure

Workflow: [aw] Failure Investigator (6h)
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/37697192984

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: 10.4K AI Credits
  • Recorded AIC: 1.4K AI Credits
  • Estimated AIC (unresolved accounting): 9K AI Credits
  • Configured threshold: 10K AI 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.

Action Required

Assign this issue to an agent to debug and fix the issue.

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/37697192984
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/github/gh-aw/actions/runs/37697192984
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 [aw] Failure Investigator (6h) · ◷

  • expires on Oct 8, 2026, 10:39 AM UTC

Activity

  1. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37733358315 failed.

    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: 10.9K AI Credits
    • Recorded AIC: 854 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  2. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37735756351 failed.

    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: 10.8K AI Credits
    • Recorded AIC: 814 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  3. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37740306184 failed.

    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: 10.8K AI Credits
    • Recorded AIC: 774 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  4. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37743054918 failed.

    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: 10.7K AI Credits
    • Recorded AIC: 735 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  5. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37745558478 failed.

    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: 10.7K AI Credits
    • Recorded AIC: 693 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  6. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37747649768 failed.

    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: 10.6K AI Credits
    • Recorded AIC: 648 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  7. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37752021539 failed.

    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: 10.6K AI Credits
    • Recorded AIC: 625 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  8. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37754348568 failed.

    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: 10.6K AI Credits
    • Recorded AIC: 585 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  9. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    Agent job 37758301251 failed.

    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: 10.5K AI Credits
    • Recorded AIC: 546 AI Credits
    • Estimated AIC (unresolved accounting): 10K AI Credits
    • Configured threshold: 10K AI 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.

    Generated from [aw] Failure Investigator (6h) · ◷

  10. github-actions commented on Oct 8, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-10-08T10:39:06.345Z.

    Closed by Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions