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(install): scale uninstall CLI timeout for Windows CI

haelyrabdbd90a47fc9
diff --git a/tests/scripts/uninstall.test.js b/tests/scripts/uninstall.test.js
index 646a2b318..7369b2d5b 100644
--- a/tests/scripts/uninstall.test.js
+++ b/tests/scripts/uninstall.test.js
@@ -18,7 +18,10 @@ const CURRENT_PACKAGE_VERSION = JSON.parse(
const CURRENT_MANIFEST_VERSION = JSON.parse(
fs.readFileSync(path.join(REPO_ROOT, 'manifests', 'install-modules.json'), 'utf8')
).version;
-const CLI_TIMEOUT_MS = 30000;
+// Windows CI file I/O is several times slower, and these cases run two full
+// CLI passes (install, then uninstall) over hundreds of files. install-apply
+// tests already scale their timeout the same way.
+const CLI_TIMEOUT_MS = process.platform === 'win32' ? 90000 : 30000;
const {
createInstallState,
writeInstallState,