The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
test(pack): tolerate slow Windows extraction
haelyrae82e47703486
diff --git a/tests/scripts/ecc-universal-bin.test.js b/tests/scripts/ecc-universal-bin.test.jsindex 5cb6dba1d..c4336d26a 100644--- a/tests/scripts/ecc-universal-bin.test.js+++ b/tests/scripts/ecc-universal-bin.test.js@@ -32,6 +32,7 @@ const windowsPackageCommands = new Set([]);const unsafeWindowsShellChars = /[\r\n"&|<>^%!()]/;const commandTimeoutMs = 90_000;+const archiveExtractionTimeoutMs = 180_000;let passed = 0;let failed = 0;@@ -96,7 +97,7 @@ function run(command, args, options = {}) {env: options.env || process.env,maxBuffer: 10 * 1024 * 1024,shell: invocation.shell || false,- timeout: commandTimeoutMs,+ timeout: options.timeout ?? commandTimeoutMs,windowsHide: true,});@@ -171,6 +172,7 @@ function prepareLocalPackedProject(packageManager) {fs.mkdirSync(modulesDirectory, { recursive: true });run('tar', ['-xzf', fixture.archivePath, '-C', modulesDirectory], {cwd: projectDirectory,+ timeout: archiveExtractionTimeoutMs,});fs.renameSync(extractedDirectory, packageDirectory);fs.mkdirSync(binDirectory, { recursive: true });