Skip to content

Stabilize JavaScript PR tests and bound CI concurrency - #4519

Merged
Jason Morse (JasonVMo) merged 3 commits into
mainfrom
user/jasonvmo/js-pipeline-reliability
Nov 20, 2026
Merged

Jason Morse (JasonVMo) merged 3 commits into
mainfrom
user/jasonvmo/js-pipeline-reliability

Conversation

@JasonVMo

Copy link
Copy Markdown
Contributor

Platforms Impacted

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

Repository test tooling and the Ubuntu JS PR job; no runtime behavior changes.

Description of changes

  • Bound JS PR scheduling to two Lage tasks with one Jest worker apiece. Scale test-only budgets in CI and publish per-file timings and worker settings for each attempt.
  • Synchronize driver recovery fixtures on dispatch and storage events, restore injected deadlines before cleanup, and surface nested cleanup failures.
  • Split the inline WDIO contract by behavior and give its children a watchdog and cooperative drain. Keep real process-isolation, cancellation and timeout coverage.
  • Document deterministic test authoring and the CI budget controls.

Verification

  • yarn build — passed.
  • CI=true FURN_TEST_TIMEOUT_SCALE=2 yarn workspace @fluentui-react-native/desktop-driver test recovery timeouts — passed, 38 tests.
  • CI=true FURN_TEST_TIMEOUT_SCALE=2 yarn workspace @fluentui-react-native/storybook-desktop test wdioRunner sourceConfig serverIntegration — passed, 18 tests.
  • yarn clean-lage-cache followed by CI=true FURN_JEST_MAX_WORKERS=1 FURN_TEST_TIMEOUT_SCALE=2 FURN_JEST_TIMINGS_DIR=<session scratch> yarn lage buildci --concurrency 2 --continue — passed.
  • yarn lage test-links --verbose --grouped --concurrency 2 and yarn change:check — passed.
  • Hosted JS PR job pending at draft creation. Native validation not run locally; no native changes.
Before After
Package Jest pools could compete in the hosted JS job; a short injected command deadline could escape to cleanup. Explicit cross-package concurrency, isolated failure injection, and per-attempt timings for tuning.

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

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

@JasonVMo
Jason Morse (JasonVMo) marked this pull request as ready for review November 19, 2026 22:30
@JasonVMo
Jason Morse (JasonVMo) enabled auto-merge (squash) November 20, 2026 03:48
@JasonVMo
Jason Morse (JasonVMo) merged commit ff7d60a into main Nov 20, 2026
20 checks passed
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