chore(ios-runner): delete the unreachable synthesized continuous drag profile

Merged
TH
2mo ago
+33-152

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 .continuous case, and in executeDragGesture the synthesized: flag and the second synthesized block. Profile and policy now travel as one optional.
  • .fastSwipe and .controlledScroll are 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, and format:check pass. grep -rni continuous in 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, and drag replays pass. Runner log shows agent-device-controlled-scroll and agent-device-swipe records.
  • The E2E smoke passed its scroll steps. snapshot-depth-frontier failed because it expects the AX-bridge backend and got xctest here; 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 synthesized on drag (that would be a new compatibility path).

šŸ¤– Generated with Claude Code