Skip to content

Improve desktop-test and storybook-desktop logging output - #4470

Open
Jason Morse (JasonVMo) wants to merge 1 commit into
microsoft:mainfrom
JasonVMo:user/jasonvmo/driver-reporting
Open

Jason Morse (JasonVMo) wants to merge 1 commit into
microsoft:mainfrom
JasonVMo:user/jasonvmo/driver-reporting

Conversation

@JasonVMo

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • Android
  • macOS
  • Windows
  • Win32

Description of changes

Reworks console output for desktop-test, desktop-driver consumers and storybook-desktop so it is readable in GitHub Actions and locally. Verdicts and exit codes are unchanged; this is presentation only.

  • Semantic operations: new runDesktopOperation prints a ✔/✖ label (duration): summary header. Locally the operation's full output is shown only on failure (an excerpt plus Full log: path) or with --verbose. In GitHub Actions a passing operation is a collapsed ::group::, and a failing one is expanded with ::error annotations.
  • Smoke summary: smoke runs report N of M story tests executed: X passed, Y failed, Z skipped... (or no story tests executed (0 of N)), the render step reports N stories rendered, and a fail-fast stop appends stopped early; K of S stories not run.
  • Noise removal: the per-line ::stop-commands::*** fences, [command-<uuid>] tags and blank lines are gone. Workflow commands in captured output are neutralized per line in all modes (:: at line start becomes : :, ##[ becomes # #[).

Call-outs:

  • There is no opt-in knob for stop-commands fencing. Neutralization replaces it. If agents need the fencing, it can be added as an opt-in.
  • Quiet is now the default. Live command output (including grandchild diagnostics) needs --verbose; output is kept in per-command logs.
  • Final [desktop] line form changed. Non-verbose mode has no start/artifact lines or passed-test lines.
  • Command labels now include the subcommand (pod install) and services are labeled by id.
  • describeWdioCounts now includes a failed count.
  • @rnx-kit/reporter was dropped from desktop-test (still used by scripts/).
  • Public reporting API changes are additive only (runDesktopOperation, scope-end summary).

Verification

Before After
Every command line wrapped in ::stop-commands::*** fences with GUID tags; inconsistent smoke summaries Compact headers, collapsed groups in Actions, one clear smoke summary

Commands run (all passed):

  • yarn format and yarn lint in desktop-test and storybook-desktop
  • desktop-test full suite: 281 passed, 4 skipped
  • storybook-desktop full suite: 336 passed (plus focused re-runs after review fixes)
  • yarn oxfmt --check, yarn check-agent-instructions, yarn install --immutable --mode=skip-build
  • yarn lage test-links: 90 tasks, 0 failed
  • yarn clean-lage-cache then yarn lage buildci: 178 succeeded, 0 failed
  • yarn change:check: passed

Not run: native macOS/Windows end-to-end runs and a real GitHub Actions run, so the Actions grouping is covered by unit tests only.

Pull request checklist

  • Addresses an existing issue: Fixes #0 (not applicable, no linked issue)
  • Include a change request file using yarn change
  • Tests added or updated
  • Documentation updated

Add runDesktopOperation for grouped, collapsed-on-success operation output, add smoke-test run summaries, and replace stop-commands fencing with per-line workflow-command neutralization.

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

Copilot-Session: 9305975d-a017-4007-beb2-68a4684cbbc4
@github-actions

github-actions Bot commented Nov 9, 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.

1 participant