Problem
Two integration tests are flaky - they pass when run in isolation but fail when run in batch with all tests:
tests/synapse/engine.test.js - "should handle all layer modules failing gracefully"
tests/core/master-orchestrator.test.js - (2 tests failing)
Evidence
# Tests pass in isolation
npm test -- tests/synapse/engine.test.js
# ✅ PASS: All tests pass
npm test -- tests/core/master-orchestrator.test.js
# ✅ PASS: All tests pass
# Tests fail in batch
npm test
# ❌ FAIL: 2 tests fail (race condition/shared state)
Root Cause (suspected)
- Race conditions between test suites
- Shared state not properly isolated
- Filesystem operations timing issues (especially on Windows)
- Async cleanup not properly awaited
Impact
- Blocks pre-push hook from passing
- Forces developers to use
--no-verify (security risk)
- Reduces confidence in test suite
Acceptance Criteria
Workaround (temporary)
Tests marked as .skip in PR #607 to unblock development.
Priority
Medium - Affects developer workflow but code is functionally correct.
🤖 Auto-generated by @devops agent
Problem
Two integration tests are flaky - they pass when run in isolation but fail when run in batch with all tests:
tests/synapse/engine.test.js- "should handle all layer modules failing gracefully"tests/core/master-orchestrator.test.js- (2 tests failing)Evidence
Root Cause (suspected)
Impact
--no-verify(security risk)Acceptance Criteria
--no-verifyneeded for pushWorkaround (temporary)
Tests marked as
.skipin PR #607 to unblock development.Priority
Medium - Affects developer workflow but code is functionally correct.
🤖 Auto-generated by @devops agent