Skip to content

Infrastructure: land the public desktop driver - #4294

Merged
Jason Morse (JasonVMo) merged 20 commits into
mainfrom
user/jasonvmo/storybook-desktop
Aug 31, 2026
Merged

Infrastructure: land the public desktop driver#4294
Jason Morse (JasonVMo) merged 20 commits into
mainfrom
user/jasonvmo/storybook-desktop

Conversation

@JasonVMo

@JasonVMo Jason Morse (JasonVMo) commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add the public @fluentui-react-native/desktop-driver package with a client-neutral W3C remote end, deterministic fake host, typed client, WebdriverIO runner, JSON CLI, bounded agent API, and confined artifacts.
  • Split reusable desktop Storybook orchestration from its React Native runtime, generate platform manifests and authenticated runtime identity, and supervise Storybook, Metro, and the driver under owned lifecycles.
  • Remove the dedicated apps/storybook/scripts and windows-tests harnesses in favor of the shared storybook-desktop CLI.
  • Add smoke --mode stories|stories-and-tests, plus Windows and Win32 PR smoke jobs with artifact upload; macOS build steps now use the same shared CLI.

This supersedes the older Appium-oriented branch shape described in #4258 with the fresh Appium-free Stage 1 architecture.

Infrastructure workstream coverage

Current platform boundary

  • stories traverses the complete supported native catalog.
  • stories-and-tests performs the same traversal and then runs tagged authored plans against the Stage 1 manifest-derived fake target.
  • Windows currently excludes Accordion and Callout because both still fail-fast the RNW 0.81 Fabric host during traversal.
  • Win32 currently excludes Accordion and ListItem; Callout remains covered through the Paper endpoint.

Validation

  • yarn build
  • yarn workspace @fluentui-react-native/storybook-desktop test --runInBand — 33 tests passed
  • Storybook desktop and app lint/format checks
  • yarn lint-lockfile
  • yarn change:check
  • yarn check-publishing
  • Windows Storybook stories-and-tests — 136 native stories and 3 authored plans passed
  • Win32 Storybook stories-and-tests — 130 native stories and 3 authored plans passed

Comment thread packages/agentic/desktop-driver/src/server/createDesktopDriverServer.ts Dismissed
@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Bundle size report

Tree-shaken production Metro bundles. Component costs are relative to their platform shell; shell costs are absolute.

Platform Scenario Baseline cost Current cost Cost delta Change Gzip delta Module delta
macos shell 801.3 KiB 801.3 KiB 0.0 KiB 0.00% 0.0 KiB +0
macos components-button 46.4 KiB 46.4 KiB 0.0 KiB 0.00% 0.0 KiB +0
macos components-catalog 263.8 KiB 263.6 KiB -0.2 KiB -0.06% -0.0 KiB +0
win32 shell 806.5 KiB 806.5 KiB 0.0 KiB 0.00% 0.0 KiB +0
win32 components-button 46.4 KiB 46.4 KiB 0.0 KiB 0.00% 0.0 KiB +0
win32 components-catalog 263.8 KiB 263.7 KiB -0.2 KiB -0.06% -0.1 KiB +0
windows shell 810.2 KiB 810.2 KiB 0.0 KiB 0.00% 0.0 KiB +0
windows components-button 46.5 KiB 46.5 KiB 0.0 KiB 0.00% 0.0 KiB +0
windows components-catalog 263.6 KiB 263.5 KiB -0.2 KiB -0.06% -0.0 KiB +0

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

Jason Morse (JasonVMo) and others added 4 commits August 30, 2026 21:25
Install the required Windows App Runtime in CI, wait for the initial macOS Metro bundle, and stop the exact macOS app process reliably.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Register the SDK-provided Debug VCLibs framework before the app package and make the desktop-driver cancellation test deterministic on slower CI hosts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Register both x64 VCLibs Debug framework packages from the Windows SDK before installing the Storybook app package.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Infrastructure: Land the desktop test driver on main

3 participants