Repository navigation
fleet-report: grey bars show how CI hours were found; runners in use while work waits - #33
Merged
Merged
Conversation
…while work waits Measured, sampled and old-sample days now look different, because the estimates ran up to half again above the measured hours. A new limits panel shows the median running jobs when 10+ runs are queued. occupancy_backfill.jsonl adds readings from before the sampler covered a day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
squid-protocol
marked this pull request as ready for review
October 30, 2026 23:14
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.
What this does
The CI hours bars show how each day was found. The estimates ran high, so measured and estimated days shouldn't look alike:
The tooltip gives the method, and the legend lists only the ones on the chart. Today's measured bar isn't faded, because a faded dark bar reads as an estimate.
A new limits panel, "Runners in use while work waits". It shows each day's median running jobs when 10+ runs are queued, against the runner limit, with the peak and the share of time at the limit in the tooltip. A long queue should fill the pool, so a line under the limit is a ceiling worth explaining.
occupancy_backfill.jsonladds historical readings.main()reads it alongsideoccupancy.jsonl. It's a separate file so the live sampler can't overwrite it, and each line is marked"source": "churn-tick".The backfill data
The file comes from
churn's per-tick job counts, published separately to thedashboardbranch. Against the sampler, the two sources agree: 299 paired readings, an average difference of 0.13 jobs. Ticks that read fewer runs than were in progress are left out, leaving 1,657 readings. They count GitGalaxy only, while other repos added a few runner-hours a day at most on the days we can compare.Oct 24 and 26 stay estimates, at 31% and 74% coverage. Nothing recorded running jobs before Oct 24, so earlier days can't be corrected and stay marked as estimates.
Median running while work waits, Oct 24 to 30: 14, 13, 15, 16, 15, 13, 14, at the limit about 1-4% of the time.
Do the tests fail when something is broken?
main(); it now failsChecks
All tests in this repo pass; the count is in the PR's
pytestcheck. Rendered from live data and checked in Chrome.🤖 Generated with Claude Code