Repository navigation
Raise test-quarantine effective-token budget to 50M, halve run frequency - #67168
Merged
wtgodbe merged 1 commit intoJun 11, 2026
Merged
Conversation
The test-quarantine agent loop was tripping the 25M default effective-token cap mid-gathering, before producing any quarantine output. Raise the per-run budget to 50M via the max-effective-tokens frontmatter field, and halve the schedule to every 2 days so monthly token spend stays roughly flat. Co-authored-by: Copilot <[email protected]>
Contributor
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adjusts the test-quarantine agentic workflow to avoid hitting the gh-aw effective-token cap mid-run by increasing the per-run budget while reducing run cadence to keep overall spend approximately stable.
Changes:
- Change the scheduled trigger from daily to every other day (
cron: "0 10 */2 * *"). - Add
max-effective-tokens: 50Mto raise the per-run AWF API-proxy effective-token budget. - Regenerate the compiled
.lock.ymlworkflow to reflect the new schedule and token budget.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/test-quarantine.md | Updates schedule cadence and adds a higher per-run effective-token budget in frontmatter. |
| .github/workflows/test-quarantine.lock.yml | Updates the compiled workflow output to match the markdown workflow changes (schedule + token budget). |
Comment on lines
+738
to
+741
| # Per-run effective-token (ET) budget for AWF API-proxy enforcement. Raised from the | ||
| # 25M default because the agent loop was tripping the cap mid-gathering before producing | ||
| # any output. Run frequency is halved (every 2 days, see cron above) to keep monthly token | ||
| # spend roughly flat. See gh-aw ADR-35286 for the precedence rules. |
| on: | ||
| schedule: | ||
| - cron: "0 10 * * *" | ||
| - cron: "0 10 */2 * *" |
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.
Problem
The daily
test-quarantineagentic workflow has been tripping the gh-aw default 25M effective-token (ET) cap mid-gathering, before producing any quarantine output. Even after moving Part 1 data gathering to a zero-cost pre-activation step (#67167), the agent loop still exceeds 25M during Part 2 (pass-rate analysis), dying with429 Maximum effective tokens exceededand creating no PRs/issues.Changes
max-effective-tokens: 50M— new top-level frontmatter field (supported since gh-aw ADR-35286; precedence is frontmatter →GH_AW_DEFAULT_MAX_EFFECTIVE_TOKENS→ 25M built-in). This raises the per-run AWF API-proxy budget so the agent can finish a full pass.cron: "0 10 */2 * *"— schedule halved from daily to every 2 days, so the doubled per-run budget keeps monthly token spend roughly flat.Notes
This is a pragmatic stopgap to get the workflow producing output again. A durable follow-up (precomputing Part 2 pass-rate data + trimming the injected Part 1 blob) will cut per-run cost back well under 25M, after which the cap can be lowered again.