diff --git a/.github/workflows/install-e2e-macos-run.yml b/.github/workflows/install-e2e-macos-run.yml index 1599e566c4..46245b73c5 100644 --- a/.github/workflows/install-e2e-macos-run.yml +++ b/.github/workflows/install-e2e-macos-run.yml @@ -51,7 +51,7 @@ on: description: 'Job timeout. App-update legs do a full Electron build.' required: false type: number - default: 120 + default: 60 permissions: contents: read diff --git a/.github/workflows/install-e2e-run.yml b/.github/workflows/install-e2e-run.yml index 42486bc26a..8a0f41ea70 100644 --- a/.github/workflows/install-e2e-run.yml +++ b/.github/workflows/install-e2e-run.yml @@ -68,7 +68,7 @@ on: description: 'Job timeout. A cold run installs real toolchains twice, and app-update legs add a full Electron build + launch.' required: false type: number - default: 75 + default: 60 permissions: contents: read diff --git a/.github/workflows/install-e2e-windows-run.yml b/.github/workflows/install-e2e-windows-run.yml index d4f0cf7aaa..b6bf850680 100644 --- a/.github/workflows/install-e2e-windows-run.yml +++ b/.github/workflows/install-e2e-windows-run.yml @@ -76,7 +76,7 @@ on: description: 'Job timeout. The install leg does real toolchain work and the update leg a full Electron rebuild.' required: false type: number - default: 240 + default: 60 permissions: contents: read diff --git a/tests/install/windows-e2e.ps1 b/tests/install/windows-e2e.ps1 index 23c864cd9f..2d845a3238 100644 --- a/tests/install/windows-e2e.ps1 +++ b/tests/install/windows-e2e.ps1 @@ -748,16 +748,17 @@ function Invoke-GuiUpdateDesktopRoute([string]$TargetSha) { # asserts below are the hard gate either way; the JSON is asserted # only when the script path produced it. # - # This can take a LONG time: the website release we installed is weeks - # of main behind HEAD, so the update pulls a large diff AND does a - # full Electron desktop rebuild (vite + electron-builder) plus a uv - # sync. The desktop-build output goes to logs/update.log (not the - # streamed handoff log), so we tail update.log here to show progress - # instead of going silent for tens of minutes. - Write-Host " waiting for the detached updater to finish (up to 90 min; large old->new rebuild) ..." + # The update pulls a large diff AND does a full Electron desktop + # rebuild (vite + electron-builder) plus a uv sync; a WORKING updater + # finishes well under 35 minutes on these runners (slowest observed + # leg anywhere in the matrix: 29m end to end). A wedged updater never + # finishes at any bound, so a longer wait only delays the report. + # The desktop-build output goes to logs/update.log (not the streamed + # handoff log), so we tail update.log here to show progress. + Write-Host " waiting for the detached updater to finish (up to 35 min) ..." $updateLog = Join-Path $HermesHome "logs\update.log" $updateLogPos = 0 - $deadline = (Get-Date).AddMinutes(90) + $deadline = (Get-Date).AddMinutes(35) while ((Get-Date) -lt $deadline) { if (Test-Path -LiteralPath $resultPath) { break } $head = ""