From 0256c8f2e9c789b07b6763c77903c43d1057131b Mon Sep 17 00:00:00 2001 From: Chris Tate Date: Mon, 26 Jan 2026 17:29:44 -0600 Subject: [PATCH] ci: add retry logic to flaky Windows integration test (#287) * durable windows ci * more --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b4fefb..c7ee5a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,8 +141,15 @@ jobs: - name: Test agent-browser install command run: | $env:PATH = "$pwd\bin;$env:PATH" - bin/agent-browser-win32-x64.exe install + for ($i = 1; $i -le 3; $i++) { + bin/agent-browser-win32-x64.exe install + if ($LASTEXITCODE -eq 0) { exit 0 } + Write-Host "Attempt $i failed, retrying in 10 seconds..." + Start-Sleep -Seconds 10 + } + exit 1 shell: pwsh + timeout-minutes: 10 - name: Verify Chromium was installed run: |