Skip to content

on-dev: .dev-host and lease pools (overflow to the build box) - #15

Merged
ndbroadbent merged 1 commit into
mainfrom
on-dev-pool
Dec 2, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
on-dev-pool

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

scripts/on-dev reads Fleetlayer's .dev-host format, so VisualCI's builds can overflow to the rented build box (agents-build-1) through the build lease pool once it's loaded.

  • Host: $ON_DEV_HOST, else .dev-host at 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: with a pool <name> line and no lease held, the script runs itself again under fleetlayer lease run <name> (<name>-light for 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. sync and clean take no slot.
  • CPUs: pinned to 0-23 or to the host's own CPUs if it has fewer. The build box has 16, so taskset -c 0-23 would fail there.

Tested on the agents VM:

  • No .dev-host, inside a docspring-dev-light lease: it built on docspring-dev with affinity 0-23.
  • A stand-in .dev-host (pool docspring-dev plus a second, unreachable host): scripts/on-dev fmt took the docspring-dev-light slot itself and ran on docspring-dev.

The .dev-host files go into the checkouts once the pool is loaded.

Review: no screenshots change.

…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
@visualci-com

visualci-com Bot commented Dec 2, 2026

Copy link
Copy Markdown

VisualCI

docspring/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.

@ndbroadbent
ndbroadbent merged commit c993d67 into main Dec 2, 2026
10 checks passed
@ndbroadbent
ndbroadbent deleted the on-dev-pool branch December 2, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant