Repository navigation
fix(mcpx): scope gopls-mcp-server to the worktree (#961) - #8049
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🤖 Agent note · PR opened, parked for CI + live proof
|
|
agent-note:v1 |
Closes #961.
Summary
gopls-mcp-serverto"scope": "worktree"in.mcpx.json, now that its dependencies have landed: mcpx: ResolvedScope plumbing + spawn cwd = resolved scope root #958 (PR mcpx: ResolvedScope plumbing + spawn cwd = resolved scope root (#958) #3925,ResolvedScopeplumbing + spawn cwd) and mcpx: initialize sends rootUri/workspaceFolders for scope-resolved instances #959 (initializerootUri/workspaceFolders).pkgs/mcpx/docs/decisions/0004-scope-resolved-roots.md("the config flip is deliberately the last slice").On #864 (absolute paths)
#864 covers the
codedbandfffentries, which carry/home/user/...paths. Thegopls-mcp-serverentry has no absolute paths (go run golang.org/x/tools/gopls@latest mcp), so the post-#864 config shape does not block this flip, and the flip does not pre-empt #864.Verification
.mcpx.jsonparses;gopls-mcp-serverresolves to{command, args, mcpx:{scope:"worktree"}}.cd pkgs/mcpx && go test ./internal/config/ -run 'Scope|Extras|Parse' -count=1→ ok.Remaining acceptance (live proof, owed)
This PR lands the config flip. The live proof from #961 still needs a machine with a running mcpx daemon and Go toolchain, and is being tracked by the queue task rather than asserted here:
go_package_apion a module path returns the real API promptly (not empty),mcpx status.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.