Repository navigation
Support exact core counts for CPU runner pools - #272
Merged
Merged
Conversation
NousLoop
marked this pull request as ready for review
November 17, 2026 05:39
This was referenced Nov 17, 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.
CPU parts can request an exact logical CPU count with
needs: cpuandcores: N. Light routes them toci-cpu-N, so multiple widths can coexist on one host. Omittingcoreskeeps the sharedci-cpuroute and Slurm overflow. Sized jobs wait on the exact label when full and retain it on retry.Validation on local Docker Linux, Python 3.12:
Needs the lead: review and release support, review setup/plan.sh on target hosts, then apply approved changes, register labels, and verify live canaries for each width. No live changes have been made.
Review follow-up: reject sized configurations without one shared slot per CPU or timing pool and preserve nonnumeric custom CPU labels. In local Docker Linux (Python 3.12),
python -m unittest tests.test_cpu_width tests.test_inventory tests.test_presence tests.test_prefer tests.test_route tests.test_drain tests.test_part_slotsran 238 tests (228 passed, 10 skipped); inventory lint had zero findings. All 2,771 mutation snippets matched. The new slot minimum, timing-pool accounting and numeric-label mutants were killed by the two new inventory regressions, and the updated compile-slot mutant was killed by its existing test. No live configuration was changed.