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.

fix: skip flaky observer shell test on Windows (#722)

Affaan Mustafa7ccfda9e25f0
diff --git a/tests/hooks/observer-memory.test.js b/tests/hooks/observer-memory.test.js
index c2147f26d..c441f4365 100644
--- a/tests/hooks/observer-memory.test.js
+++ b/tests/hooks/observer-memory.test.js
@@ -216,6 +216,10 @@ test('counter file handles missing/corrupt file gracefully', () => {
console.log('\n--- observe.sh end-to-end throttle (shell execution) ---');
test('observe.sh creates counter file and increments on each call', () => {
+ if (process.platform === 'win32') {
+ return;
+ }
+
// This test runs observe.sh with minimal input to verify counter behavior.
// We need python3, bash, and a valid project dir to test the full flow.
// We use ECC_SKIP_OBSERVE=0 and minimal JSON so observe.sh processes but