Skip to content

[aw] Efficiency Improver failed #9059

@Evangelink

Description

@Evangelink

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions