GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — mcp: initial reconciliation can duplicate stdio servers · Issue #52741 · anomalyco/opencode Closed DescriptionDescriptionIn Deterministic tests show two stdio children starting for the same entry after Expected: initial startup should not duplicate a connection already established for the same entry, or undo a disconnect. This is not a request to share MCP processes across different locations. PluginsNone required by the isolated reproduction. OpenCode versionv2.0.22; affected code also present at v2 commit Steps to reproduceThis is a test-level reproduction; the Deferred barrier below controls timing rather than representing a user-facing operation.
The linked PR adds both regressions in cd packages/core bun test test/mcp.test.ts -t 'preserves (connect|disconnect) while initial MCP' --timeout 10000 On the unpatched implementation, both fail on the startup-count assertion. With the fix, both pass, and the connect test also verifies the recorded child is gone after disconnect, before disposing the surrounding layer. No mailbox, model calls, or live server are required. A separate isolated test with 20 sequential reloads did not reproduce accumulation; this report concerns the initial-startup race, not every reload. Operating SystemDebian Linux, x86_64; kernel 6.12.107+deb13-amd64. TerminalOpenChamber web interface with a local OpenCode release backend; shell zsh. Reproduction runs as a Bun core-package test, independently of the terminal. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |