Skip to content

Raise Test Coverage Improver daily AI credit guardrail#7890

Merged
lpcox merged 6 commits into
mainfrom
copilot/aw-test-coverage-improver
Jun 21, 2026
Merged

Raise Test Coverage Improver daily AI credit guardrail#7890
lpcox merged 6 commits into
mainfrom
copilot/aw-test-coverage-improver

Conversation

Copilot AI commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

The Test Coverage Improver workflow was being blocked before agent execution because its 24-hour effective AI credit usage exceeded the repository default daily threshold (7.7K vs 5K). This change gives the workflow an explicit per-workflow daily budget aligned with its scheduled coverage-analysis workload.

  • Workflow budget override

    • Adds an explicit max-daily-ai-credits: 10K to test-coverage-improver.md
    • Stops this workflow from inheriting the stricter default 5K daily guardrail
  • Compiled workflow update

    • Regenerates test-coverage-improver.lock.yml so the activation job exports the updated GH_AW_MAX_DAILY_AI_CREDITS=10000
    • Keeps runtime guardrail enforcement consistent with the markdown source
  • Net effect

    • Preserves the existing workflow behavior and schedule
    • Reduces skipped runs caused solely by the default daily AIC cap
engine: copilot
max-daily-ai-credits: 10K

GitHub Advanced Security started work on behalf of lpcox June 21, 2026 16:16 View session
GitHub Advanced Security finished work on behalf of lpcox June 21, 2026 16:18
GitHub Advanced Security started work on behalf of lpcox June 21, 2026 16:20 View session
GitHub Advanced Security finished work on behalf of lpcox June 21, 2026 16:21
Copilot AI changed the title [WIP] Investigate workflow budget exceedance for test coverage improver Raise Test Coverage Improver daily AI credit guardrail Jun 21, 2026
Copilot AI requested a review from lpcox June 21, 2026 16:22
Copilot finished work on behalf of lpcox June 21, 2026 16:22
GitHub Advanced Security started work on behalf of lpcox June 21, 2026 16:24 View session
GitHub Advanced Security finished work on behalf of lpcox June 21, 2026 16:25
@lpcox lpcox marked this pull request as ready for review June 21, 2026 17:10
Copilot AI review requested due to automatic review settings June 21, 2026 17:10

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

This pull request raises the daily AI credit guardrail specifically for the Test Coverage Improver scheduled workflow so it no longer inherits the repository default daily cap that was blocking runs.

Changes:

  • Adds a per-workflow budget override (max-daily-ai-credits: 10K) in the workflow markdown source.
  • Regenerates the compiled workflow so runtime enforcement uses GH_AW_MAX_DAILY_AI_CREDITS=10000 for this workflow.
Show a summary per file
File Description
.github/workflows/test-coverage-improver.md Adds an explicit per-workflow daily AI credit budget override.
.github/workflows/test-coverage-improver.lock.yml Regenerates the compiled workflow to apply the new daily AI credit cap at runtime.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 6

Comment thread .github/workflows/test-coverage-improver.lock.yml Outdated
Comment thread .github/workflows/test-coverage-improver.lock.yml Outdated
Comment thread .github/workflows/test-coverage-improver.lock.yml Outdated
Comment thread .github/workflows/test-coverage-improver.lock.yml Outdated
Comment thread .github/workflows/test-coverage-improver.lock.yml Outdated
Comment thread .github/workflows/test-coverage-improver.lock.yml Outdated
@lpcox

lpcox commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

@copilot fix failing ci checks

GitHub Advanced Security started work on behalf of lpcox June 21, 2026 17:21 View session

Copilot AI commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

@copilot fix failing ci checks

Addressed in 71534a8 by pinning github/gh-aw-actions/setup in test-coverage-improver.lock.yml to the immutable v0.79.8 commit SHA. Fresh checks are running on this head.

Copilot finished work on behalf of lpcox June 21, 2026 17:23
GitHub Advanced Security finished work on behalf of lpcox June 21, 2026 17:23
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
GitHub Advanced Security started work on behalf of lpcox June 21, 2026 17:31 View session
GitHub Advanced Security finished work on behalf of lpcox June 21, 2026 17:32
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
GitHub Advanced Security started work on behalf of lpcox June 21, 2026 17:40 View session
GitHub Advanced Security finished work on behalf of lpcox June 21, 2026 17:42
@lpcox lpcox merged commit da97a25 into main Jun 21, 2026
27 checks passed
@lpcox lpcox deleted the copilot/aw-test-coverage-improver branch June 21, 2026 17:43
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.

3 participants