Skip to content

Commit 340a0c7

Browse files
committed
🤖 fix: add retry configuration for flaky file editing tests
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`_
1 parent 38dd003 commit 340a0c7

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
@@ -27,6 +27,7 @@ import {
2727
sendMessageAndWait,
2828
extractTextFromEvents,
2929
writeFileViaBash,
30+
configureTestRetries,
3031
HAIKU_MODEL,
3132
TEST_TIMEOUT_LOCAL_MS,
3233
TEST_TIMEOUT_SSH_MS,
@@ -64,6 +65,9 @@ let sshConfig: SSHServerConfig | undefined;
6465
// ============================================================================
6566

6667
describeIntegration("Runtime File Editing Tools", () => {
68+
// LLM-based tests can be flaky due to model non-determinism; retry on CI
69+
configureTestRetries(3);
70+
6771
beforeAll(async () => {
6872
// Check if Docker is available (required for SSH tests)
6973
if (!(await isDockerAvailable())) {

0 commit comments

Comments
 (0)