A continuous integration system can show two idle runner slots even when there is only enough compute for one demanding test to run comfortably. A slot answers whether a job can start on an eligible worker. It tells us less about the resources that will be available once the job starts. That distinction mattered for an end-to-end acceptance test that runs a model as part of the workload. We changed which workers could pick up the test and then checked that the new path completed. The observed runs show what the placement decision accomplished and which performance questions are still open.
Decide what work a runner can accept
The change gives the end-to-end job a way to prefer a dedicated set of runner labels over the general labels. In the intended setup, just one worker matches the dedicated labels. When the dedicated selection is unset, the job falls back to the general runner pool. An explicit request for hosted execution takes its own path. This lets the workflow express where the expensive test should run normally without requiring all invocations to use the same worker pool.
Eligibility matters because a second copy of the test cannot start on another general worker while the dedicated selection applies and only one worker qualifies. It has to wait for an eligible worker. If a second worker gains the same label, the rule can admit both. This is a property of the worker assignment, and the number of matching workers is part of the design. Other jobs can still use shared compute. Giving the acceptance test one eligible worker therefore addresses a specific source of overlap while leaving resource competition from other workloads possible.
Read a successful run in context
The end-to-end job completed successfully on the pull request revision and again on the merged revision. The acceptance step passed in both runs. The job records showed that the workflow requested the dedicated runner selection. From job start to finish, the pull request run took 16 minutes and 30 seconds and the merged run took 13 minutes and 40 seconds. Those durations exclude time spent waiting for a worker. They establish that the acceptance workload could complete under the new placement rule in the observed CI runs.
An earlier successful run before the change took 13 minutes and 11 seconds, faster than either of those two runs. That earlier result is important when deciding what the new passes mean. A successful run can show that a route through the workflow works without showing that the route speeds up execution. The three timings come from separate runs. We did not run a controlled comparison with overlapping and non-overlapping jobs. The figures leave open how much contention occurred in any one run, what caused earlier delays, and whether the change will reduce timeouts. The records here come from CI jobs on self-hosted workers. We did not run a local workload experiment for this article.
Count the wait as part of the cost
Restricting eligibility changes where a delay can show up. If the one matching worker is busy or unavailable, an additional job can wait even when other workers are free. The job might then run successfully and still deliver feedback later than a run on the general pool. To assess the tradeoff, I would record queue time and execution time separately, alongside the workload revision and the availability of eligible workers. I would also keep failed and cancelled jobs in the comparison. Looking only at successful execution times leaves out the runs where waiting or contention may matter most.
The scheduling change and the successful acceptance runs support a narrow conclusion. The workflow can route the end-to-end test to the intended class of worker and complete the check there. Deciding whether to restrict more workloads would require evidence about the whole queue. A useful follow-up would compare similar revisions under similar loads and ask how long it takes a contributor to receive a result, how often the jobs time out, and how many checks the system completes over the same period. Those measures can move in different directions when a scheduler trades concurrent starts for more predictable access to compute. The observed runs give us a working placement rule to measure.
← All engineering articles