Robert Findley submitted the change![Open in Gerrit]()
Change information
Commit message:
gopls/internal/mcp: add a tool for workspace diagnostics
LLMs should check for build errors across the workspace.
Also remove some newlines from the diagnostic summary.
For golang/go#73580
Change-Id: I0ca0152880442068289e3f2315dd64671818d1d9
Files:
- M gopls/internal/mcp/diagnostics.go
- M gopls/internal/mcp/mcp.go
- M gopls/internal/mcp/workspace.go
- A gopls/internal/mcp/workspace_diagnostics.go
- M gopls/internal/test/marker/testdata/mcptools/diagnostics.txt
- A gopls/internal/test/marker/testdata/mcptools/workspace_diagnostics.txt
Change size: M
Delta: 6 files changed, 149 insertions(+), 16 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Madeline Kalil
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I0ca0152880442068289e3f2315dd64671818d1d9
Gerrit-Change-Number: 686376
Gerrit-PatchSet: 3