Repository navigation
ci: cut runner quota use with schedules, concurrency and timeouts - #2851
Merged
Merged
Conversation
The org runner quota is shared, and these workflows used more of it than they needed: - Every cron fired on minute 0, the top-of-the-hour spike that every repo creates by accident. Move each one to its own odd minute and keep its frequency. The janitor stays hourly: its kubetest2 sweep reaps resources older than 3h, so a 6h cadence would let a leaked cluster live for up to 9h. - No workflow set concurrency, so superseded PR runs kept running. PR checks now cancel the superseded run. Scheduled, dispatch, push-to-main and release workflows queue instead. The reusable ci.yaml has none of its own; its callers, ci-manual and ci-canary, never cancel, because the CI job tears down its EKS cluster inline (kubetest2 --down) and a cancel would leak it. ci-manual groups on the PR number, so one PR's runs do not replace another PR's pending run. - No job set timeout-minutes, so a hung job held a runner for the 6h default. Each job now has a bound well above its recent durations. The AMI build and test job gets 150 min: recent runs took 57-70 min, one took 102 min, and its AWS role session ends at 150 min anyway. ci-manual.yaml and the ci.yaml it calls now run on the awslabs-release-4-core runner group, which allowlists both files.
kummatty
approved these changes
Oct 7, 2026
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.
ci-manual.yamland theci.yamlit calls run on theawslabs-release-4-corerunner group, so e2e runs don't queue behind PR CI on the shared runners.ci-manualruns are never cancelled, so EKS clusters aren't left running.Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Testing Done
See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.