jkleinsc

#55727: test: scale utilityProcess heap snapshot timeout and disable retries

Merged
Created: Nov 10, 2026, 4:15:47 PM
Merged: Nov 16, 2026, 12:51:06 PM
4 comments
Target: main

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: 0 on the whole utilityProcess module suite, 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-flight
PR Number
#55845
Waiting to be merged
45-x-y
Merged
PR Number
#55844
Merged At
Nov 16, 2026, 2:33:14 PM
Released In
Not yet
Release Date
Not yet
46-x-y
Merged
PR Number
#55843
Merged At
Nov 16, 2026, 2:32:39 PM
Released In
v46.0.0-alpha.11
Release 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