Skip to content

[aw] Test Improver failed #9093

Closed
Closed

Description

Workflow Failure

Workflow: Test Improver
Branch: main
Run: https://github.com/microsoft/testfx/actions/runs/27448662574

Warning

AI Credits Budget Exceeded

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

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:

  │ # Test Improver Notes — microsoft/testfx
  │
  │ ## Build/Test Commands (Validated from docs)…
  └ 119 lines...
● create_pull_request (MCP: safeoutputs) · title: "test: add DataTestMethod edge cases for TypeCont…
  └ {"result":"success","patch":{"path":"/tmp/gh-aw/aw-test-assist-mstest003...
Failed to get response from the AI model; retried 5 times (total retry wait time: 93.16 seconds) (Request-ID c828b2b7-f82d-4adc-b103-698623908c03) Last error: CAPIError: 429 Maximum AI credits exceeded (1035.126480 / 1000).
Changes    +68 -0
Duration   18m 52s
Tokens     ↑ 3.1m (2.9m cached) • ↓ 20.0k

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/27448662574
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 Test Improver · 1K AIC · ◷

  • expires on Jun 19, 2026, 11:44 PM UTC

Activity

  1. Evangelink commented on Jun 13, 2026

    @Evangelink
    MemberAuthor

    Agent job 27482056628 failed.

    Warning

    AI Credits Budget Exceeded

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

    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:

      │ sys,json; prs=json.load(sys.stdin); [print(p['number'], p['title'][:70],
      │ p['state']) for p in prs]"
      └ 11 lines...
    The PR is queued by safeoutputs (applied post-run). I'll update the monthly issue now, referencing both open PRs and the new one:
    ● update_issue (MCP: safeoutputs) · issue_number: "8978", operation: "replace", body: "## Activity ...
      └ {"result":"success"}
    Failed to get response from the AI model; retried 5 times (total retry wait time: 86.34 seconds) (Request-ID 5981bab8-bf99-4566-8bc5-669b9dd6f6a3) Last error: CAPIError: 429 Maximum AI credits exceeded (1038.540690 / 1000).
    Changes    +76 -0
    Duration   12m 56s
    Tokens     ↑ 3.1m (3.0m cached) • ↓ 18.4k
    

    Generated from Test 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