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
slow-ios-window: warm clipboard test times out when memory pressure holds back the warm spare #1891
The warm case of "isolates clipboard in both directions for a warm lease and after recovery, …" waits up to 330 s for a ready warm simulator (e2e/slow-ios-window.test.ts:115). On a loaded host the daemon does not make the spare, so the test fails by timeout (testing rule 2) and never reaches its clipboard checks. It failed this way in both recent runs:
simlock-slow-e2e-20261124-151121-daemons daemon.log: "a warm pool target is short" short=memory-pressure
simlock-slow-e2e-20261126-175724-daemons daemon.log: "a warm pool target is short" short=memory-pressure
Error: waitFor timed out after 330000ms (warm iOS simulator ready)
Confirmed. The e2e helper seeds every worker's config without memoryPressure, so a test daemon pauses warming whenever the host's memory reads warn. e2e/helpers/env-memory-pressure.test.ts on bug/1891-repro, "a worker the e2e helpers seed for the %s driver has memory pressure turned off", runs for the fake and the real driver with mode: "auto", so no daemon starts.
$ pnpm test:e2e e2e/helpers/env-memory-pressure.test.ts
× a worker the e2e helpers seed for the fake driver has memory pressure turned off
× a worker the e2e helpers seed for the real driver has memory pressure turned off
AssertionError: memoryPressure.enabled in the seeded config: expected undefined to be false
Host evidence, from the kept daemon logs of both failing runs:
simlock-slow-e2e-20261124-151121-daemons/simlock-e2e-LrY8zU/daemon.log
simlock-slow-e2e-20261126-175724-daemons/simlock-e2e-KZCl2c/daemon.log
"a warm pool target is short" {"count":1,"ready":0,"short":"memory-pressure","target":"ios iPhone 16 27.2"}
Root cause
Defect, in the test harness. e2e/helpers/env.ts:224 (STANDALONE_OFF, merged into every non-gateway seed by seedConfig) does not pin memoryPressure, so both lanes keep the default pauseWarming: { level: "warn", minAvailablePercent: 20 } (src/core/config-defaults.ts:122). The daemon samples this machine's memory, and at warming-paused the pool starts nothing (src/core/warm-pool/policy.ts:730, ADR 0068 §3). The symptom is the 330 s waitFor at e2e/slow-ios-window.test.ts:115. This is #1867 for the out-of-process lane, which only config can reach.
Simplest fix
Add memoryPressure: { enabled: false } to STANDALONE_OFF, with a why-comment. Tried, then discarded:
Activity
chore(agents): a bug run is held only by a live claim, and every tria…
V3RON commentedon Nov 27, 2026
Reproduction
Confirmed. The e2e helper seeds every worker's config without
memoryPressure, so a test daemon pauses warming whenever the host's memory readswarn.e2e/helpers/env-memory-pressure.test.tsonbug/1891-repro, "a worker the e2e helpers seed for the %s driver has memory pressure turned off", runs for the fake and the real driver withmode: "auto", so no daemon starts.Host evidence, from the kept daemon logs of both failing runs:
Root cause
Defect, in the test harness.
e2e/helpers/env.ts:224(STANDALONE_OFF, merged into every non-gateway seed byseedConfig) does not pinmemoryPressure, so both lanes keep the defaultpauseWarming: { level: "warn", minAvailablePercent: 20 }(src/core/config-defaults.ts:122). The daemon samples this machine's memory, and atwarming-pausedthe pool starts nothing (src/core/warm-pool/policy.ts:730, ADR 0068 §3). The symptom is the 330 swaitForate2e/slow-ios-window.test.ts:115. This is #1867 for the out-of-process lane, which only config can reach.Simplest fix
Add
memoryPressure: { enabled: false }toSTANDALONE_OFF, with a why-comment. Tried, then discarded:No e2e file sets or reads
memoryPressure, and a test can still override it.Alternatives rejected
slow-ios-window's warm case:slow-ios-streamand the other warm flows stay exposed.FAKE_LANE_BASE_CONFIG: misses the real lane, where this failed.Risk
Fast track
Side findings
Written by an agent.
V3RON commentedon Nov 27, 2026
Delivery run
Merged: #1929 (#1891)
Parked: none
Waiting: none
Written by an agent.