From 7a1aafb4e1dac5d2840cd3ab524f6d6bd0658694 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 26 Aug 2026 18:26:42 -0700 Subject: [PATCH] fix(update): raise the step-idle watchdog default to 10 minutes Desktop builds legitimately produce no output for minutes on Windows (the updater terminal is static until a step completes), so 300s risks cancelling healthy long steps. 600s keeps the watchdog meaningful for true stalls while clearing slow builds; HERMES_UPDATE_STEP_IDLE_SECONDS still overrides. Per Teknium's review. --- scripts/desktop-update/windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/desktop-update/windows.ps1 b/scripts/desktop-update/windows.ps1 index cb8d5da4e5..5f442dac8c 100644 --- a/scripts/desktop-update/windows.ps1 +++ b/scripts/desktop-update/windows.ps1 @@ -713,7 +713,7 @@ if ($env:HERMES_UPDATE_PIPE_DRAIN_SECONDS) { # cancellation trigger, never evidence that the process tree is safe to overlap: # every step is assigned to a private, non-breakaway Windows job and a timed-out # step is retryable only after that job reports zero active processes. -$script:StepIdleTimeoutSeconds = 300 +$script:StepIdleTimeoutSeconds = 600 if ($env:HERMES_UPDATE_STEP_IDLE_SECONDS) { $parsedIdle = 0 if ([int]::TryParse($env:HERMES_UPDATE_STEP_IDLE_SECONDS, [ref]$parsedIdle) -and $parsedIdle -gt 0) {