From 2f554d3e2be4ba2de41a541bc891d61e5bc981bf Mon Sep 17 00:00:00 2001 From: Leonardo Araujo dos Santos Date: Wed, 18 Nov 2026 10:20:21 -0400 Subject: [PATCH] Retry peers_cli tests on the Windows CI profile The peers tests start two real servers and the second one sometimes misses the 5 s health wait on the Windows runner (#136). Retry the binary up to three times with a 10 s pause until the startup delay is diagnosed on a Windows machine; a test that fails every attempt still fails the job. --- .config/nextest.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/nextest.toml b/.config/nextest.toml index 7561e709..0a9d5fde 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -255,3 +255,11 @@ test-group = "isolated-subagents" [[profile.ci-windows.overrides]] filter = "binary_id(cyber-cli::branches_cli) & test(reviewed_recovery_code_stages_survive_kill_restage_and_clear_without_adopting_owner_files)" slow-timeout = { period = "60s", terminate-after = 20 } + +# The peers tests start two real servers; on the Windows runner the second one sometimes +# misses the 5 s health wait ("the server did not become healthy"), issue #136. Retry +# them with a pause until the startup delay is found on a Windows machine; a test that +# fails every attempt still fails the job. +[[profile.ci-windows.overrides]] +filter = "binary_id(cyber-cli::peers_cli)" +retries = { backoff = "fixed", count = 3, delay = "10s" }