The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
test(settings): allow quarantine recovery retry on slower filesystems
haelyraad176030e7f4
diff --git a/tests/lib/claude-settings-lock.test.js b/tests/lib/claude-settings-lock.test.jsindex 905255804..e9d95339b 100644--- a/tests/lib/claude-settings-lock.test.js+++ b/tests/lib/claude-settings-lock.test.js@@ -121,7 +121,10 @@ const cases = [return originalRename.apply(this, arguments);};try {- const release = acquireSettingsLock(file, { timeoutMs: 100 });+ // Quarantine IO can consume a short deadline on native Windows runners.+ // Leave room for the next acquisition attempt after the injected ENOENT;+ // the separate contention case verifies the short bounded timeout.+ const release = acquireSettingsLock(file, { timeoutMs: 2000 });assert.ok(raced);release();assert.deepStrictEqual(fs.readdirSync(root), []);