#55727: test: scale utilityProcess heap snapshot timeout and disable retries
Merged
Description of Change
Refs #55393. The desktopCapturer half of that issue is in #55726.
utilityProcess module > behavior > supports generating snapshots via v8.setHeapSnapshotNearHeapLimit sometimes ran past its fixed 60s timeout on linux-x64-asan, and only passed because vitest retried it. Every other test on the sanitizer runs gets 180s through ELECTRON_SPEC_TIMEOUT, and the slow runs were on overloaded ASan machines.
This PR:
- Sets this test's timeout to the larger of 60s and
ELECTRON_SPEC_TIMEOUT, so it gets 180s on sanitizer builds and stays at 60s elsewhere. - Sets
retry: 0on the wholeutilityProcess modulesuite, so future flakes fail instead of being hidden by retries.
Ran spec/api-utility-process.spec.ts locally on macOS: 81 passed, 3 skipped. It hasn't been run on an ASan build.
Checklist
- PR description included
- tests are changed or added
- PR release notes describe the change in a way relevant to app developers
🤖 Generated with Claude Code
Notes: none
Backports
44-x-y
In-flight46-x-y
MergedPR Number
#55843Merged At
Nov 16, 2026, 2:32:39 PM
Released In
v46.0.0-alpha.11Release Date
Nov 16, 2026, 3:00:23 PM
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