Skip to content

[aw] Raise Semantic Function Refactoring turn budget to prevent invocation-cap failures - #49886

Merged
pelikhan merged 2 commits into
mainfrom
copilot/aw-fix-semantic-function-refactoring
Aug 3, 2026
Merged

[aw] Raise Semantic Function Refactoring turn budget to prevent invocation-cap failures#49886
pelikhan merged 2 commits into
mainfrom
copilot/aw-fix-semantic-function-refactoring

Conversation

Copilot AI commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

The scheduled Semantic Function Refactoring workflow failed because the Claude engine exhausted its invocation budget before completing (invocation_cap_exceeded). This change increases the workflow’s turn budget so routine analysis runs can finish within configured guardrails.

  • Workflow guardrail adjustment

    • Increased the top-level turn cap in .github/workflows/semantic-function-refactor.md:
      • max-turns: 30max-turns: 50
    • Keeps existing credit guardrails (max-ai-credits, max-daily-ai-credits) unchanged.
  • Compiled workflow sync

    • Regenerated .github/workflows/semantic-function-refactor.lock.yml so runtime execution reflects the updated cap (--max-turns 50 in the engine invocation).
# .github/workflows/semantic-function-refactor.md
max-ai-credits: 300
max-turns: 50

Copilot AI linked an issue Aug 3, 2026 that may be closed by this pull request
…ap failures

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix workflow failure for semantic function refactoring [aw] Raise Semantic Function Refactoring turn budget to prevent invocation-cap failures Aug 3, 2026
Copilot AI requested a review from pelikhan August 3, 2026 04:07
@pelikhan
pelikhan marked this pull request as ready for review August 3, 2026 04:08
Copilot AI review requested due to automatic review settings August 3, 2026 04:08
@pelikhan
pelikhan merged commit 24f6c45 into main Aug 3, 2026
@pelikhan
pelikhan deleted the copilot/aw-fix-semantic-function-refactoring branch August 3, 2026 04:08

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.

🟢 Ready to approve

The source and generated workflow changes are consistent and directly address the reported invocation-cap failure.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Raises the Semantic Function Refactoring workflow’s invocation limit to address #49883.

Changes:

  • Increases max-turns from 30 to 50.
  • Regenerates runtime configuration while preserving AI credit limits.
File summaries
File Description
.github/workflows/semantic-function-refactor.md Raises the source workflow turn cap.
.github/workflows/semantic-function-refactor.lock.yml Applies the new cap to generated runtime settings.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.3

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] Semantic Function Refactoring failed

3 participants