Skip to content

WebDriver endpoint-plan lowering has never been executed by a real driver #1585

Done

Description

@thymikee

The gap

#1572 changed what WebDriver sends for a one-contact gesture: the canonical plan carries only its endpoints, so packages/provider-webdriver/src/webdriver-interactor.ts emits pointerMove duration=0 → start, pointerDown, one pointerMove duration=<authored duration> → end, pointerUp (swipe at :189-202 on origin/main 3c68c19ed3; pointerActions at :734 walks plan samples for multi-touch). ADR 0013 records the reasoning — "the driver owns interpolation across that W3C tick" (docs/adr/0013-unified-gesture-plans.md:200-201).

No real driver has run it. The unit test pins the sequence against a stub WebDriverClient; the cloud-webdriver-* provider scenarios run against a fake server (test/integration/provider-scenarios/cloud-webdriver-test-server.ts); no workflow starts a driver. There is no WebDriver evidence file in docs/evidence/. The behavior change shipped on specification reasoning alone, and the failure mode is silent: a gesture that lands as a jump, or does nothing, with a successful response.

Required behavior

  1. Run one live pan through a real WebDriver endpoint (local chromedriver or a provider grid) and measure that content moved and honored the requested duration.
  2. Record the result in docs/evidence/ and cite it from docs/adr/0013-unified-gesture-plans.md:201, in the style of the Android analogue docs/evidence/android-densified-lowering-2026-11-13.md.
  3. If the driver did not interpolate, densify the plan WebDriver-side with densifyGesturePath (packages/gestures/src/gesture-plan.ts:502), the way the Android owner packages/platform-android/src/touch-plan-lowering.ts does. (The original body pointed at src/platforms/android/touch-plan.ts; that file no longer exists.)

Completion conditions

docs/evidence/ holds the live run with device/driver identifiers and the movement/duration measurements; ADR 0013 cites it; or the ADR instead records the explicit endpoint-expansion lowering that the evidence forced, with the provider covered by a scenario against a real driver.

Activity

  1. added
    needs-triage
    on Aug 4, 2026
  2. added and removed
    needs-triage
    on Oct 16, 2026
  3. thymikee commented on Nov 23, 2026

    @thymikee
    MemberAuthor

    Current state: body rewritten against origin/main 3c68c19 (2026-11-23 maintainer sweep, T105). No driver has run the lowering; ADR 0013:201 still rests on the spec. Paths corrected: the Android densify owner is packages/platform-android/src/touch-plan-lowering.ts over densifyGesturePath (the cited src/platforms/android/touch-plan.ts is gone).
    Previous body is preserved at the issue's edit history (the Edited marker in the header) and archived locally; no copy is republished here.

  4. apex-sentinel-staging commented on Nov 23, 2026

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: feature

    The issue requests adding live WebDriver validation and evidence for endpoint-plan lowering, with possible densification if a real driver does not interpolate. It does not report a confirmed broken behavior, but it clearly specifies required steps and completion criteria.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions