Skip to content

Desktop testing: enforce session input policy - #4468

Open
Jason Morse (JasonVMo) wants to merge 1 commit into
user/jasonvmo/input-selection-2from
user/jasonvmo/input-selection-3
Open

Jason Morse (JasonVMo) wants to merge 1 commit into
user/jasonvmo/input-selection-2from
user/jasonvmo/input-selection-3

Conversation

@JasonVMo

@JasonVMo Jason Morse (JasonVMo) commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

Depends on #4466 via its branch. Native stack metadata is not registered while
the parent has auto-merge enabled.

  • Enforce immutable accessible, physical, or compatibility input policy per WebDriver session, including raw routes and agent actions.
  • Record input-mechanism receipts and attribute them to declared Jasmine and Storybook cases.
  • Add strict native clear behavior and named accessibility actions; reject WDIO setValue before its clear step in accessible sessions.
  • Update package and native protocol documentation and add patch changesets.

Serialized --input all and managed macOS CI lanes remain follow-up work.

Verification

On rebased commit 9d3e11516:

  • Passed: yarn clean-lage-cache && yarn lage buildci (178 tasks). The first attempt failed in Storybook desktop because the rebase added ws without updating the local install; yarn install --immutable restored it before the successful rerun.
  • Passed: yarn lage test-links --verbose --grouped (90 tasks).
  • Passed: yarn change:check.
  • Passed: yarn test StorybookChannelOrchestrator --runInBand and yarn test serverIntegration --runInBand in packages/agentic/storybook-desktop (29 passed, 2 skipped).
  • Passed: FURN_NATIVE_DRIVER_TEST=1 yarn test --runInBand in packages/agentic/desktop-driver (894 passed, 43 skipped; ad hoc signing).

Windows and Win32 native qualification and stable-signing macOS TCC continuity
were not run. Hosted PR checks are in progress.

Before After
Input selection relied on host masks and click mode, with no case-level delivery receipts; setValue could clear before a rejected keyboard write. Sessions enforce their requested policy before dispatch, cases report delivered mechanisms, and accessible setValue rejects before clearing.

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Bundle size report

Tree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.

Scenario Modules-Mac (Δ) Modules-Win (Δ) Size-Mac (Δ) Size-Win (Δ)
components-button 79 (+1) 80 (+1) 72.78k (-842b) 72.71k (-842b)
components-catalog 228 (+1) 229 (+1) 228.46k (-855b) 228.38k (-855b)
design-themed-root 55 (+4) 56 (+4) 56.26k (+998b) 56.18k (+998b)
design-color-lib 6 (+0) 6 (+0) 6.27k (+0b) 6.27k (+0b)
design-theme-state-legacy-source 49 (+1) 50 (+1) 52.96k (-841b) 52.89k (-841b)
design-legacy-theme 42 (+0) 42 (+0) 39.11k (+0b) 42.91k (+0b)
design-legacy-theme-from-flex 58 (+4) 58 (+4) 60.70k (+824b) 64.51k (+822b)
design-fluent-light-theme 7 (+0) 7 (+0) 18.74k (+0b) 22.59k (+0b)
design-fluent-theme 35 (+0) 35 (+0) 27.46k (+4b) 31.25k (-1b)
design-fluent-hc-theme 32 (+0) 32 (+0) 27.34k (+0b) 31.13k (+0b)
design-flex-theme 29 (-4) 29 (-4) 14.30k (-9.07k) 14.29k (-9.07k)
design-flex-cool-theme 26 (New) 26 (New) 12.51k (New) 12.50k (New)
design-flex-warm-theme 26 (-7) 26 (-7) 12.28k (-11.15k) 12.27k (-11.15k)

The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail.


View bundle-size workflow run

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.

2 participants