From 4e3340d4cc9f491ec98798deae0f5ca8c7336cfd Mon Sep 17 00:00:00 2001 From: JUN Date: Thu, 19 Nov 2026 01:03:12 +0900 Subject: [PATCH] fix(windows): silence helper progress and count the pnpm owner probe in the update lint --- src/service/windows-task-instance-stop.ts | 1 + tests/helpers/update-mutation-scanner.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/service/windows-task-instance-stop.ts b/src/service/windows-task-instance-stop.ts index 24a7da21ed2..73522f061aa 100644 --- a/src/service/windows-task-instance-stop.ts +++ b/src/service/windows-task-instance-stop.ts @@ -8,6 +8,7 @@ import { windowsTaskRegistrationMatchesForStop } from "./windows-taskxml"; */ export const WINDOWS_TASK_INSTANCE_STOP_SCRIPT = String.raw` $ErrorActionPreference = 'Stop' +$ProgressPreference = 'SilentlyContinue' $PSModuleAutoLoadingPreference = 'None' $attempted = $false try { diff --git a/tests/helpers/update-mutation-scanner.ts b/tests/helpers/update-mutation-scanner.ts index f371dcf3f75..7ef7a8e3d6a 100644 --- a/tests/helpers/update-mutation-scanner.ts +++ b/tests/helpers/update-mutation-scanner.ts @@ -55,6 +55,8 @@ const occurrenceLimits = new Map([ ["src/update/async-check.ts:latestVersionAsync:child.kill()", 2], ["src/update/npm-install.mjs:runNpmInstall:child.kill()", 3], ["src/update/job-pinned-start.ts:spawnWorkerPinnedStart:closeSync(logFd)", 2], + // #8906: the pnpm branch proves the installed owner, then queries the registry; npm/bun keep one call. + ["src/update/orchestrated-entry.ts::probeSpawnSync", 3], ]); export function rawMutationViolations(source: ts.SourceFile, file: string): string[] { const failures: string[] = [];