Raise Test Coverage Improver daily AI credit guardrail#7890
Merged
Conversation
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
Contributor
There was a problem hiding this comment.
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=10000for 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
Collaborator
|
@copilot fix failing ci checks |
Contributor
Author
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
The
Test Coverage Improverworkflow was being blocked before agent execution because its 24-hour effective AI credit usage exceeded the repository default daily threshold (7.7Kvs5K). This change gives the workflow an explicit per-workflow daily budget aligned with its scheduled coverage-analysis workload.Workflow budget override
max-daily-ai-credits: 10Ktotest-coverage-improver.md5Kdaily guardrailCompiled workflow update
test-coverage-improver.lock.ymlso the activation job exports the updatedGH_AW_MAX_DAILY_AI_CREDITS=10000Net effect