Commit 51d3439
fix(ci): add process.exit to graphlens-integration test
Root cause: graphlens-integration.test.cjs imports council.js which starts
MCP servers, leaving event loop alive and preventing test suite from exiting.
This caused the test suite to hang after completing all tests, triggering
CI timeout after 22+ minutes (tests actually complete in ~7 seconds).
Impact: Test suite now completes in 7s instead of hanging indefinitely.
Evidence:
- Local test run hung at graphlens-integration completion (backend/tests/graphlens-integration.test.cjs:140)
- Timeout testing showed test completes but process never exits
- Adding process.exit(0) resolves hang: 88 tests now complete in 6.9s
References:
- workspace/docs/Obsidian-v2/plans/active/TEST-PARALLELIZATION-IMPLEMENTATION.md
- workspace/docs/Obsidian-v2/daily/2025-11-01-GITHUB-ISSUES-ANALYSIS.md
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 7de3276 commit 51d3439
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
0 commit comments