Skip to content

[aw] Smoke Copilot - AOAI (apikey): exceeded max AI credits #80535

Not planned

Description

@github-actions

What happened

Smoke Copilot - AOAI (apikey) exceeded max AI credits.

View run #45262249228 · Workflow source · Previous failures

Branch: main

Warning

Task Could Not Be Completed: The workflow recorded a report_incomplete signal: the task was not completed or completion could not be confirmed.

  • Reported reason (agent-declared, unverified): find_symbol_timeout

Next step

Review the failure details below for a targeted fix, or assign this issue to a coding agent to investigate.

Failure details

Warning

AI Credits Budget Exceeded

The workflow hit the configured max-ai-credits guardrail. Used 62.9 of 60 max (over by 2.88).

Increase the limit

Update max-ai-credits in your workflow frontmatter:

max-ai-credits: 120
Tips for reducing AI credit usage
  • Review the cost optimization guidance.
  • Reduce unnecessary model or tool calls in the prompt.
  • Trim large inputs or excess context that does not change the outcome.
  • Split large tasks across smaller runs when possible.

Driver exit code: 1

Failure boundary: Engine driver process.

The driver process returned a nonzero exit status. The exit code alone does not identify the cause or establish a provider outage. Check the linked execution step; downstream publishing failures must be diagnosed separately.

Runtime evidence
Error details:
Completion signal: agent reported incomplete
Safe-output tools: available at gateway snapshot (registered 18 tools)
Safe-output CLI calls observed: unknown (not recorded)
Safe-output MCP calls observed: 2
Safe-output persistence: nonempty (2 records, 0 malformed; not validation or publication evidence)

A successful agent job only confirms a clean process exit, not that the requested work was completed. Treat any agent-declared reason as a lead, not a confirmed root cause; agent diagnostic details are excluded.

For a runtime-focused investigation, run gh aw audit 45262249228.

Optimize token consumption

This failure was triggered by a guardrail limit (max-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/45262249228
Copy a debugging prompt

Paste this into your coding agent:

Debug the agentic workflow "smoke-copilot-aoai-apikey" failure.
Follow https://raw.githubusercontent.com/github/gh-aw/main/debug.md
Failed run: https://github.com/github/gh-aw/actions/runs/45262249228

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 Smoke Copilot - AOAI (apikey) · copilot · o40mini · ~63 AIC · history

  • expires on Nov 24, 2026, 8:57 AM UTC
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