Repository navigation
on-dev: .dev-host and lease pools (overflow to the build box) - #15
Merged
Merged
Conversation
…onal lease pool, which takes a slot for the whole command and builds on the host the pool gave; CPUs pinned to at most the host's own
VisualCIdocspring/visualci · build #99 · 292 unchanged · no changes This PR vs base: nothing since #96, across 1 build Updated as builds change. Agents can review with VisualCI's MCP tools. |
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.
scripts/on-devreads Fleetlayer's.dev-hostformat, so VisualCI's builds can overflow to the rented build box (agents-build-1) through thebuildlease pool once it's loaded.$ON_DEV_HOST, else.dev-hostat the checkout's root (now gitignored), else docspring-dev.hs as before. Each line is a host, then optionally its slot name and memory (docspring-dev.hs docspring-dev 12G 6G).pool <name>line and no lease held, the script runs itself again underfleetlayer lease run <name>(<name>-lightfor fmt, check and clippy), and builds on the line whose slot name is the kind the pool gave (FLEETLAYER_LEASE_KIND). Inside a lease taken by hand (fleetlayer lease run docspring-dev-light -- scripts/on-dev ...), it builds on that kind's line.syncandcleantake no slot.0-23or to the host's own CPUs if it has fewer. The build box has 16, sotaskset -c 0-23would fail there.Tested on the agents VM:
.dev-host, inside adocspring-dev-lightlease: it built on docspring-dev with affinity 0-23..dev-host(pool docspring-devplus a second, unreachable host):scripts/on-dev fmttook thedocspring-dev-lightslot itself and ran on docspring-dev.The
.dev-hostfiles go into the checkouts once the pool is loaded.Review: no screenshots change.