Skip to content

Prepare desktop-driver, desktop-test, and desktop-mcp for release - #4515

Merged
Jason Morse (JasonVMo) merged 72 commits into
mainfrom
user/jasonvmo/driver-release
Nov 19, 2026
Merged

Jason Morse (JasonVMo) merged 72 commits into
mainfrom
user/jasonvmo/driver-release

Conversation

@JasonVMo

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

Copy link
Copy Markdown
Contributor

Platforms Impacted

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

Description of changes

Prepare the application-neutral desktop tooling for a 0.x preview (#4275, #4435). The release targets desktop-driver 0.5.4, desktop-test 0.4.0, desktop-mcp 0.1.1 and the driver-only compatibility wrapper 0.1.5.

  • Driver: Prevent WebdriverIO from replaying failed requests. Validate input bounds and live targets, recover abandoned input state, and bound listener shutdown. Improve Windows helper initialization, capture recovery and cache handling, and macOS signed-helper verification.
  • Test and MCP: Propagate cancellation to retained application startup, preserve exact ownership during disposal, redact report credentials, and distinguish supervisor restart and capacity failures. Document the 0.4.0 integration migration and supported Node versions.
  • Packaging: Keep helper build sources but omit test and generated artifacts. Clean-install the desktop tarballs in an empty consumer, validate their public library exports and CLI entry points, and run versioning and packing on Windows as well as macOS.
  • Storybook: Fit the Input focus-treatment fixture inside the preview without changing the component, test assertions, or native hit-testing.

Deferred items: #4517 (driver), #4518 (test), #4516 (MCP). Follow-on qualification remains in #4441, #4348, #4349 and #4451. The source PR does not publish packages. Version Packages #4509 regenerates automatically after this lands; recheck its versions, changelogs and actual packed-install job before merging it.

Planning snapshots: release review, release plan, Windows plan. These files are not part of the merge diff.

Verification

Hosted: All 20 checks passed at 929b0281b. After the hosted Win32 preview-reset and Dropdown multiselection timeouts, b59ff84e6 raised only the preview-reset test's budget (15s to 30s), and 035aff3f3 raised only the Dropdown multiselection accessibility-action test matrix's budget (10s to 30s). Hosted JS at 035aff3f3 passed 180/180 and ran both the components and runtime test tasks successfully. Other checks on that revision are still in progress. This unversioned PR uses already-published desktop package versions; the hosted dry-run pack job does not qualify the next desktop versions.

Local test-only updates: yarn test StorybookUI passed 4/4 and the runtime suite passed 40/40 at b59ff84e6. At 035aff3f3, yarn test dropdown passed 38/38 and the component suite passed 908/908. Each owning package passed yarn format, yarn lint, yarn build and yarn test. Both revisions passed yarn clean-lage-cache && yarn lage buildci --concurrency=2 --continue (180/180) and yarn change:check. No assertions, production deadlines or native inputs changed.

Local aggregate and versioned packages, 929b0281b:

  • macOS yarn clean-lage-cache && yarn lage buildci --concurrency=2 --continue: 180/180 tasks passed.
  • Windows yarn clean-lage-cache && yarn lage buildci --verbose --grouped: 180/180 tasks passed with TEMP and TMP outside the checkout. yarn lage test-links --verbose --grouped: 91/91 tasks passed.
  • Both hosts passed yarn changeset:version, yarn build, yarn lage pack (desktop package scopes on macOS) and yarn smoke:desktop-tarballs _packed in disposable previews. All four new versions installed with 40 library imports, service-entry resolution and four CLI help checks. Both built helpers from the installed sources and confirmed doctor and cache-only resolution. The macOS helper was signed; Windows covered Windows and Win32.

Local native and packed-adapter checks:

  • Windows Fabric physical lane at ce084180a: focused STORYBOOK_SMOKE_STORY=components-input--focus-treatment yarn storybook smoke --windows --mode stories-and-tests --input physical passed 1/1 with physical click and keyboard receipts. The full command without the selector passed 216 rendered stories and all 121 callbacks, with no failures, skips, or unsupported cases. Native delivery was recorded in 84 callbacks. Component format, lint, build and test (908 tests) passed; yarn clean-lage-cache && yarn lage buildci passed 180/180. The original Appx registration and app data were preserved; cleanup was verified.
  • Win32 Paper at 929b0281b: yarn storybook smoke --win32 --mode stories-and-tests --input physical passed (189 stories, 100 callbacks passed, 1 quarantined under Components: Win32 Button does not report onPressOut after Space with an intervening key #4373). yarn workspace @fluentui-react-native/desktop-test test nativeRunner.contract --runInBand passed 6/6, including capture. The packed MCP adapter passed attached and managed callbacks, busy refusal, relinquish, restart refusal and EOF teardown. The audit found no owned processes, listeners, descriptors or locks left behind.
  • Win32 recovery at 929b0281b: an owned helper exited during a wheel action; the next session delivered physical input without manual recovery. The faulted server still surfaced host-exited cleanup errors, but no owned resources remained. A replacement supervisor reconciled its claim automatically with the neutral Win32 fixture. That is not a pass for the full Storybook service graph.
  • Windows Fabric at 929b0281b: yarn storybook prep --windows, yarn storybook bundle --windows and yarn storybook build --windows passed. The candidate Appx was registered and verified, then the original registration was restored with app data preserved. yarn storybook smoke --windows --mode stories-and-tests --input accessible passed (216 stories, 40/40 callbacks; 82 cases excluded by input policy, 11 by platform). The packed MCP adapter passed attached and managed callbacks, busy refusal, relinquish, restart refusal and EOF teardown. A separate protected Win32 run reached readiness and passed graceful Ctrl+C shutdown. Cleanup was verified.
  • macOS at 1c37281f5: both yarn storybook smoke --macos --mode stories-and-tests --input physical and yarn storybook smoke --macos --paper --mode stories-and-tests --input physical passed (each 120 callbacks, 3 declared unsupported). The initial full Paper run failed a ListboxItem focus callback; two focused probes and a full unchanged rerun passed, with no retries on the passing full run. yarn workspace @fluentui-react-native/desktop-test test nativeRunner.contract --runInBand with the AppKit fixture passed 6/6, including capture. The targeted checks verified oversized wheel refusal, input recovery after owned helper loss during a wheel sequence, and refusal of an unowned overlapping window. Native cleanup audits passed. The intervening commits change portable test fixtures and package inventory, not native or Storybook runtime inputs.
  • Packed MCP on macOS Paper at 929b0281b: the exact-head tarball passed descriptor-based selection and observation, busy refusal, relinquish, attached and managed callbacks, restart refusal, and live EOF teardown. This was the accessible lane with a temporary supervisor-ownership config. Both supervisors reported terminal status; cleanup was verified and the temporary config was removed.
  • Focused requalification at ce084180a: STORYBOOK_SMOKE_STORY=components-input--focus-treatment yarn storybook smoke --macos --mode stories-and-tests --input physical passed on Fabric and with --paper; the same selected smoke with --win32 passed on Win32 Paper. Each run passed the changed callback with one physical click and nine keyboard receipts. Mac rendered 224 stories per renderer; Win32 rendered 189. Cleanup was verified.

Carry-forward and accepted preview exception: ce084180a fixes the tall Input fixture that the Windows preview clipped under its toolbar. It changes only one story and a changeset; the affected callback was rerun on all four endpoints. 5c8a51e12 only removes the temporary planning files. Unchanged desktop package, helper, and packed-consumer evidence carries forward at the SHAs above. Full mixed Win32 Storybook crash recovery is deferred to #4441. An isolated copy of the real journal was refused without effects after the supervisor and channel exited; that confirms the fence, not native crash recovery. The neutral recovery and graceful shutdown checks passed. No new package has been published.

Before After
desktop-mcp 0.1.0 depended on an older desktop-test without the required entry point; driver retries could replay a failed request. The preview bumps the packages together, verifies a clean install in CI when tarballs exist, and keeps failed driver requests single-dispatch.

Pull request checklist

This PR has considered (when applicable):

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

Jason Morse (JasonVMo) and others added 25 commits November 18, 2026 11:45
Add the release review of desktop-driver, desktop-test and desktop-mcp, the
release plan for the macOS lane, and the Windows lane plan. These files are
removed before the fix PR merges.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
… empty ledger

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

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
@github-actions

github-actions Bot commented Nov 18, 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.92k (-702b) 72.85k (-702b)
components-catalog 228 (+1) 229 (+1) 229.66k (+349b) 229.59k (+349b)
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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Jason Morse (JasonVMo) and others added 12 commits November 18, 2026 17:29
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 01f92076-cf4e-47d7-bc4d-0438383dcbf7
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 01f92076-cf4e-47d7-bc4d-0438383dcbf7
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 01f92076-cf4e-47d7-bc4d-0438383dcbf7
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 01f92076-cf4e-47d7-bc4d-0438383dcbf7
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 01f92076-cf4e-47d7-bc4d-0438383dcbf7
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 2b949daf-793f-4b9e-b75c-449b8922f260
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30c9f390-9421-4dd3-8606-c0d6d35db0b2
@JasonVMo
Jason Morse (JasonVMo) enabled auto-merge (squash) November 19, 2026 20:23
@JasonVMo
Jason Morse (JasonVMo) merged commit 25b6af6 into main Nov 19, 2026
20 checks passed
@JasonVMo
Jason Morse (JasonVMo) deleted the user/jasonvmo/driver-release branch November 19, 2026 20:27
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