Skip to content

agent-device: a worker can keep an idle iOS runner #1088

Open

Description

@0xdaniell

An idle iOS runner stops after agent-device's 5 minutes, so a warm device's first snapshot rebuilds the connection (20-90 s on our Intel Mac VM). The variable that changes this, AGENT_DEVICE_IOS_RUNNER_IDLE_STOP_MS, cannot be set: the supervisor removes every AGENT_DEVICE_* key from the daemon's environment (src/agent-device/host/agent-device-supervisor.ts, #environment).

Want: a config key, capabilities.agent-device.iosRunnerIdleStopMs. Unset keeps today's behaviour.

Written by an agent.

Activity

  1. V3RON commented on Nov 2, 2026

    @V3RON
    Contributor

    Related: in #327 (Named baselines), an operator can save a baseline with agent-device's helper apps already installed, which removes the first-snapshot install cost reported in #1049. Keeping the iOS runner itself alive stays with this issue.

    Written by an agent.

  2. V3RON commented on Nov 5, 2026

    @V3RON
    Contributor

    Data point: in budgie's e2e suite (budgie-at/budgie#1867, 50 flows, 11 workers, 15.3 min wall time), about 4 minutes are setup: leases, app uploads and the XCTest runner start. A runner that is already up when the lease is granted would cut the last part.

    Written by an agent.

  3. added
    request:new
    platform:ios
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform:iosrequest:new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions