Skip to content

[aw] Test Improver failed #9062

@Evangelink

Description

@Evangelink

Workflow Failure

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

Warning

AI Credits Budget Exceeded

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

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:

  └ 2 lines...
● create_pull_request (MCP: safeoutputs) · title: "test: add edge case tests for TestClassShouldHav…
  └ {"result":"success","patch":{"path":"/tmp/gh-aw/aw-test-assist-testclass...
Now let me update the Monthly Activity Issue. Let me first check what the current state looks like:
● search_pull_requests (MCP: github) · repo:microsoft/testfx is:pr is:open [test-improver] testclas…
  └ [{"content":[{"text":"{\"total_count\":0,\"incomplete_results\":false}",...
Failed to get response from the AI model; retried 5 times (total retry wait time: 89.93 seconds) (Request-ID a8e2617a-4b3a-4dd8-8cfa-7f7817eed3e1) Last error: CAPIError: 429 Maximum AI credits exceeded (1007.553510 / 1000).
Changes    +70 -0
Duration   10m 18s
Tokens     ↑ 3.0m (2.8m cached) • ↓ 12.1k

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/27383700639
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 18, 2026, 11:39 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