From 340a0c7fccc4d0f77d6b75f0da3e0c60e9ef3488 Mon Sep 17 00:00:00 2001 From: Michael Suchacz <203725896+ibetitsmike@users.noreply.github.com> Date: Mon, 1 Dec 2025 17:54:39 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20fix:=20add=20retry=20configurati?= =?UTF-8?q?on=20for=20flaky=20file=20editing=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LLM-based integration tests can time out due to model non-determinism. Adding configureTestRetries(3) enables automatic retries on CI, matching the pattern used by other LLM-dependent test suites. _Generated with `mux`_ --- tests/ipcMain/runtimeFileEditing.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/ipcMain/runtimeFileEditing.test.ts b/tests/ipcMain/runtimeFileEditing.test.ts index 7335aca300..fe16217ea3 100644 --- a/tests/ipcMain/runtimeFileEditing.test.ts +++ b/tests/ipcMain/runtimeFileEditing.test.ts @@ -27,6 +27,7 @@ import { sendMessageAndWait, extractTextFromEvents, writeFileViaBash, + configureTestRetries, HAIKU_MODEL, TEST_TIMEOUT_LOCAL_MS, TEST_TIMEOUT_SSH_MS, @@ -64,6 +65,9 @@ let sshConfig: SSHServerConfig | undefined; // ============================================================================ describeIntegration("Runtime File Editing Tools", () => { + // LLM-based tests can be flaky due to model non-determinism; retry on CI + configureTestRetries(3); + beforeAll(async () => { // Check if Docker is available (required for SSH tests) if (!(await isDockerAvailable())) {