Skip to content

Raise Avenger turn budget for self-repair runs - #51491

Merged
pelikhan merged 2 commits into
mainfrom
copilot/aw-failures-fix-max-turns-cap-again
Aug 9, 2026
Merged

Raise Avenger turn budget for self-repair runs#51491
pelikhan merged 2 commits into
mainfrom
copilot/aw-failures-fix-max-turns-cap-again

Conversation

Copilot AI commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Avenger can exhaust its 25-turn Claude invocation cap during CI self-repair, causing otherwise useful investigations to fail with Maximum LLM invocations exceeded. The issue is the workflow turn ceiling, not firewall behavior.

  • Workflow budget
    • Raises Avenger’s max-turns from 25 to 50.
max-turns: 50
  • Generated workflow

    • Recompiles avenger.lock.yml so the runtime harness and GH_AW_MAX_TURNS use the same 50-turn budget.
  • Agent instructions

    • Updates Avenger’s prompt guidance to match the new hard limit.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix max turns cap for self-repair in Avenger Raise Avenger turn budget for self-repair runs Aug 9, 2026
Copilot AI requested a review from pelikhan August 9, 2026 01:58
@pelikhan
pelikhan marked this pull request as ready for review August 9, 2026 04:05
Copilot AI balanced review requested due to automatic review settings August 9, 2026 04:05
@pelikhan
pelikhan merged commit 3a2315f into main Aug 9, 2026
@pelikhan
pelikhan deleted the copilot/aw-failures-fix-max-turns-cap-again branch August 9, 2026 04:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Raises Avenger’s invocation budget to prevent self-repair runs from exhausting the previous 25-turn limit.

Changes:

  • Increases max-turns from 25 to 50.
  • Updates prompt guidance to reflect the new limit.
  • Regenerates the compiled workflow with consistent runtime limits.
Show a summary per file
File Description
.github/workflows/avenger.md Raises and documents the turn budget.
.github/workflows/avenger.lock.yml Applies the 50-turn limit throughout generated runtime configuration.

Review details

Tip

Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw-failures] Avenger hits max-turns: 25 invocation cap during self-repair — same pattern as #51344

3 participants