Skip to content

Reduce iOS runner idle keepalive log volume #1016

Description

@thymikee

Problem

The XCUITest runner NSLogs AGENT_DEVICE_RUNNER_IDLE_KEEPALIVE every 5s for its whole lifetime (up to the 24h XCTWaiter cap) — ~17k lines/day appended to each session's runner.log. With runner handoff across daemon restarts (#1011) runners can now live longer unattended, so idle logs accumulate with no reader.

Proposal

Widen the keepalive interval substantially (e.g. 60s) or log only liveness state changes; the keepalive exists as a liveness marker in logs, not a heartbeat any code consumes (transport health is HTTP-probe based). Tiny change in apple-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests.swift (xctestIdleKeepaliveInterval).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions