diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 451181a9d..1113b071c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,6 +1,19 @@ nodeLinker: hoisted engineStrict: true +# Disable pnpm 11's pre-script `verify-deps-before-run` install pass. Without +# this, the `npm version` step in `on-release.yml` / `pr-build-test.yml` +# (which mutates `package.json`) makes the next `pnpm run publish` / +# `pnpm run make` trigger a second install pass that re-resolves overrides +# and reruns `postinstall: electron-rebuild`. On the `ubuntu-24.04-arm` +# runner that second pass hangs at end-of-install ~90% of the time in +# interruptible sleep at ~600MB RSS, blocking the job for 30+ min and +# producing silent cancels (see v0.35.0-rc.0 through v0.35.3-rc.1). +# v0.34.x ran on pnpm 10.33.0 which didn't have this setting and shipped +# arm releases first-try every time — disabling it on pnpm 11.x replicates +# that behavior without touching the lockfile or override resolution. +verifyDepsBeforeRun: false + allowBuilds: '@sentry/cli': true '@swc/core': true