chore(ios-runner): delete the unreachable synthesized continuous drag profile
Merged
TH
2mo ago+33+33+01234567890123456789-152-152-012345678901234567890123456789
Summary
Removes the synthesized .continuous (smoothstep) drag profile. Nothing could reach it: the only daemon drag producer is macOS-only and never sets synthesized.
- Removed the ObjC continuous path, smoothstep, and the frame-count export (with its test), plus the ADR/#1586 comment, which only described smoothstep.
- Removed the Swift
.continuouscase, and inexecuteDragGesturethesynthesized:flag and the second synthesized block. Profile and policy now travel as one optional. .fastSwipeand.controlledScrollare unchanged byte for byte. ADR 0013 and 0011 now describe the lanes that remain.
Two ways the current code differs from the issue: a runner drag that sets synthesized now runs a plain coordinate drag, and a non-iOS gesture endpoint-hold plan (which the daemon never sends) no longer reports gestureFallback.
8 files, +33/ā152. Closes #2790
Validation
Rebased onto main at a913cb222. Signed macOS host lane: 236/236 at 3b3fd2766 (+2 tests from main). check:affected --run is green at the stack head 60e533284. The evidence below is from before the rebase.
Tested at a72db6538.
- Gates:
check:affected --run,check:xctest-selection, andformat:checkpass.grep -rni continuousin the runner UITests finds only a text-entry comment. - Host-lane XCTest (locally signed): 234/234 pass.
- iPhone 17 Pro simulator: the
01-navigation-scroll(swipe plus scroll edges),02-checkout-release,gesture-pan-duration, anddragreplays pass. Runner log showsagent-device-controlled-scrollandagent-device-swiperecords. - The E2E smoke passed its
scrollsteps.snapshot-depth-frontierfailed because it expects the AX-bridge backend and gotxctesthere; that is unrelated snapshot code, so CI is authoritative. - Review: fixed the stale docs, the dead policy argument, and the fixture flag. Rejected inlining the sampler (it must stay byte-identical) and rejecting
synthesizedondrag(that would be a new compatibility path).
š¤ Generated with Claude Code