#54023: test: don't let tests' PowerShell calls block Mocha from timing out
Merged
Description of Change
Synchronous PowerShell calls prevent Mocha from timing out.
Run them asynchronously and kill stalled commands after 30 seconds.
Affects 45-x-y, 44-x-y, 43-x-y, and 42-x-y. Each branch has all six unbounded calls in the enabled Windows MSIX suite. The patch applies cleanly to all four.
Focused subprocess checks, lint, formatting, and scoped TypeScript checks passed. Windows AppX tests were not run.
Checklist
- I have built and tested this change
- I have filled out the PR description
- I have reviewed and verified the changes
-
npm testpasses - tests are changed or added
Release Notes
Notes: none
Backports
43-x-y
MergedPR Number
#54072Merged At
Sep 18, 2026, 12:36:20 AM
Released In
v43.7.3Release Date
Sep 18, 2026, 9:13:36 AM
44-x-y
MergedPR Number
#54071Merged At
Sep 18, 2026, 12:22:56 AM
Released In
v44.4.3Release Date
Sep 18, 2026, 9:13:28 AM
45-x-y
MergedPR Number
#54073Merged At
Sep 18, 2026, 12:40:50 AM
Released In
v45.0.0-alpha.9Release Date
Sep 18, 2026, 9:13:09 AM
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron