Skip to content

Commit 2d4629a

Browse files
committed
🤖 fix: add retries to flaky integration tests
1 parent 16a2a55 commit 2d4629a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ipcMain/runtimeFileEditing.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import {
3131
TEST_TIMEOUT_SSH_MS,
3232
STREAM_TIMEOUT_LOCAL_MS,
3333
STREAM_TIMEOUT_SSH_MS,
34+
configureTestRetries,
3435
} from "./helpers";
3536
import {
3637
isDockerAvailable,
@@ -63,6 +64,9 @@ let sshConfig: SSHServerConfig | undefined;
6364
// ============================================================================
6465

6566
describeIntegration("Runtime File Editing Tools", () => {
67+
// Add retries to handle potential AI flakiness (e.g. failing to call tools)
68+
configureTestRetries(3);
69+
6670
beforeAll(async () => {
6771
// Check if Docker is available (required for SSH tests)
6872
if (!(await isDockerAvailable())) {

0 commit comments

Comments
 (0)