Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

test(ci): scale repair timeout on Windows (#2942)

haelyra22e8cf01d0b5
diff --git a/tests/scripts/repair.test.js b/tests/scripts/repair.test.js
index 0ccb2ac1a..7a88520d5 100644
--- a/tests/scripts/repair.test.js
+++ b/tests/scripts/repair.test.js
@@ -12,7 +12,10 @@ const INSTALL_SCRIPT = path.join(__dirname, '..', '..', 'scripts', 'install-appl
const DOCTOR_SCRIPT = path.join(__dirname, '..', '..', 'scripts', 'doctor.js');
const REPAIR_SCRIPT = path.join(__dirname, '..', '..', 'scripts', 'repair.js');
const REPO_ROOT = path.join(__dirname, '..', '..');
-const CLI_TIMEOUT_MS = 30000;
+// Windows CI file I/O is several times slower, and these cases run full
+// install, doctor, and repair passes over hundreds of files. Keep this in
+// step with the equivalent install-apply and uninstall integration tests.
+const CLI_TIMEOUT_MS = process.platform === 'win32' ? 90000 : 30000;
const CURRENT_PACKAGE_VERSION = JSON.parse(
fs.readFileSync(path.join(REPO_ROOT, 'package.json'), 'utf8')
).version;