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
Commit 705ef4b
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(ios-runner): post a charged text-entry plan through one executor
Both synthesized routes now run the plan through runSynthesizedTextPlan: the
executor slices the next characters per step, takes the wait the plan carries,
and hands a warmup step to the route's own read-back. The plan records no
shape flag; the burst/warmup/paced phase naming derives from the steps.
A post that stops the plan answers with its typed failure before the target
reads the last element, so a vanished input cannot turn a focused failure into
a snapshot error.
Copy file name to clipboardExpand all lines: apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+TextEntry.swift
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,7 @@ extension RunnerTests {
39
39
// Kept inside the 400-character diagnostic bound the host applies to every error string
40
40
// (`REDACTED_STRING_MAX_LENGTH` in packages/kernel/src/redaction.ts): a hint truncated at
41
41
// that boundary looks actionable and is not, which is the failure the iOS open-command hint
42
-
// already refuses to produce. The previous wording cost 460 characters and lost its last
43
-
// sentence on the wire.
42
+
// already refuses to produce.
44
43
return"Fill at most \(SynthesizedDeliveryBudget.maxTextLength(delaySeconds:0)) characters per command without --delay-ms and append the rest with separate type commands. --delay-ms lowers the limit: each character then gets its own synthesize call and each gap pays the delay, so \(recoveryDelay) ms fits \(recoveryBudget). This route is chosen when the accessibility channel is already degraded, so a longer timeout does not help."
0 commit comments