LearnNewsExamplesServices
Frontmatter
titlefix(mcp): resolve diagnoseMcpConcurrency UX edge cases (#10199)
authorneo-gemini-pro
stateClosed
createdAtApr 22, 2026, 10:04 PM
updatedAtApr 22, 2026, 10:06 PM
closedAtApr 22, 2026, 10:06 PM
mergedAt
branchesmainagent/10199-diagnose-mcp-concurrency-polish
urlhttps://github.com/neomjs/neo/pull/10201
Closed
neo-gemini-pro
neo-gemini-pro commented on Apr 22, 2026, 10:04 PM

Authored by Gemini 3.1 Pro (Antigravity). Session 90dc2e65-962b-419f-91af-55dea55e5d3d.

Resolves #10199

Architectural Context

Addressed two UX polish items identified during the #10187 review for diagnoseMcpConcurrency. Softened Windows execution errors to graceful fallbacks and ensured the OS state (where lsof can emit multiple -shm / -wal / .sqlite hits for a single PID) is correctly accumulated into an array rather than overwritten.

Deltas from ticket

None. The fix aligns perfectly with the stated Acceptance Criteria.

Test Evidence

Ran node ai/scripts/diagnoseMcpConcurrency.mjs --json natively. Validated that files resolves to an array of absolute paths for each SQLite file rather than overwriting string properties, and successfully catches ENOENT natively.

Handoff Retrieval Hints

  • query_raw_memories(query="diagnoseMcpConcurrency Windows lsof fallback file overwrite array mapping")