Skip to content

[aw] Efficiency Improver failed #9059

Closed

Description

Workflow Failure

Workflow: Efficiency Improver
Branch: main
Run: https://github.com/microsoft/testfx/actions/runs/27380995660

Warning

AI Credits Budget Exceeded

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

Increase the limit

Update max-ai-credits in your workflow frontmatter:

max-ai-credits: 2000
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/1781217304372-copilot-tool-output-fb5jl1.txt | python3 -c "import
  │ json,sys; prs = json.load(sys.stdin); [print(pr['number'], pr['title'][:80])
  │ for pr in prs]" 2>/dev/null | head -15
  └ 11 lines...
● list_pull_requests (MCP: github) · direction: "desc", owner: "microsoft", page: 2, perPage: 10, r…
  └ Output too large to read at once (28.9 KB). Saved to: /tmp/1781217332877...
Failed to get response from the AI model; retried 5 times (total retry wait time: 91.90 seconds) (Request-ID d9a233bf-67dc-41bc-80a4-e2e8dcfe39cd) Last error: CAPIError: 429 Maximum AI credits exceeded (1019.934480 / 1000).
Changes    +87 -57
Duration   14m 14s
Tokens     ↑ 3.0m (2.9m cached) • ↓ 22.4k

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/27380995660
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 Efficiency Improver · 1K AIC · ◷

  • expires on Jun 18, 2026, 10:40 PM UTC

Activity

  1. Evangelink commented on Jun 12, 2026

    @Evangelink
    MemberAuthor

    Agent job 27445981646 failed.

    Warning

    AI Credits Budget Exceeded

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

    Increase the limit

    Update max-ai-credits in your workflow frontmatter:

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

        ter.cs
    Now optimize `GetTestName` to use a direct walk instead of `OfType + FirstOrDefault` (avoids array allocation):
    ● Read AzureDevOpsReporter.cs
      │ src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/AzureDevOpsRepor
      │ ter.cs
      └ L434:444 (11 lines read)
    Failed to get response from the AI model; retried 5 times (total retry wait time: 75.51 seconds) (Request-ID 3aee773f-18db-429e-9d86-61f8e2d63ce1) Last error: CAPIError: 429 Maximum AI credits exceeded (1017.233070 / 1000).
    Changes    +6 -6
    Duration   6m 14s
    Tokens     ↑ 3.0m (2.9m cached) • ↓ 15.2k
    

    Generated from Efficiency Improver · 1K 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