Skip to content

[aw] Perf Improver failed #9085

Closed
Closed

Description

Workflow Failure

Workflow: Perf Improver
Branch: main
Run: https://github.com/microsoft/testfx/actions/runs/27421716933

Warning

AI Credits Budget Exceeded

The workflow hit the configured max-ai-credits guardrail. Used 2.1K of 2K max (over by 75.7).

Increase the limit

Update max-ai-credits in your workflow frontmatter:

max-ai-credits: 4000
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.

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

  │ cat > /tmp/gh-aw/repo-memory/default/state.md << 'EOF'
  │ # Perf Improver State — microsoft/testfx
  │
  │ ## Last Updated
  │ 2026-06-12 14:25 UTC — Run [27421716933](https://github.com/microsoft/test…
  └ 80 lines...
Failed to get response from the AI model; retried 5 times (total retry wait time: 86.51 seconds) (Request-ID e6e176e0-b389-45b7-a303-573f9d7e0b36) Last error: CAPIError: 429 Maximum AI credits exceeded (2075.697900 / 2000).
Changes    +51 -24
Duration   18m 19s
Tokens     ↑ 6.0m (5.9m cached) • ↓ 34.8k

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/microsoft/testfx/actions/runs/27421716933
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 Perf Improver · 2.1K AIC · ◷

  • expires on Jun 19, 2026, 2:47 PM UTC

Activity

  1. Evangelink commented on Jun 13, 2026

    @Evangelink
    MemberAuthor

    Agent job 27469124547 failed.

    Warning

    AI Credits Budget Exceeded

    The workflow hit the configured max-ai-credits guardrail. Used 2K of 2K max (over by 14.4).

    Increase the limit

    Update max-ai-credits in your workflow frontmatter:

    max-ai-credits: 4000
    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.

    Warning

    Engine Failure: The copilot engine terminated unexpectedly.

    Last agent output:

      │ cat /home/runner/work/testfx/testfx/global.json | head -10
      └ 11 lines...
    ● Locate dotnet binary (shell)
      │ find / -name "dotnet" -type f 2>/dev/null | grep -v proc | head -10
      └ 1 line...
    Failed to get response from the AI model; retried 5 times (total retry wait time: 99.65 seconds) (Request-ID aa5a59db-5b8f-4965-a42d-4b802f855552) Last error: CAPIError: 429 Maximum AI credits exceeded (2014.373040 / 2000).
    Failed to get response from the AI model; retried 5 times (total retry wait time: 98.05 seconds) (Request-ID efc61874-1606-432c-839d-88aa79bb40a4) Last error: CAPIError: 429 Maximum AI credits exceeded (2014.373040 / 2000).
    Changes    +28 -1
    Duration   11m 26s
    Tokens     ↑ 6.0m (5.9m cached) • ↓ 19.1k
    

    Generated from Perf Improver · 2K AIC · ◷

  2. added
    area/agentic-workflows
    on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentic-workflows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions