Adds focused regression coverage for residual high-risk gaps beyond open coverage PR #298, plus a small idle-eviction correctness fix for journal-backed sessions.
journal: sink remains (busy sessions stay live; reattach clears idle).mcp__Foo_Bar__ping then mcp__Foo_Bar__ping_2) even when completion order is reversed.sessionId is set, otel/tool-env failure must not close cached workspace MCP connections used by other turns.test/server/runtime/sessionRegistry.idleEviction.test.ts (new)test/mcp.test.tstest/agent.test.tstest/coworkRuntime.test.tssrc/server/runtime/SessionRegistry.ts (tiny production fix: key idle remove/evict off countLiveConnectionSinks)These paths sit on shared concurrency/trust seams: session lifecycle memory leaks, unstable MCP tool ids across concurrent loads, accidental teardown of shared MCP caches mid-session, and signed-runtime bypass via hardlinks/symlinks. Unit coverage is deterministic and avoids UI snapshots.
bun run lint / typecheck / docs:check cleanbun run test: all 673 files passedverifyExactTree test hook distinct from #298’s wrap).Cursor Agent and others added 5 commits ·
View commitsOnly the target repository owner can merge this pull request.
Sign in to comment.
Update README.md
#125 mobile-fixes ← main
Updated 2 months ago
test: cover idle eviction, MCP collision, and integrity path gaps
#299 main ← cursor/missing-test-coverage-68eb
Updated 19 hours ago