You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warm pool: learn a baseline only after it is leased 3 times in a day #1255
With baselines (#327), the warm pool learns every baseline that is leased even once as its own kind and keeps at least one copy of it booted for 24 hours. On 2026-11-04, one lease each of ios-test and android-test on a test worker made the pool keep 4 kinds warm (plain iPhone 17, plain Pixel 9 and the two baselines): 3 simulators and 2 emulators booted at once, a load average of 217 on an M3 Pro, and baseline leases of 39 s and 60 s instead of ~25 s.
A worker whose agents use several baselines a day keeps one extra booted device per baseline, even for a baseline someone leased once to try it. An operator cannot opt one out: warm forget works per model, and warmPool.learn: false turns all learning off.
A second gap: when a new version of a learned baseline is saved, the learned kind takes only the new version number. A version saved from a device of another model, OS or image tag leaves the pool warming copies that no longer match the baseline (found in #1245's review).
Decided with the maintainer (2026-11-04)
The pool learns a baseline kind only after it was leased at least N times within 24 hours. Before that, a lease of it is a copy and a boot, and nothing stays booted.
N is a worker setting, warmPool.baselineLearnAfter, default 3. 1 gives today's behaviour.
Plain kinds keep today's rule (learned on the first lease).
When a new version of a learned baseline is saved, the learned kind takes that version's model, OS and image tag as well as its version.
Naming a baseline in warmPool.targets (an operator target for a baseline).
Live Android snapshots to speed up seed making and baseline save (discussed 2026-11-04; parked until fresh-home workers such as CI make the first lease matter).
Activity
V3RON commentedon Nov 4, 2026
Being specified in #1257. This issue stays open until that feature ships.
Written by an agent.
github-actions commentedon Nov 5, 2026
Shipped as #1257.