Raise Avenger turn budget for self-repair runs - #51491
Merged
Merged
Conversation
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
pelikhan
marked this pull request as ready for review
August 9, 2026 04:05
Contributor
There was a problem hiding this comment.
Pull request overview
Raises Avenger’s invocation budget to prevent self-repair runs from exhausting the previous 25-turn limit.
Changes:
- Increases
max-turnsfrom 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.max-turnsfrom25to50.Generated workflow
avenger.lock.ymlso the runtime harness andGH_AW_MAX_TURNSuse the same 50-turn budget.Agent instructions