From ac54a79e8d6930ecb228e669cebba6f94da83b23 Mon Sep 17 00:00:00 2001 From: itlezy <24484050+itlezy@users.noreply.github.com> Date: Mon, 9 Nov 2026 18:29:05 +0100 Subject: [PATCH] test: allow bounded startup time on hosted Windows runners --- build/test-themes.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/test-themes.ps1 b/build/test-themes.ps1 index 8fc6a9e2..44113876 100644 --- a/build/test-themes.ps1 +++ b/build/test-themes.ps1 @@ -32,7 +32,9 @@ function Select-Theme($dark) { } function Start-Editor($ini, $document, $scheme = 'cpp') { $script:app = Start-Process -FilePath $Executable -ArgumentList @('/n', '/f', ('"'+$ini+'"'), '/s', $scheme, ('"'+$document+'"')) -WindowStyle Hidden -PassThru - Assert ($script:app.WaitForInputIdle(10000)) 'Editor startup timed out' + # Hosted Windows runners can stall process initialization under scanner/load. + # Keep assertions strict, but allow a bounded CI startup window. + Assert ($script:app.WaitForInputIdle(60000)) "Editor startup timed out after 60s: $Executable (PID $($script:app.Id))" $script:window = [IntPtr]::Zero $script:editor = [IntPtr]::Zero $processId = $script:app.Id