Skip to content

docs: the iPad's WDA stalls are testmanagerd's, whichever way WDA starts - #136

Merged
Derrors merged 1 commit into
mainfrom
docs/ipad-stall-ab
Nov 15, 2026
Merged

Derrors merged 1 commit into
mainfrom
docs/ipad-stall-ab

Conversation

@Derrors

@Derrors Derrors commented Nov 15, 2026

Copy link
Copy Markdown
Owner

What and why

D18 (the daemon always launches WDA in the background, #125) left one question open: are the iPad's WDA stalls (#103) caused by the background launch? An A/B on the iPad answers it, so D18 and regression case #103 now say so. Documentation only.

Setup: iPad mini 5 (iPad11,1), iPadOS 26.7.3, Debian Linux. One build (main 8d3e69d plus a temporary local switch, not pushed, that starts WDA with an XCTest session instead). The two launch methods alternate in four 30-minute blocks, each running the same regression script (≈140 tool calls per pass, 4 passes per block). Stalls are counted from the daemon log ("WDA 卡死"). The phone's syslog for WebDriverAgent/testmanagerd was captured at the same time.

launch time stalls
background (2 blocks) 66 min 0
XCTest session (2 blocks) 67 min 2 (outages ≈62 s, ≈42 s)
incl. two earlier runs: background ≈91 min 2
incl. two earlier runs: XCTest session ≈82 min 2

At each stall testmanagerd stops logging (normally ~2,200 lines per 10 s, up to ~5,800) until the daemon restarts WDA. So the stall is in testmanagerd, not in how WDA is started; D18's decision stands.

Tests

1. Unit tests

  • Not applicable: documentation only (no code changed).

2. Real-device regression

  • Not needed: documentation only. The data behind it is the A/B above (and a full iPhone regression on main 8d3e69d: 131/132, the one failure a test-script check).

3. Regression cases

4. Real-device proof

  • Not applicable: no bug fix or feature; the A/B is the evidence recorded.

Checklist

  • MCP compatibility unchanged
  • No dependencies changed
  • No user-visible change (no changelog entry)
  • No private data

🤖 Generated with Claude Code

An A/B on an iPad mini 5 (iPadOS 26.7.3), same build, alternating the
background launch and an XCTest-held WDA: 0 stalls in 66 min against 2
in 67 min (with the earlier runs, 2 in ~91 min against 2 in ~82 min).
During a stall testmanagerd stops logging until WDA is restarted. D18
and regression case #103 record it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Derrors
Derrors merged commit 0e73e7a into main Nov 15, 2026
7 checks passed
@Derrors
Derrors deleted the docs/ipad-stall-ab branch November 15, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant