Skip to content

x/tools/gopls: gopls sends verbose error messages via $/progress instead of window/showMessage #78273

Description

@powerman

gopls version

Build info

golang.org/x/tools/gopls v0.21.1
golang.org/x/tools/gopls@v0.21.1 h1:1/o9z5Brdero4jFm9Jr46Uwj8GU9lQdoSXHMlwRHb/w=
github.com/BurntSushi/toml@v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg=
github.com/fatih/camelcase@v1.0.0 h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8=
github.com/fatih/gomodifytags@v1.17.1-0.20250423142747-f3939df9aa3c h1:dDSgAjoOMp8da3egfz0t2S+t8RGOpEmEXZubcGuc0Bg=
github.com/fatih/structtag@v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=
github.com/fsnotify/fsnotify@v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
github.com/google/go-cmp@v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/jsonschema-go@v0.3.0 h1:6AH2TxVNtk3IlvkkhjrtbUc4S8AvO0Xii0DxIygDg+Q=
github.com/modelcontextprotocol/go-sdk@v0.8.0 h1:jdsBtGzBLY287WKSIjYovOXAqtJkP+HtFQFKrZd4a6c=
github.com/yosida95/uritemplate/v3@v3.0.2 h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4=
golang.org/x/exp/typeparams@v0.0.0-20251023183803-a4bb9ffd2546 h1:HDjDiATsGqvuqvkDvgJjD1IgPrVekcSXVVE21JwvzGE=
golang.org/x/mod@v0.30.0 h1:fDEXFVZ/fmCKProc/yAXXUijritrDzahmwwefnjoPFk=
golang.org/x/sync@v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I=
golang.org/x/sys@v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
golang.org/x/telemetry@v0.0.0-20251111182119-bc8e575c7b54 h1:E2/AqCUMZGgd73TQkxUMcMla25GB9i/5HOdLr+uH7Vo=
golang.org/x/text@v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
golang.org/x/tools@v0.39.1-0.20260109155911-b69ac100ecb7 h1:UaaZx92hw3fDa9xRcX2//NBRE3sR4VHQLlt0TkN2geY=
golang.org/x/vuln@v1.1.4 h1:Ju8QsuyhX3Hk8ma3CesTbO8vfJD9EvUBgHvkxHBzj0I=
honnef.co/go/tools@v0.7.0-0.dev.0.20251022135355-8273271481d0 h1:5SXjd4ET5dYijLaf0O3aOenC0Z4ZafIWSpjUzsQaNho=
mvdan.cc/gofumpt@v0.8.0 h1:nZUCeC2ViFaerTcYKstMmfysj6uhQrA2vJe+2vwGU6k=
mvdan.cc/xurls/v2@v2.6.0 h1:3NTZpeTxYVWNSokW3MKeyVkz/j7uYXYiMtXRUfmjbgI=
go: go1.25.3 X:nodwarf5

go env

AR='ar'
CC='x86_64-pc-linux-gnu-gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='x86_64-pc-linux-gnu-g++'
GCCGO='gccgo'
GO111MODULE=''
GOAMD64='v3'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/home/powerman/.cache-ai-dev/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/home/powerman/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3391195950=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/dev/null'
GOMODCACHE='/home/powerman/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/powerman/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/lib/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/powerman/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN=''
GOTOOLDIR='/usr/lib/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.26.1-X:nodwarf5'
GOWORK=''
PKG_CONFIG='pkg-config'

What did you do?

Opened a Go template file (configured via templateExtensions) in a directory where go list fails due to an external tool error (in my case, mise fails to source a shell script in that directory).

What did you see happen?

The full error text (including multi-line stderr output) is placed into the message field of a $/progress report (kind: "report"). The progress token for workspace loading remains active (never receives kind: "end" or receives it much later).

In editors that render $/progress as a persistent floating window (e.g., Neovim with fidget.nvim), this causes the verbose error dump to hang on screen indefinitely, covering buffer content with no way to dismiss it. The message is not recorded in the editor's notification history since it is a progress report, not a notification.

What did you expect to see?

Errors from packages.Load (and similar workspace-level failures) should be sent via window/showMessage with MessageType.Error. The $/progress message field should contain only short human-readable status text (e.g., "Error loading workspace"), not the full error dump.

Editor and settings

Neovim v0.11.6, https://github.com/powerman/config.nvim

Workaround for this issue was added in powerman/config.nvim@e079907

Logs

[Trace - 15:18:14.921 PM] Sending request 'initialize - (1)'.
Params: {"rootUri":"file:///home/powerman/proj/config/myservers","rootPath":"/home/powerman/proj/config/myservers","clientInfo":{"name":"Neovim","version":"0.11.6"},"capabilities":{"general":{"positionEncodings":["utf-8","utf-16","utf-32"]},"textDocument":{"completion":{"insertTextMode":1,"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"completionItem":{"deprecatedSupport":true,"preselectSupport":true,"commitCharactersSupport":true,"snippetSupport":true,"resolveSupport":{"properties":["documentation","additionalTextEdits","insertTextFormat","insertTextMode","command"]},"labelDetailsSupport":true,"insertTextModeSupport":{"valueSet":[1,2]},"insertReplaceSupport":true,"tagSupport":{"valueSet":[1]},"documentationFormat":["markdown","plaintext"]},"dynamicRegistration":false,"contextSupport":true,"completionList":{"itemDefaults":["commitCharacters","editRange","insertTextFormat","insertTextMode","data"]}},"typeDefinition":{"linkSupport":true},"synchronization":{"dynamicRegistration":false,"didSave":true,"willSave":true,"willSaveWaitUntil":true},"semanticTokens":{"augmentsSyntaxTokens":true,"serverCancelSupport":false,"multilineTokenSupport":false,"overlappingTokenSupport":true,"dynamicRegistration":false,"formats":["relative"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],"requests":{"full":{"delta":true},"range":false}},"declaration":{"linkSupport":true},"documentSymbol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSupport":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"inlayHint":{"dynamicRegistration":true,"resolveSupport":{"properties":["textEdits","tooltip","location","command"]}},"callHierarchy":{"dynamicRegistration":false},"diagnostic":{"dynamicRegistration":false,"tagSupport":{"valueSet":[1,2]}},"definition":{"dynamicRegistration":true,"linkSupport":true},"formatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":false},"implementation":{"linkSupport":true},"rangeFormatting":{"rangesSupport":true,"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"dataSupport":true,"tagSupport":{"valueSet":[1,2]}},"foldingRange":{"dynamicRegistration":false,"lineFoldingOnly":true,"foldingRange":{"collapsedText":true},"foldingRangeKind":{"valueSet":["comment","imports","region"]}},"documentHighlight":{"dynamicRegistration":false},"signatureHelp":{"dynamicRegistration":false,"signatureInformation":{"activeParameterSupport":true,"parameterInformation":{"labelOffsetSupport":true},"documentationFormat":["markdown","plaintext"]}},"rename":{"prepareSupport":true,"dynamicRegistration":true},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"codeLens":{"dynamicRegistration":false,"resolveSupport":{"properties":["command"]}},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"isPreferredSupport":true,"dynamicRegistration":true,"dataSupport":true,"resolveSupport":{"properties":["edit","command"]}}},"workspace":{"didChangeWatchedFiles":{"dynamicRegistration":false,"relativePatternSupport":true},"workspaceEdit":{"resourceOperations":["rename","create","delete"]},"didChangeConfiguration":{"dynamicRegistration":false},"semanticTokens":{"refreshSupport":true},"inlayHint":{"refreshSupport":true},"applyEdit":true,"workspaceFolders":true,"configuration":true,"symbol":{"dynamicRegistration":false,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}}},"window":{"showDocument":{"support":true},"workDoneProgress":true,"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}}}},"processId":40570,"workDoneToken":"1","workspaceFolders":[{"uri":"file:///home/powerman/proj/config/myservers","name":"/home/powerman/proj/config/myservers"}],"trace":"off"}

[Trace - 15:18:14.921 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2026/03/21 15:18:14 Handshake session update\n\tupdate_session=1\n\tdebug_address=""\n\tlogfile="/tmp/gopls.log"\n\tserver="1"\n\tgopls_path="/home/powerman/.local/share/nvim/mason/packages/gopls/gopls"\n"}

[Trace - 15:18:14.969 PM] Received response 'initialize - (1)' in 48ms.
Result: {"capabilities":{"textDocumentSync":{"change":2,"openClose":true,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","],"retriggerCharacters":[")"]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["gopls.doc.features","quickfix","refactor.extract.constant","refactor.extract.constant-all","refactor.extract.function","refactor.extract.method","refactor.extract.toNewFile","refactor.extract.variable","refactor.extract.variable-all","refactor.inline.call","refactor.inline.variable","refactor.move.moveType","refactor.rewrite.changeQuote","refactor.rewrite.fillStruct","refactor.rewrite.fillSwitch","refactor.rewrite.invertIf","refactor.rewrite.joinLines","refactor.rewrite.removeUnusedParam","refactor.rewrite.splitLines","source.assembly","source.doc","source.fixAll","source.freesymbols","source.organizeImports","source.splitPackage"],"resolveProvider":true},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.add_test","gopls.apply_fix","gopls.assembly","gopls.change_signature","gopls.check_upgrades","gopls.client_open_url","gopls.diagnose_files","gopls.doc","gopls.edit_go_directive","gopls.extract_to_new_file","gopls.fetch_vulncheck_result","gopls.free_symbols","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.lsp","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.modify_tags","gopls.modules","gopls.move_type","gopls.package_symbols","gopls.packages","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.scan_imports","gopls.split_package","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.tidy","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.views","gopls.vulncheck","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"full":true,"legend":{"tokenModifiers":["definition","readonly","defaultLibrary","array","bool","chan","format","interface","map","number","pointer","signature","slice","string","struct"],"tokenTypes":["namespace","type","typeParameter","parameter","variable","function","method","macro","keyword","comment","string","number","operator","label"]},"range":true},"typeHierarchyProvider":true,"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"},"fileOperations":{"didCreate":{"filters":[{"scheme":"file","pattern":{"glob":"**/*.go"}}]}}}},"serverInfo":{"name":"gopls","version":"{"GoVersion":"go1.25.3 X:nodwarf5","Path":"golang.org/x/tools/gopls","Main":{"Path":"golang.org/x/tools/gopls","Version":"v0.21.1","Sum":"h1:1/o9z5Brdero4jFm9Jr46Uwj8GU9lQdoSXHMlwRHb/w="},"Deps":[{"Path":"github.com/BurntSushi/toml","Version":"v1.5.0","Sum":"h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg="},{"Path":"github.com/fatih/camelcase","Version":"v1.0.0","Sum":"h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8="},{"Path":"github.com/fatih/gomodifytags","Version":"v1.17.1-0.20250423142747-f3939df9aa3c","Sum":"h1:dDSgAjoOMp8da3egfz0t2S+t8RGOpEmEXZubcGuc0Bg="},{"Path":"github.com/fatih/structtag","Version":"v1.2.0","Sum":"h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4="},{"Path":"github.com/fsnotify/fsnotify","Version":"v1.9.0","Sum":"h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k="},{"Path":"github.com/google/go-cmp","Version":"v0.7.0","Sum":"h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8="},{"Path":"github.com/google/jsonschema-go","Version":"v0.3.0","Sum":"h1:6AH2TxVNtk3IlvkkhjrtbUc4S8AvO0Xii0DxIygDg+Q="},{"Path":"github.com/modelcontextprotocol/go-sdk","Version":"v0.8.0","Sum":"h1:jdsBtGzBLY287WKSIjYovOXAqtJkP+HtFQFKrZd4a6c="},{"Path":"github.com/yosida95/uritemplate/v3","Version":"v3.0.2","Sum":"h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4="},{"Path":"golang.org/x/exp/typeparams","Version":"v0.0.0-20251023183803-a4bb9ffd2546","Sum":"h1:HDjDiATsGqvuqvkDvgJjD1IgPrVekcSXVVE21JwvzGE="},{"Path":"golang.org/x/mod","Version":"v0.30.0","Sum":"h1:fDEXFVZ/fmCKProc/yAXXUijritrDzahmwwefnjoPFk="},{"Path":"golang.org/x/sync","Version":"v0.18.0","Sum":"h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I="},{"Path":"golang.org/x/sys","Version":"v0.38.0","Sum":"h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc="},{"Path":"golang.org/x/telemetry","Version":"v0.0.0-20251111182119-bc8e575c7b54","Sum":"h1:E2/AqCUMZGgd73TQkxUMcMla25GB9i/5HOdLr+uH7Vo="},{"Path":"golang.org/x/text","Version":"v0.31.0","Sum":"h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM="},{"Path":"golang.org/x/tools","Version":"v0.39.1-0.20260109155911-b69ac100ecb7","Sum":"h1:UaaZx92hw3fDa9xRcX2//NBRE3sR4VHQLlt0TkN2geY="},{"Path":"golang.org/x/vuln","Version":"v1.1.4","Sum":"h1:Ju8QsuyhX3Hk8ma3CesTbO8vfJD9EvUBgHvkxHBzj0I="},{"Path":"honnef.co/go/tools","Version":"v0.7.0-0.dev.0.20251022135355-8273271481d0","Sum":"h1:5SXjd4ET5dYijLaf0O3aOenC0Z4ZafIWSpjUzsQaNho="},{"Path":"mvdan.cc/gofumpt","Version":"v0.8.0","Sum":"h1:nZUCeC2ViFaerTcYKstMmfysj6uhQrA2vJe+2vwGU6k="},{"Path":"mvdan.cc/xurls/v2","Version":"v2.6.0","Sum":"h1:3NTZpeTxYVWNSokW3MKeyVkz/j7uYXYiMtXRUfmjbgI="}],"Settings":[{"Key":"-buildmode","Value":"exe"},{"Key":"-compiler","Value":"gc"},{"Key":"CGO_ENABLED","Value":"1"},{"Key":"CGO_CFLAGS"},{"Key":"CGO_CPPFLAGS"},{"Key":"CGO_CXXFLAGS"},{"Key":"CGO_LDFLAGS"},{"Key":"GOARCH","Value":"amd64"},{"Key":"GOEXPERIMENT","Value":"nodwarf5"},{"Key":"GOOS","Value":"linux"},{"Key":"GOAMD64","Value":"v3"}],"Version":"v0.21.1"}"}}

[Trace - 15:18:14.970 PM] Sending notification 'initialized'.
Params: {}

[Trace - 15:18:14.970 PM] Sending notification 'workspace/didChangeConfiguration'.
Params: {"settings":{"gopls":{"renameMovesSubpackages":true,"staticcheck":true,"hints":{"compositeLiteralFields":true,"constantValues":true,"functionTypeParameters":true,"ignoredError":true,"parameterNames":true},"templateExtensions":["gotmpl","tmpl"],"gofumpt":true,"codelenses":{"vulncheck":true}}}}

[Trace - 15:18:14.970 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///home/powerman/proj/config/myservers/srv/secondary/example.nft.tmpl","version":0,"languageId":"gotmpl","text":"\n"}}

[Trace - 15:18:14.970 PM] Received request 'window/workDoneProgress/create - (1)'.
Params: {"token":"828927728433372445"}

[Trace - 15:18:14.972 PM] Sending request 'textDocument/semanticTokens/full - (2)'.
Params: {"textDocument":{"uri":"file:///home/powerman/proj/config/myservers/srv/secondary/example.nft.tmpl"}}

[Trace - 15:18:14.972 PM] Sending response 'window/workDoneProgress/create - (1)' in 2ms.
Result:

[Trace - 15:18:14.973 PM] Received notification '$/progress'.
Params: {"token":"828927728433372445","value":{"kind":"begin","message":"Loading packages...","title":"Setting up workspace"}}

[Trace - 15:18:14.973 PM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///home/powerman/proj/config/myservers","section":"gopls"}]}

[Trace - 15:18:14.973 PM] Sending response 'workspace/configuration - (2)' in 0ms.
Result: [{"renameMovesSubpackages":true,"staticcheck":true,"hints":{"compositeLiteralFields":true,"constantValues":true,"functionTypeParameters":true,"ignoredError":true,"parameterNames":true},"templateExtensions":["gotmpl","tmpl"],"gofumpt":true,"codelenses":{"vulncheck":true}}]

[Trace - 15:18:15.104 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2026/03/21 15:18:15 Created View (#1)\n\tdirectory=/home/powerman/proj/config/myservers\n\tview_type="AdHoc"\n\troot_dir="file:///home/powerman/proj/config/myservers"\n\tgo_version="go version go1.26.1-X:nodwarf5 linux/amd64"\n\tbuild_flags=[]\n\tenv={GOOS:linux GOARCH:amd64 GOCACHE:/home/powerman/.cache-ai-dev/go-build GOMODCACHE:/home/powerman/go/pkg/mod GOPATH:/home/powerman/go GOPRIVATE: GOFLAGS: GO111MODULE: GOTOOLCHAIN: GOROOT:/usr/lib/go GoVersion:26 GoVersionOutput:go version go1.26.1-X:nodwarf5 linux/amd64\n ExplicitGOWORK: EffectiveGOPACKAGESDRIVER:}\n\tenv_overlay=[]\n"}

[Trace - 15:18:15.204 PM] Received notification '$/progress'.
Params: {"token":"828927728433372445","value":{"kind":"end","message":"Finished loading packages."}}

[Trace - 15:18:15.204 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2026/03/21 15:18:15 go/packages.Load #1\n\tview_id="1"\n\tsnapshot=0\n\tdirectory=/home/powerman/proj/config/myservers\n\tquery=[./ builtin]\n\tpackages=2\n\tduration=93.970852ms\n"}

[Trace - 15:18:15.204 PM] Received request 'workspace/configuration - (3)'.
Params: {"items":[{"section":"gopls"}]}

[Trace - 15:18:15.204 PM] Sending response 'workspace/configuration - (3)' in 0ms.
Result: [{"renameMovesSubpackages":true,"staticcheck":true,"hints":{"compositeLiteralFields":true,"constantValues":true,"functionTypeParameters":true,"ignoredError":true,"parameterNames":true},"templateExtensions":["gotmpl","tmpl"],"gofumpt":true,"codelenses":{"vulncheck":true}}]

[Trace - 15:18:15.205 PM] Received request 'workspace/configuration - (4)'.
Params: {"items":[{"scopeUri":"file:///home/powerman/proj/config/myservers","section":"gopls"}]}

[Trace - 15:18:15.205 PM] Sending response 'workspace/configuration - (4)' in 0ms.
Result: [{"renameMovesSubpackages":true,"staticcheck":true,"hints":{"compositeLiteralFields":true,"constantValues":true,"functionTypeParameters":true,"ignoredError":true,"parameterNames":true},"templateExtensions":["gotmpl","tmpl"],"gofumpt":true,"codelenses":{"vulncheck":true}}]

[Trace - 15:18:15.206 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2026/03/21 15:18:15 Created View (#2)\n\tdirectory=/home/powerman/proj/config/myservers\n\tview_type="AdHoc"\n\troot_dir="file:///home/powerman/proj/config/myservers/srv/secondary"\n\tgo_version="go version go1.26.1-X:nodwarf5 linux/amd64"\n\tbuild_flags=[]\n\tenv={GOOS:linux GOARCH:amd64 GOCACHE:/home/powerman/.cache-ai-dev/go-build GOMODCACHE:/home/powerman/go/pkg/mod GOPATH:/home/powerman/go GOPRIVATE: GOFLAGS: GO111MODULE: GOTOOLCHAIN: GOROOT:/usr/lib/go GoVersion:26 GoVersionOutput:go version go1.26.1-X:nodwarf5 linux/amd64\n ExplicitGOWORK: EffectiveGOPACKAGESDRIVER:}\n\tenv_overlay=[]\n"}

[Trace - 15:18:15.264 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2026/03/21 15:18:15 go/packages.Load #2: err: exit status 1: stderr: Device "ens3" does not exist.\nmise ERROR command ["/bin/bash", "--noprofile", "-c", ". \"/home/powerman/proj/config/myservers/srv/secondary/host-facts.sh\"\nexport -p\n"] exited with code 1\nmise ERROR Run with --verbose or MISE_VERBOSE=1 for more information\n\n\tview_id="2"\n\tsnapshot=0\n\tdirectory=/home/powerman/proj/config/myservers\n\tquery=[./ builtin]\n\tpackages=0\n\tduration=53.157967ms\n"}

[Trace - 15:18:15.264 PM] Received response 'textDocument/semanticTokens/full - (2)' in 291ms.
Result: {"data":[]}

[Trace - 15:18:15.264 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2026/03/21 15:18:15 initial workspace load failed: packages.Load error: err: exit status 1: stderr: Device "ens3" does not exist.\nmise ERROR command ["/bin/bash", "--noprofile", "-c", ". \"/home/powerman/proj/config/myservers/srv/secondary/host-facts.sh\"\nexport -p\n"] exited with code 1\nmise ERROR Run with --verbose or MISE_VERBOSE=1 for more information\n\n"}

[Trace - 15:18:16.264 PM] Received request 'window/workDoneProgress/create - (5)'.
Params: {"token":"3070462965173731343"}

[Trace - 15:18:16.264 PM] Sending response 'window/workDoneProgress/create - (5)' in 0ms.
Result:

[Trace - 15:18:16.264 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2026/03/21 15:18:16 errors loading workspace: packages.Load error: err: exit status 1: stderr: Device "ens3" does not exist.\nmise ERROR command ["/bin/bash", "--noprofile", "-c", ". \"/home/powerman/proj/config/myservers/srv/secondary/host-facts.sh\"\nexport -p\n"] exited with code 1\nmise ERROR Run with --verbose or MISE_VERBOSE=1 for more information\n\n\tview_id="2"\n\tsnapshot=1\n\tdirectory=/home/powerman/proj/config/myservers\n"}

[Trace - 15:18:16.265 PM] Received notification '$/progress'.
Params: {"token":"3070462965173731343","value":{"kind":"begin","message":"packages.Load error: err: exit status 1: stderr: Device "ens3" does not exist. mise ERROR command ["/bin/bash", "--noprofile", "-c", ". \"/home/powerman/proj/config/myservers/srv/secondary/host-facts.sh\"\nexport -p\n"] exited with code 1 mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information ","title":"Error loading workspace"}}

[Trace - 15:18:16.265 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///home/powerman/proj/config/myservers/srv/secondary/example.nft.tmpl","diagnostics":[]}

[Trace - 15:18:16.265 PM] Received notification '$/progress'.
Params: {"token":"3070462965173731343","value":{"kind":"end","message":"Done."}}

[Trace - 15:18:22.343 PM] Sending notification 'textDocument/didChange'.
Params: {"contentChanges":[{"rangeLength":0,"range":{"start":{"character":0,"line":0},"end":{"character":0,"line":0}},"text":"q"}],"textDocument":{"uri":"file:///home/powerman/proj/config/myservers/srv/secondary/example.nft.tmpl","version":4}}

[Trace - 15:18:22.543 PM] Sending request 'textDocument/semanticTokens/full - (3)'.
Params: {"textDocument":{"uri":"file:///home/powerman/proj/config/myservers/srv/secondary/example.nft.tmpl"}}

[Trace - 15:18:22.544 PM] Received response 'textDocument/semanticTokens/full - (3)' in 0ms.
Result: {"data":[]}

[Trace - 15:18:23.078 PM] Sending notification 'textDocument/didChange'.
Params: {"contentChanges":[{"rangeLength":1,"range":{"start":{"character":0,"line":0},"end":{"character":1,"line":0}},"text":""}],"textDocument":{"uri":"file:///home/powerman/proj/config/myservers/srv/secondary/example.nft.tmpl","version":5}}

[Trace - 15:18:23.278 PM] Sending request 'textDocument/semanticTokens/full - (4)'.
Params: {"textDocument":{"uri":"file:///home/powerman/proj/config/myservers/srv/secondary/example.nft.tmpl"}}

[Trace - 15:18:23.278 PM] Received response 'textDocument/semanticTokens/full - (4)' in 0ms.
Result: {"data":[]}

[Trace - 15:18:24.080 PM] Received request 'window/workDoneProgress/create - (6)'.
Params: {"token":"7788994973309978570"}

[Trace - 15:18:24.080 PM] Sending response 'window/workDoneProgress/create - (6)' in 0ms.
Result:

[Trace - 15:18:24.080 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2026/03/21 15:18:24 errors loading workspace: packages.Load error: err: exit status 1: stderr: Device "ens3" does not exist.\nmise ERROR command ["/bin/bash", "--noprofile", "-c", ". \"/home/powerman/proj/config/myservers/srv/secondary/host-facts.sh\"\nexport -p\n"] exited with code 1\nmise ERROR Run with --verbose or MISE_VERBOSE=1 for more information\n\n\tview_id="2"\n\tsnapshot=3\n\tdirectory=/home/powerman/proj/config/myservers\n"}

[Trace - 15:18:24.080 PM] Received notification '$/progress'.
Params: {"token":"7788994973309978570","value":{"kind":"begin","message":"packages.Load error: err: exit status 1: stderr: Device "ens3" does not exist. mise ERROR command ["/bin/bash", "--noprofile", "-c", ". \"/home/powerman/proj/config/myservers/srv/secondary/host-facts.sh\"\nexport -p\n"] exited with code 1 mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information ","title":"Error loading workspace"}}

[Trace - 15:18:24.081 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///home/powerman/proj/config/myservers/srv/secondary/example.nft.tmpl","version":5,"diagnostics":[]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions