golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.84k stars 735 forks source link

VSCode in golang adding the letter 'o' to the right of '0' number #3073

Closed rrasouli closed 9 months ago

rrasouli commented 9 months ago

What version of Go, VS Code & VS Code Go extension are you using?

Version Information
VS Code Version: Version: 1.84.2 Commit: https://github.com/microsoft/vscode/commit/1a5daa3a0231a0fbba4f14db7ec463cf99d7768e Date: 2023-11-09T10:52:57.054Z (2 wks ago) Electron: 25.9.2 ElectronBuildId: 24603566 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin arm64 23.1.0 OS Version: Macos 14.1.1 (23B81) * Run `go version` to get version of Go from _the VS Code integrated terminal_. - go version go1.20.11 darwin/arm64 * Run `gopls -v version` to get version of Gopls from _the VS Code integrated terminal_. - NA * Run `code -v` or `code-insiders -v` to get version of VS Code or VS Code Insiders. - * Check your installed extensions to get the version of the VS Code Go extension - Go v0.40.0 * Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > `Go: Locate Configured Go Tools` command. - Checking configured tools.... GOBIN: undefined toolsGopath: gopath: /Users/rrasouli/go GOROOT: /usr/local/go PATH: /usr/local/sbin:/Users/rrasouli/Downloads/google-cloud-sdk/bin:/Users/rrasouli/Documents/GitHub/openshift-tests-private:.:/usr/local/sbin:/Users/rrasouli/Downloads/google-cloud-sdk/bin:/Users/rrasouli/Documents/GitHub/openshift-tests-private:.:/usr/local/sbin:/Users/rrasouli/Downloads/google-cloud-sdk/bin:/Users/rrasouli/249355:.:/usr/local/sbin:/Users/rrasouli/Downloads/google-cloud-sdk/bin:/usr/local/sbin:/Users/rrasouli/Downloads/google-cloud-sdk/bin:/usr/local/sbin:/Users/rrasouli/Downloads/google-cloud-sdk/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/munki:/Users/rrasouli/.cargo/bin:.:/Users/rrasouli/Documents/GitHub/ocp-qe-scripts:.:/Users/rrasouli/Documents/GitHub/ocp-qe-scripts:/Users/rrasouli/.rvm/bin:.:/Users/rrasouli/Documents/GitHub/ocp-qe-scripts:/usr/local/go/bin:.:/Users/rrasouli/Documents/GitHub/ocp-qe-scripts:/usr/local/go/bin:.:/Users/rrasouli/Documents/GitHub/ocp-qe-scripts:/usr/local/go/bin:.:/Users/rrasouli/Documents/GitHub/ocp-qe-scripts:/usr/local/go/bin go: /usr/local/go/bin/go: go version go1.20.11 darwin/arm64 gopls: /Users/rrasouli/go/bin/gopls (version: v0.14.2 built with go: go1.20.11) gotests: /Users/rrasouli/go/bin/gotests (version: v1.6.0 built with go: go1.20.11) gomodifytags: /Users/rrasouli/go/bin/gomodifytags (version: v1.16.0 built with go: go1.20.11) impl: /Users/rrasouli/go/bin/impl (version: v1.1.0 built with go: go1.20.11) goplay: /Users/rrasouli/go/bin/goplay (version: v1.0.0 built with go: go1.20.11) dlv: /Users/rrasouli/go/bin/dlv (version: v1.21.2 built with go: go1.20.11) staticcheck: /Users/rrasouli/go/bin/staticcheck (version: v0.4.6 built with go: go1.20.11) go env Workspace Folder (openshift-tests-private): /Users/rrasouli/Documents/GitHub/openshift-tests-private GO111MODULE="on" GOARCH="arm64" GOBIN="" GOCACHE="/Users/rrasouli/Library/Caches/go-build" GOENV="/Users/rrasouli/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/rrasouli/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/rrasouli/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64" GOVCS="" GOVERSION="go1.20.11" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/rrasouli/Documents/GitHub/openshift-tests-private/go.mod" GOWORK="off" CGO_CFLAGS="-O2 -g" CGO_CPPFLAGS="" CGO_CXXFLAGS="-O2 -g" CGO_FFLAGS="-O2 -g" CGO_LDFLAGS="-O2 -g" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/57/yqc19tld1rg84k376fly1d4m0000gp/T/go-build963293103=/tmp/go-build -gno-record-gcc-switches -fno-common"

Share the Go related settings you have added/edited

Run Preferences: Open Settings (JSON) command to open your settings.json file. Share all the settings with the go. or ["go"] or gopls prefixes.

Describe the bug

having numbers numbers in golang code that starts in 0's after saving (linter?) o added to the right of that 0 number:

os.Chmod(publicKey, 0600)
os.Chmod(privateKey, 0600)
to
os.Chmod(publicKey, 0o600)
os.Chmod(privateKey, 0o600)

Steps to reproduce the behavior:

  1. configure os function with for example os.WriteFile(file, bla, 0644) or os.Chmod(, 0600)
  2. Click on save
  3. A number starting with 0 is converted to 0o

Screenshots or recordings

If applicable, add screenshots or recordings to help explain your problem. image

image

hyangah commented 9 months ago

@rrasouli That must be annoying. Can you please capture a lsp log following the instruction in https://github.com/golang/vscode-go/wiki/troubleshooting#collect-gopls-information?

rrasouli commented 9 months ago
[Trace - 18:14:32.187 PM] Sending request 'textDocument/hover - (183)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"position":{"line":1533,"character":60}}

[Trace - 18:14:32.189 PM] Received response 'textDocument/hover - (183)' in 1ms.
Result: {"contents":{"kind":"markdown","value":"```go\nfunc getContainerdVersion(oc *exutil.CLI, nodeIP string) string\n```"},"range":{"start":{"line":1533,"character":58},"end":{"line":1533,"character":78}}}

[Trace - 18:14:32.577 PM] Sending request 'textDocument/hover - (184)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"position":{"line":1533,"character":75}}

[Trace - 18:14:32.579 PM] Received response 'textDocument/hover - (184)' in 2ms.
Result: {"contents":{"kind":"markdown","value":"```go\nfunc getContainerdVersion(oc *exutil.CLI, nodeIP string) string\n```"},"range":{"start":{"line":1533,"character":58},"end":{"line":1533,"character":78}}}

[Trace - 18:14:32.761 PM] Sending request 'textDocument/documentHighlight - (185)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"position":{"line":1533,"character":76}}

[Trace - 18:14:32.762 PM] Received response 'textDocument/documentHighlight - (185)' in 1ms.
Result: [{"range":{"start":{"line":1533,"character":58},"end":{"line":1533,"character":78}},"kind":1},{"range":{"start":{"line":1534,"character":95},"end":{"line":1534,"character":115}},"kind":1}]

[Trace - 18:14:33.021 PM] Sending request 'textDocument/codeAction - (186)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"range":{"start":{"line":1533,"character":76},"end":{"line":1533,"character":76}},"context":{"diagnostics":[],"triggerKind":2}}

[Trace - 18:14:33.028 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2023/11/30 18:14:33 fixImports(filename=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go\"), abs=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go\", srcDir=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc\" ...\n"}

[Info  - 6:14:33 PM] 2023/11/30 18:14:33 fixImports(filename="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"), abs="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go", srcDir="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc" ...

[Trace - 18:14:33.030 PM] Received response 'textDocument/codeAction - (186)' in 9ms.
Result: [{"title":"Inline call to getContainerdVersion","kind":"refactor.inline","command":{"title":"Inline call to getContainerdVersion","command":"gopls.apply_fix","arguments":[{"Fix":"inline_call","URI":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go","Range":{"start":{"line":1533,"character":76},"end":{"line":1533,"character":76}}}]}}]

[Trace - 18:14:33.281 PM] Sending request 'textDocument/inlayHint - (187)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"range":{"start":{"line":1479,"character":0},"end":{"line":1583,"character":57}}}

[Trace - 18:14:33.281 PM] Received response 'textDocument/inlayHint - (187)' in 0ms.
Result: null

[Trace - 18:14:33.394 PM] Sending request 'textDocument/semanticTokens/range - (188)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"range":{"start":{"line":1509,"character":0},"end":{"line":1553,"character":67}}}

[Error - Received] 18:14:33.395 PM #188 semantictokens are disabled

[Error - 6:14:33 PM] Request textDocument/semanticTokens/range failed.
  Message: semantictokens are disabled
  Code: 0 
[Trace - 18:14:35.344 PM] Sending request 'textDocument/codeAction - (189)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"range":{"start":{"line":0,"character":0},"end":{"line":1837,"character":0}},"context":{"diagnostics":[{"range":{"start":{"line":152,"character":13},"end":{"line":152,"character":22}},"message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","code":"default","severity":4,"tags":[2],"source":"deprecated"},{"range":{"start":{"line":176,"character":12},"end":{"line":176,"character":21}},"message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","code":"default","severity":4,"tags":[2],"source":"deprecated"},{"range":{"start":{"line":241,"character":13},"end":{"line":241,"character":22}},"message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","code":"default","severity":4,"tags":[2],"source":"deprecated"},{"range":{"start":{"line":745,"character":13},"end":{"line":745,"character":22}},"message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","code":"default","severity":4,"tags":[2],"source":"deprecated"},{"range":{"start":{"line":804,"character":14},"end":{"line":804,"character":23}},"message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","code":"default","severity":4,"tags":[2],"source":"deprecated"},{"range":{"start":{"line":905,"character":13},"end":{"line":905,"character":22}},"message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","code":"default","severity":4,"tags":[2],"source":"deprecated"},{"range":{"start":{"line":1015,"character":13},"end":{"line":1015,"character":22}},"message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","code":"default","severity":4,"tags":[2],"source":"deprecated"},{"range":{"start":{"line":1105,"character":14},"end":{"line":1105,"character":23}},"message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","code":"default","severity":4,"tags":[2],"source":"deprecated"}],"only":["source.organizeImports"],"triggerKind":2}}

[Trace - 18:14:35.351 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2023/11/30 18:14:35 fixImports(filename=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go\"), abs=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go\", srcDir=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc\" ...\n"}

[Info  - 6:14:35 PM] 2023/11/30 18:14:35 fixImports(filename="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"), abs="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go", srcDir="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc" ...

[Trace - 18:14:35.351 PM] Received response 'textDocument/codeAction - (189)' in 7ms.
Result: null

[Trace - 18:14:35.358 PM] Sending request 'textDocument/formatting - (190)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"options":{"tabSize":4,"insertSpaces":false}}

[Trace - 18:14:35.405 PM] Received response 'textDocument/formatting - (190)' in 47ms.
Result: [{"range":{"start":{"line":938,"character":56},"end":{"line":938,"character":56}},"newText":"o"},{"range":{"start":{"line":940,"character":56},"end":{"line":940,"character":56}},"newText":"o"}]

[Trace - 18:14:35.408 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go","version":6},"contentChanges":[{"range":{"start":{"line":940,"character":56},"end":{"line":940,"character":56}},"rangeLength":0,"text":"o"},{"range":{"start":{"line":938,"character":56},"end":{"line":938,"character":56}},"rangeLength":0,"text":"o"}]}

[Trace - 18:14:35.429 PM] Sending notification 'textDocument/didSave'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"}}

[Trace - 18:14:35.560 PM] Sending request 'textDocument/semanticTokens/range - (191)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"range":{"start":{"line":1509,"character":0},"end":{"line":1553,"character":67}}}

[Error - Received] 18:14:35.561 PM #191 semantictokens are disabled

[Error - 6:14:35 PM] Request textDocument/semanticTokens/range failed.
  Message: semantictokens are disabled
  Code: 0 
[Trace - 18:14:35.710 PM] Sending request 'textDocument/foldingRange - (192)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"}}

[Trace - 18:14:35.712 PM] Received response 'textDocument/foldingRange - (192)' in 1ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":22,"endCharacter":43,"kind":"imports"},{"startLine":25,"startCharacter":19,"endLine":1836,"endCharacter":1},{"startLine":25,"startCharacter":63,"endLine":1835,"endCharacter":3},{"startLine":31,"startCharacter":22,"endLine":36,"endCharacter":55},{"startLine":39,"startCharacter":14,"endLine":47,"endCharacter":2},{"startLine":39,"startCharacter":22,"endLine":46,"endCharacter":39},{"startLine":50,"startCharacter":6,"endLine":134,"endCharacter":2},{"startLine":50,"startCharacter":78,"endLine":133,"endCharacter":3},{"startLine":58,"startCharacter":75,"endLine":59,"endCharacter":134},{"startLine":65,"startCharacter":49,"endLine":68,"endCharacter":4},{"startLine":66,"startCharacter":41,"endLine":67,"endCharacter":81},{"startLine":74,"startCharacter":40,"endLine":79,"endCharacter":4},{"startLine":77,"startCharacter":16,"endLine":78,"endCharacter":87},{"startLine":83,"startCharacter":28,"endLine":85,"endCharacter":18},{"startLine":86,"startCharacter":4,"endLine":110,"endCharacter":4},{"startLine":87,"startCharacter":4,"endLine":89,"endCharacter":180},{"startLine":91,"startCharacter":4,"endLine":93,"endCharacter":81},{"startLine":95,"startCharacter":4,"endLine":97,"endCharacter":61},{"startLine":99,"startCharacter":4,"endLine":101,"endCharacter":62},{"startLine":103,"startCharacter":4,"endLine":105,"endCharacter":76},{"startLine":107,"startCharacter":4,"endLine":109,"endCharacter":32},{"startLine":112,"startCharacter":44,"endLine":120,"endCharacter":4},{"startLine":118,"startCharacter":38,"endLine":119,"endCharacter":128},{"startLine":125,"startCharacter":41,"endLine":132,"endCharacter":4},{"startLine":126,"startCharacter":29,"endLine":131,"endCharacter":5},{"startLine":129,"startCharacter":42,"endLine":130,"endCharacter":84},{"startLine":137,"startCharacter":6,"endLine":190,"endCharacter":2},{"startLine":137,"startCharacter":87,"endLine":189,"endCharacter":3},{"startLine":145,"startCharacter":67,"endLine":146,"endCharacter":98},{"startLine":152,"startCharacter":23,"endLine":167,"endCharacter":3},{"startLine":152,"startCharacter":77,"endLine":166,"endCharacter":19},{"startLine":155,"startCharacter":51,"endLine":157,"endCharacter":21},{"startLine":163,"startCharacter":68,"endLine":164,"endCharacter":99},{"startLine":168,"startCharacter":21,"endLine":169,"endCharacter":89},{"startLine":172,"startCharacter":58,"endLine":173,"endCharacter":72,"kind":"comment"},{"startLine":176,"startCharacter":22,"endLine":186,"endCharacter":3},{"startLine":176,"startCharacter":75,"endLine":185,"endCharacter":19},{"startLine":180,"startCharacter":68,"endLine":182,"endCharacter":21},{"startLine":187,"startCharacter":21,"endLine":188,"endCharacter":89},{"startLine":193,"startCharacter":6,"endLine":201,"endCharacter":2},{"startLine":193,"startCharacter":74,"endLine":200,"endCharacter":3},{"startLine":198,"startCharacter":48,"endLine":199,"endCharacter":75},{"startLine":204,"startCharacter":6,"endLine":227,"endCharacter":2},{"startLine":204,"startCharacter":108,"endLine":226,"endCharacter":3},{"startLine":218,"startCharacter":59,"endLine":219,"endCharacter":64},{"startLine":224,"startCharacter":61,"endLine":225,"endCharacter":64},{"startLine":230,"startCharacter":6,"endLine":253,"endCharacter":2},{"startLine":230,"startCharacter":104,"endLine":252,"endCharacter":3},{"startLine":231,"startCharacter":61,"endLine":232,"endCharacter":92},{"startLine":241,"startCharacter":23,"endLine":249,"endCharacter":3},{"startLine":241,"startCharacter":78,"endLine":248,"endCharacter":19},{"startLine":243,"startCharacter":70,"endLine":245,"endCharacter":21},{"startLine":250,"startCharacter":21,"endLine":251,"endCharacter":76},{"startLine":256,"startCharacter":6,"endLine":293,"endCharacter":2},{"startLine":256,"startCharacter":131,"endLine":292,"endCharacter":51},{"startLine":275,"startCharacter":57,"endLine":281,"endCharacter":52},{"startLine":282,"startCharacter":10,"endLine":288,"endCharacter":52},{"startLine":296,"startCharacter":6,"endLine":338,"endCharacter":2},{"startLine":296,"startCharacter":167,"endLine":337,"endCharacter":3},{"startLine":297,"startCharacter":55,"endLine":299,"endCharacter":83},{"startLine":321,"startCharacter":35,"endLine":323,"endCharacter":39},{"startLine":333,"startCharacter":58,"endLine":334,"endCharacter":71},{"startLine":335,"startCharacter":10,"endLine":336,"endCharacter":84},{"startLine":341,"startCharacter":6,"endLine":368,"endCharacter":2},{"startLine":341,"startCharacter":136,"endLine":366,"endCharacter":3},{"startLine":358,"startCharacter":14,"endLine":359,"endCharacter":83},{"startLine":362,"startCharacter":34,"endLine":365,"endCharacter":4},{"startLine":363,"startCharacter":108,"endLine":364,"endCharacter":85},{"startLine":371,"startCharacter":6,"endLine":401,"endCharacter":2},{"startLine":371,"startCharacter":134,"endLine":400,"endCharacter":51},{"startLine":403,"startCharacter":6,"endLine":419,"endCharacter":2},{"startLine":403,"startCharacter":149,"endLine":418,"endCharacter":15},{"startLine":422,"startCharacter":6,"endLine":505,"endCharacter":2},{"startLine":422,"startCharacter":141,"endLine":504,"endCharacter":3},{"startLine":445,"startCharacter":59,"endLine":446,"endCharacter":65},{"startLine":452,"startCharacter":61,"endLine":453,"endCharacter":65},{"startLine":466,"startCharacter":61,"endLine":467,"endCharacter":65},{"startLine":473,"startCharacter":59,"endLine":474,"endCharacter":65},{"startLine":488,"startCharacter":61,"endLine":489,"endCharacter":65},{"startLine":495,"startCharacter":59,"endLine":496,"endCharacter":65},{"startLine":502,"startCharacter":59,"endLine":503,"endCharacter":65},{"startLine":508,"startCharacter":6,"endLine":603,"endCharacter":2},{"startLine":508,"startCharacter":97,"endLine":602,"endCharacter":3},{"startLine":531,"startCharacter":61,"endLine":532,"endCharacter":64},{"startLine":538,"startCharacter":59,"endLine":539,"endCharacter":64},{"startLine":543,"startCharacter":39,"endLine":544,"endCharacter":58},{"startLine":549,"startCharacter":61,"endLine":550,"endCharacter":83},{"startLine":555,"startCharacter":61,"endLine":556,"endCharacter":83},{"startLine":563,"startCharacter":61,"endLine":564,"endCharacter":73},{"startLine":571,"startCharacter":61,"endLine":572,"endCharacter":82},{"startLine":579,"startCharacter":59,"endLine":580,"endCharacter":73},{"startLine":585,"startCharacter":35,"endLine":586,"endCharacter":72},{"startLine":592,"startCharacter":61,"endLine":593,"endCharacter":97},{"startLine":600,"startCharacter":61,"endLine":601,"endCharacter":97},{"startLine":606,"startCharacter":6,"endLine":620,"endCharacter":2},{"startLine":606,"startCharacter":102,"endLine":619,"endCharacter":3},{"startLine":611,"startCharacter":76,"endLine":613,"endCharacter":37,"kind":"comment"},{"startLine":617,"startCharacter":105,"endLine":618,"endCharacter":91},{"startLine":623,"startCharacter":6,"endLine":682,"endCharacter":2},{"startLine":623,"startCharacter":82,"endLine":681,"endCharacter":3},{"startLine":626,"startCharacter":48,"endLine":632,"endCharacter":4},{"startLine":630,"startCharacter":79,"endLine":631,"endCharacter":66},{"startLine":636,"startCharacter":48,"endLine":642,"endCharacter":4},{"startLine":640,"startCharacter":82,"endLine":641,"endCharacter":69},{"startLine":648,"startCharacter":48,"endLine":652,"endCharacter":4},{"startLine":650,"startCharacter":51,"endLine":651,"endCharacter":73},{"startLine":659,"startCharacter":60,"endLine":660,"endCharacter":57},{"startLine":666,"startCharacter":48,"endLine":670,"endCharacter":4},{"startLine":668,"startCharacter":75,"endLine":669,"endCharacter":63},{"startLine":676,"startCharacter":48,"endLine":680,"endCharacter":4},{"startLine":678,"startCharacter":75,"endLine":679,"endCharacter":68},{"startLine":685,"startCharacter":6,"endLine":714,"endCharacter":2},{"startLine":685,"startCharacter":134,"endLine":713,"endCharacter":3},{"startLine":693,"startCharacter":27,"endLine":707,"endCharacter":64},{"startLine":709,"startCharacter":34,"endLine":712,"endCharacter":4},{"startLine":710,"startCharacter":40,"endLine":711,"endCharacter":66},{"startLine":717,"startCharacter":6,"endLine":786,"endCharacter":2},{"startLine":717,"startCharacter":130,"endLine":785,"endCharacter":51},{"startLine":718,"startCharacter":130,"endLine":719,"endCharacter":63,"kind":"comment"},{"startLine":720,"startCharacter":32,"endLine":721,"endCharacter":63},{"startLine":745,"startCharacter":23,"endLine":753,"endCharacter":3},{"startLine":745,"startCharacter":77,"endLine":752,"endCharacter":20},{"startLine":749,"startCharacter":119,"endLine":750,"endCharacter":20},{"startLine":754,"startCharacter":21,"endLine":755,"endCharacter":132},{"startLine":789,"startCharacter":6,"endLine":819,"endCharacter":2},{"startLine":789,"startCharacter":149,"endLine":818,"endCharacter":3},{"startLine":800,"startCharacter":61,"endLine":815,"endCharacter":4},{"startLine":804,"startCharacter":24,"endLine":812,"endCharacter":4},{"startLine":804,"startCharacter":79,"endLine":811,"endCharacter":20},{"startLine":806,"startCharacter":71,"endLine":808,"endCharacter":22},{"startLine":813,"startCharacter":22,"endLine":814,"endCharacter":77},{"startLine":816,"startCharacter":10,"endLine":817,"endCharacter":94},{"startLine":822,"startCharacter":6,"endLine":839,"endCharacter":2},{"startLine":822,"startCharacter":129,"endLine":838,"endCharacter":48},{"startLine":842,"startCharacter":6,"endLine":857,"endCharacter":2},{"startLine":842,"startCharacter":96,"endLine":856,"endCharacter":3},{"startLine":854,"startCharacter":39,"endLine":855,"endCharacter":41},{"startLine":859,"startCharacter":6,"endLine":890,"endCharacter":2},{"startLine":859,"startCharacter":86,"endLine":889,"endCharacter":3},{"startLine":860,"startCharacter":61,"endLine":861,"endCharacter":92},{"startLine":884,"startCharacter":23,"endLine":885,"endCharacter":41},{"startLine":886,"startCharacter":10,"endLine":888,"endCharacter":39},{"startLine":893,"startCharacter":6,"endLine":927,"endCharacter":2},{"startLine":893,"startCharacter":111,"endLine":926,"endCharacter":3},{"startLine":900,"startCharacter":37,"endLine":901,"endCharacter":77},{"startLine":905,"startCharacter":23,"endLine":911,"endCharacter":3},{"startLine":905,"startCharacter":77,"endLine":910,"endCharacter":20},{"startLine":907,"startCharacter":54,"endLine":908,"endCharacter":20},{"startLine":912,"startCharacter":21,"endLine":913,"endCharacter":94},{"startLine":917,"startCharacter":55,"endLine":925,"endCharacter":4},{"startLine":920,"startCharacter":54,"endLine":924,"endCharacter":5},{"startLine":922,"startCharacter":64,"endLine":923,"endCharacter":102},{"startLine":930,"startCharacter":6,"endLine":975,"endCharacter":2},{"startLine":930,"startCharacter":98,"endLine":974,"endCharacter":43},{"startLine":950,"startCharacter":62,"endLine":951,"endCharacter":112,"kind":"comment"},{"startLine":954,"startCharacter":50,"endLine":955,"endCharacter":58},{"startLine":978,"startCharacter":6,"endLine":997,"endCharacter":2},{"startLine":978,"startCharacter":113,"endLine":996,"endCharacter":3},{"startLine":984,"startCharacter":37,"endLine":995,"endCharacter":4},{"startLine":988,"startCharacter":29,"endLine":994,"endCharacter":5},{"startLine":992,"startCharacter":56,"endLine":993,"endCharacter":59},{"startLine":999,"startCharacter":6,"endLine":1053,"endCharacter":2},{"startLine":999,"startCharacter":154,"endLine":1052,"endCharacter":3},{"startLine":1015,"startCharacter":23,"endLine":1017,"endCharacter":3},{"startLine":1015,"startCharacter":78,"endLine":1016,"endCharacter":73},{"startLine":1018,"startCharacter":21,"endLine":1019,"endCharacter":57},{"startLine":1029,"startCharacter":74,"endLine":1030,"endCharacter":114},{"startLine":1039,"startCharacter":45,"endLine":1040,"endCharacter":130},{"startLine":1050,"startCharacter":29,"endLine":1051,"endCharacter":97},{"startLine":1055,"startCharacter":6,"endLine":1145,"endCharacter":2},{"startLine":1055,"startCharacter":117,"endLine":1144,"endCharacter":3},{"startLine":1056,"startCharacter":9,"endLine":1058,"endCharacter":52},{"startLine":1073,"startCharacter":49,"endLine":1075,"endCharacter":31,"kind":"comment"},{"startLine":1081,"startCharacter":67,"endLine":1082,"endCharacter":100},{"startLine":1085,"startCharacter":68,"endLine":1086,"endCharacter":60,"kind":"comment"},{"startLine":1092,"startCharacter":71,"endLine":1093,"endCharacter":36,"kind":"comment"},{"startLine":1101,"startCharacter":41,"endLine":1132,"endCharacter":4},{"startLine":1105,"startCharacter":24,"endLine":1129,"endCharacter":4},{"startLine":1105,"startCharacter":78,"endLine":1128,"endCharacter":21},{"startLine":1108,"startCharacter":19,"endLine":1110,"endCharacter":22},{"startLine":1115,"startCharacter":19,"endLine":1117,"endCharacter":22},{"startLine":1121,"startCharacter":77,"endLine":1123,"endCharacter":47,"kind":"comment"},{"startLine":1124,"startCharacter":113,"endLine":1125,"endCharacter":21},{"startLine":1130,"startCharacter":22,"endLine":1131,"endCharacter":109},{"startLine":1137,"startCharacter":75,"endLine":1143,"endCharacter":4},{"startLine":1138,"startCharacter":71,"endLine":1140,"endCharacter":26,"kind":"comment"},{"startLine":1141,"startCharacter":45,"endLine":1142,"endCharacter":70},{"startLine":1147,"startCharacter":6,"endLine":1165,"endCharacter":2},{"startLine":1147,"startCharacter":104,"endLine":1164,"endCharacter":3},{"startLine":1158,"startCharacter":41,"endLine":1163,"endCharacter":4},{"startLine":1159,"startCharacter":33,"endLine":1162,"endCharacter":130},{"startLine":1167,"startCharacter":6,"endLine":1238,"endCharacter":2},{"startLine":1167,"startCharacter":122,"endLine":1237,"endCharacter":64},{"startLine":1173,"startCharacter":44,"endLine":1174,"endCharacter":72},{"startLine":1178,"startCharacter":55,"endLine":1183,"endCharacter":4},{"startLine":1181,"startCharacter":59,"endLine":1182,"endCharacter":134},{"startLine":1197,"startCharacter":17,"endLine":1198,"endCharacter":83},{"startLine":1205,"startCharacter":47,"endLine":1206,"endCharacter":119},{"startLine":1240,"startCharacter":6,"endLine":1293,"endCharacter":2},{"startLine":1240,"startCharacter":159,"endLine":1292,"endCharacter":3},{"startLine":1244,"startCharacter":61,"endLine":1250,"endCharacter":66},{"startLine":1258,"startCharacter":80,"endLine":1259,"endCharacter":23,"kind":"comment"},{"startLine":1264,"startCharacter":25,"endLine":1265,"endCharacter":56,"kind":"comment"},{"startLine":1270,"startCharacter":48,"endLine":1272,"endCharacter":72},{"startLine":1280,"startCharacter":82,"endLine":1281,"endCharacter":104},{"startLine":1284,"startCharacter":61,"endLine":1291,"endCharacter":4},{"startLine":1286,"startCharacter":24,"endLine":1287,"endCharacter":42},{"startLine":1288,"startCharacter":11,"endLine":1290,"endCharacter":40},{"startLine":1295,"startCharacter":6,"endLine":1327,"endCharacter":2},{"startLine":1295,"startCharacter":117,"endLine":1326,"endCharacter":3},{"startLine":1304,"startCharacter":43,"endLine":1324,"endCharacter":71},{"startLine":1318,"startCharacter":103,"endLine":1319,"endCharacter":71,"kind":"comment"},{"startLine":1330,"startCharacter":6,"endLine":1367,"endCharacter":2},{"startLine":1330,"startCharacter":101,"endLine":1366,"endCharacter":3},{"startLine":1334,"startCharacter":22,"endLine":1335,"endCharacter":38},{"startLine":1337,"startCharacter":42,"endLine":1364,"endCharacter":112},{"startLine":1344,"startCharacter":32,"endLine":1345,"endCharacter":57},{"startLine":1350,"startCharacter":23,"endLine":1351,"endCharacter":44},{"startLine":1355,"startCharacter":27,"endLine":1356,"endCharacter":56},{"startLine":1363,"startCharacter":32,"endLine":1364,"endCharacter":111},{"startLine":1370,"startCharacter":6,"endLine":1411,"endCharacter":2},{"startLine":1370,"startCharacter":155,"endLine":1410,"endCharacter":51},{"startLine":1371,"startCharacter":130,"endLine":1372,"endCharacter":63,"kind":"comment"},{"startLine":1373,"startCharacter":32,"endLine":1374,"endCharacter":63},{"startLine":1414,"startCharacter":6,"endLine":1486,"endCharacter":2},{"startLine":1414,"startCharacter":129,"endLine":1485,"endCharacter":103},{"startLine":1455,"startCharacter":32,"endLine":1456,"endCharacter":52},{"startLine":1469,"startCharacter":28,"endLine":1475,"endCharacter":4},{"startLine":1473,"startCharacter":41,"endLine":1474,"endCharacter":90},{"startLine":1482,"startCharacter":32,"endLine":1483,"endCharacter":52},{"startLine":1489,"startCharacter":6,"endLine":1516,"endCharacter":2},{"startLine":1489,"startCharacter":137,"endLine":1515,"endCharacter":61},{"startLine":1518,"startCharacter":6,"endLine":1537,"endCharacter":2},{"startLine":1518,"startCharacter":101,"endLine":1536,"endCharacter":3},{"startLine":1522,"startCharacter":17,"endLine":1523,"endCharacter":54},{"startLine":1527,"startCharacter":17,"endLine":1528,"endCharacter":67},{"startLine":1532,"startCharacter":51,"endLine":1535,"endCharacter":4},{"startLine":1533,"startCharacter":99,"endLine":1534,"endCharacter":129},{"startLine":1539,"startCharacter":6,"endLine":1562,"endCharacter":2},{"startLine":1539,"startCharacter":125,"endLine":1561,"endCharacter":3},{"startLine":1545,"startCharacter":43,"endLine":1559,"endCharacter":46},{"startLine":1548,"startCharacter":88,"endLine":1549,"endCharacter":42,"kind":"comment"},{"startLine":1554,"startCharacter":103,"endLine":1555,"endCharacter":71,"kind":"comment"},{"startLine":1564,"startCharacter":6,"endLine":1666,"endCharacter":2},{"startLine":1564,"startCharacter":105,"endLine":1665,"endCharacter":106},{"startLine":1566,"startCharacter":19,"endLine":1567,"endCharacter":49},{"startLine":1580,"startCharacter":48,"endLine":1581,"endCharacter":75},{"startLine":1593,"startCharacter":16,"endLine":1605,"endCharacter":46},{"startLine":1595,"startCharacter":53,"endLine":1599,"endCharacter":3},{"startLine":1611,"startCharacter":17,"endLine":1612,"endCharacter":101},{"startLine":1619,"startCharacter":17,"endLine":1620,"endCharacter":101},{"startLine":1632,"startCharacter":17,"endLine":1633,"endCharacter":101},{"startLine":1643,"startCharacter":24,"endLine":1644,"endCharacter":58},{"startLine":1648,"startCharacter":59,"endLine":1649,"endCharacter":117},{"startLine":1668,"startCharacter":6,"endLine":1754,"endCharacter":2},{"startLine":1668,"startCharacter":137,"endLine":1753,"endCharacter":56},{"startLine":1670,"startCharacter":19,"endLine":1671,"endCharacter":49},{"startLine":1680,"startCharacter":16,"endLine":1684,"endCharacter":35},{"startLine":1682,"startCharacter":53,"endLine":1683,"endCharacter":80},{"startLine":1687,"startCharacter":59,"endLine":1688,"endCharacter":91},{"startLine":1700,"startCharacter":64,"endLine":1701,"endCharacter":63},{"startLine":1707,"startCharacter":41,"endLine":1714,"endCharacter":4},{"startLine":1712,"startCharacter":45,"endLine":1713,"endCharacter":87},{"startLine":1720,"startCharacter":31,"endLine":1721,"endCharacter":91},{"startLine":1728,"startCharacter":17,"endLine":1729,"endCharacter":64},{"startLine":1731,"startCharacter":41,"endLine":1741,"endCharacter":4},{"startLine":1735,"startCharacter":18,"endLine":1736,"endCharacter":80},{"startLine":1739,"startCharacter":52,"endLine":1740,"endCharacter":78},{"startLine":1750,"startCharacter":17,"endLine":1751,"endCharacter":101},{"startLine":1756,"startCharacter":6,"endLine":1835,"endCharacter":2},{"startLine":1756,"startCharacter":152,"endLine":1834,"endCharacter":111},{"startLine":1758,"startCharacter":19,"endLine":1759,"endCharacter":49},{"startLine":1762,"startCharacter":9,"endLine":1769,"endCharacter":49},{"startLine":1782,"startCharacter":17,"endLine":1783,"endCharacter":71},{"startLine":1788,"startCharacter":17,"endLine":1789,"endCharacter":71},{"startLine":1794,"startCharacter":16,"endLine":1795,"endCharacter":84},{"startLine":1802,"startCharacter":69,"endLine":1803,"endCharacter":62,"kind":"comment"},{"startLine":1815,"startCharacter":17,"endLine":1816,"endCharacter":71},{"startLine":1820,"startCharacter":17,"endLine":1821,"endCharacter":42}]

[Trace - 18:14:35.768 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go","type":2}]}

[Trace - 18:14:35.808 PM] Sending request 'textDocument/codeLens - (193)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/utils.go"}}

[Trace - 18:14:35.808 PM] Sending request 'textDocument/codeLens - (194)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"}}

[Trace - 18:14:35.809 PM] Sending request 'textDocument/documentSymbol - (195)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"}}

[Trace - 18:14:35.812 PM] Received response 'textDocument/codeLens - (193)' in 3ms.
Result: null

[Trace - 18:14:35.812 PM] Received response 'textDocument/codeLens - (194)' in 3ms.
Result: null

[Trace - 18:14:35.812 PM] Received response 'textDocument/documentSymbol - (195)' in 2ms.
Result: []

[Trace - 18:14:35.871 PM] Sending request 'textDocument/semanticTokens/full - (196)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"}}

[Error - Received] 18:14:35.871 PM #196 semantictokens are disabled

[Error - 6:14:35 PM] Request textDocument/semanticTokens/full failed.
  Message: semantictokens are disabled
  Code: 0 
[Trace - 18:14:36.661 PM] Sending request 'textDocument/inlayHint - (197)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"range":{"start":{"line":1479,"character":0},"end":{"line":1583,"character":57}}}

[Trace - 18:14:36.683 PM] Received response 'textDocument/inlayHint - (197)' in 22ms.
Result: null

[Trace - 18:14:36.911 PM] Sending request 'textDocument/documentLink - (198)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"}}

[Trace - 18:14:36.979 PM] Received response 'textDocument/documentLink - (198)' in 67ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":9}},"target":"https://pkg.go.dev/context"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":17}},"target":"https://pkg.go.dev/encoding/base64"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":15}},"target":"https://pkg.go.dev/encoding/json"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":5}},"target":"https://pkg.go.dev/fmt"},{"range":{"start":{"line":7,"character":2},"end":{"line":7,"character":4}},"target":"https://pkg.go.dev/io"},{"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":10}},"target":"https://pkg.go.dev/net/http"},{"range":{"start":{"line":9,"character":2},"end":{"line":9,"character":4}},"target":"https://pkg.go.dev/os"},{"range":{"start":{"line":10,"character":2},"end":{"line":10,"character":9}},"target":"https://pkg.go.dev/os/exec"},{"range":{"start":{"line":11,"character":2},"end":{"line":11,"character":15}},"target":"https://pkg.go.dev/path/filepath"},{"range":{"start":{"line":12,"character":2},"end":{"line":12,"character":9}},"target":"https://pkg.go.dev/reflect"},{"range":{"start":{"line":13,"character":2},"end":{"line":13,"character":6}},"target":"https://pkg.go.dev/sort"},{"range":{"start":{"line":14,"character":2},"end":{"line":14,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":15,"character":2},"end":{"line":15,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":17,"character":4},"end":{"line":17,"character":29}},"target":"https://pkg.go.dev/github.com/onsi/ginkgo/v2@v2.9.2"},{"range":{"start":{"line":18,"character":4},"end":{"line":18,"character":26}},"target":"https://pkg.go.dev/github.com/onsi/gomega@v1.27.6"},{"range":{"start":{"line":19,"character":9},"end":{"line":19,"character":72}},"target":"https://pkg.go.dev/github.com/openshift/openshift-tests-private/test/extended/util"},{"range":{"start":{"line":20,"character":2},"end":{"line":20,"character":26}},"target":"https://pkg.go.dev/github.com/tidwall/gjson@v1.11.0"},{"range":{"start":{"line":21,"character":2},"end":{"line":21,"character":35}},"target":"https://pkg.go.dev/k8s.io/apimachinery@v0.28.2/pkg/util/wait"},{"range":{"start":{"line":22,"character":6},"end":{"line":22,"character":42}},"target":"https://pkg.go.dev/k8s.io/kubernetes@v1.28.2/test/e2e/framework"},{"range":{"start":{"line":52,"character":91},"end":{"line":52,"character":113}},"target":"https://kubernetes.io/os=linux"},{"range":{"start":{"line":55,"character":93},"end":{"line":55,"character":117}},"target":"https://kubernetes.io/os=windows"},{"range":{"start":{"line":63,"character":91},"end":{"line":63,"character":115}},"target":"https://kubernetes.io/os=windows"},{"range":{"start":{"line":391,"character":89},"end":{"line":391,"character":145}},"target":"https://windowsmachineconfig.openshift.io/version=invalidVersion"},{"range":{"start":{"line":609,"character":113},"end":{"line":609,"character":146}},"target":"https://app.kubernetes.io/name=prometheus"},{"range":{"start":{"line":609,"character":177},"end":{"line":609,"character":190}},"target":"https://metadata.name"},{"range":{"start":{"line":646,"character":79},"end":{"line":646,"character":103}},"target":"https://kubernetes.io/os=windows"},{"range":{"start":{"line":656,"character":78},"end":{"line":656,"character":102}},"target":"https://kubernetes.io/os=windows"},{"range":{"start":{"line":664,"character":78},"end":{"line":664,"character":102}},"target":"https://kubernetes.io/os=windows"},{"range":{"start":{"line":664,"character":118},"end":{"line":664,"character":157}},"target":"https://windows-instance-config-daemon.exe.INFO"},{"range":{"start":{"line":674,"character":78},"end":{"line":674,"character":102}},"target":"https://kubernetes.io/os=windows"},{"range":{"start":{"line":704,"character":45},"end":{"line":704,"character":84}},"target":"https://windows-instance-config-daemon.exe.INFO"},{"range":{"start":{"line":795,"character":81},"end":{"line":795,"character":123}},"target":"https://windowsmachineconfig.openshift.io/version-"},{"range":{"start":{"line":898,"character":75},"end":{"line":898,"character":99}},"target":"https://kubernetes.io/os=windows"},{"range":{"start":{"line":952,"character":12},"end":{"line":952,"character":57}},"target":"https://mcr.microsoft.com/windows/servercore:ltsc2019"},{"range":{"start":{"line":955,"character":12},"end":{"line":955,"character":57}},"target":"https://mcr.microsoft.com/windows/servercore:ltsc2022"},{"range":{"start":{"line":961,"character":141},"end":{"line":961,"character":154}},"target":"https://kubernetes.io"},{"range":{"start":{"line":1070,"character":106},"end":{"line":1070,"character":145}},"target":"https://auth.openshift.io/certificate-not-after"},{"range":{"start":{"line":1107,"character":181},"end":{"line":1107,"character":188}},"target":"https://data.ca"},{"range":{"start":{"line":1151,"character":127},"end":{"line":1151,"character":140}},"target":"https://data.services"},{"range":{"start":{"line":1271,"character":86},"end":{"line":1271,"character":142}},"target":"https://windowsmachineconfig.openshift.io/version=invalidVersion"},{"range":{"start":{"line":1320,"character":51},"end":{"line":1320,"character":90}},"target":"https://windows-instance-config-daemon.exe.INFO"},{"range":{"start":{"line":1397,"character":19},"end":{"line":1397,"character":28}},"target":"https://mykey.pub"},{"range":{"start":{"line":1426,"character":19},"end":{"line":1426,"character":28}},"target":"https://mykey.pub"},{"range":{"start":{"line":1437,"character":31},"end":{"line":1437,"character":40}},"target":"https://mykey.pub"},{"range":{"start":{"line":1498,"character":131},"end":{"line":1498,"character":140}},"target":"https://spec.name"},{"range":{"start":{"line":1521,"character":25},"end":{"line":1521,"character":101}},"target":"https://raw.githubusercontent.com/openshift/windows-machine-config-operator/"},{"range":{"start":{"line":1556,"character":57},"end":{"line":1556,"character":96}},"target":"https://windows-instance-config-daemon.exe.INFO"},{"range":{"start":{"line":1677,"character":45},"end":{"line":1677,"character":56}},"target":"https://example.com"},{"range":{"start":{"line":1688,"character":75},"end":{"line":1688,"character":86}},"target":"https://example.com"},{"range":{"start":{"line":1700,"character":49},"end":{"line":1700,"character":60}},"target":"https://example.com"},{"range":{"start":{"line":1701,"character":50},"end":{"line":1701,"character":61}},"target":"https://example.com"},{"range":{"start":{"line":1712,"character":30},"end":{"line":1712,"character":41}},"target":"https://example.com"},{"range":{"start":{"line":1713,"character":42},"end":{"line":1713,"character":53}},"target":"https://example.com"},{"range":{"start":{"line":1727,"character":130},"end":{"line":1727,"character":137}},"target":"https://data.ca"},{"range":{"start":{"line":49,"character":12},"end":{"line":49,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":136,"character":12},"end":{"line":136,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":192,"character":12},"end":{"line":192,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":203,"character":12},"end":{"line":203,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":229,"character":12},"end":{"line":229,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":255,"character":12},"end":{"line":255,"character":31}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":294,"character":11},"end":{"line":294,"character":30}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":340,"character":11},"end":{"line":340,"character":30}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":370,"character":11},"end":{"line":370,"character":30}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":421,"character":11},"end":{"line":421,"character":30}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":507,"character":12},"end":{"line":507,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":605,"character":12},"end":{"line":605,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":622,"character":12},"end":{"line":622,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":684,"character":12},"end":{"line":684,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":716,"character":12},"end":{"line":716,"character":31}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":788,"character":12},"end":{"line":788,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":821,"character":12},"end":{"line":821,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":841,"character":12},"end":{"line":841,"character":31}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":858,"character":12},"end":{"line":858,"character":31}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":892,"character":12},"end":{"line":892,"character":27}},"target":"https://sgao@redhat.com"},{"range":{"start":{"line":929,"character":12},"end":{"line":929,"character":31}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":977,"character":12},"end":{"line":977,"character":31}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":1092,"character":15},"end":{"line":1092,"character":22}},"target":"https://data.ca"},{"range":{"start":{"line":1319,"character":26},"end":{"line":1319,"character":65}},"target":"https://windows-instance-config-daemon.exe.INFO"},{"range":{"start":{"line":1329,"character":11},"end":{"line":1329,"character":30}},"target":"https://jfrancoa@redhat.com"},{"range":{"start":{"line":1369,"character":11},"end":{"line":1369,"character":30}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":1413,"character":11},"end":{"line":1413,"character":30}},"target":"https://rrasouli@redhat.com"},{"range":{"start":{"line":1488,"character":11},"end":{"line":1488,"character":30}},"target":"https://jfrancoa@redhat.com"},{"range":{"start":{"line":1555,"character":26},"end":{"line":1555,"character":65}},"target":"https://windows-instance-config-daemon.exe.INFO"},{"range":{"start":{"line":1711,"character":16},"end":{"line":1711,"character":27}},"target":"https://example.com"}]

[Trace - 18:14:37.097 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go","version":6,"diagnostics":[{"range":{"start":{"line":152,"character":13},"end":{"line":152,"character":22}},"severity":4,"code":"default","source":"deprecated","message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","tags":[2]},{"range":{"start":{"line":176,"character":12},"end":{"line":176,"character":21}},"severity":4,"code":"default","source":"deprecated","message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","tags":[2]},{"range":{"start":{"line":241,"character":13},"end":{"line":241,"character":22}},"severity":4,"code":"default","source":"deprecated","message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","tags":[2]},{"range":{"start":{"line":745,"character":13},"end":{"line":745,"character":22}},"severity":4,"code":"default","source":"deprecated","message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","tags":[2]},{"range":{"start":{"line":804,"character":14},"end":{"line":804,"character":23}},"severity":4,"code":"default","source":"deprecated","message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","tags":[2]},{"range":{"start":{"line":905,"character":13},"end":{"line":905,"character":22}},"severity":4,"code":"default","source":"deprecated","message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","tags":[2]},{"range":{"start":{"line":1015,"character":13},"end":{"line":1015,"character":22}},"severity":4,"code":"default","source":"deprecated","message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","tags":[2]},{"range":{"start":{"line":1105,"character":14},"end":{"line":1105,"character":23}},"severity":4,"code":"default","source":"deprecated","message":"wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.","tags":[2]}]}

[Trace - 18:14:37.350 PM] Sending request 'textDocument/codeAction - (199)'.
Params: {"textDocument":{"uri":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"},"range":{"start":{"line":1533,"character":76},"end":{"line":1533,"character":76}},"context":{"diagnostics":[],"triggerKind":2}}

[Trace - 18:14:37.352 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2023/11/30 18:14:37 fixImports(filename=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go\"), abs=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go\", srcDir=\"/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc\" ...\n"}

[Info  - 6:14:37 PM] 2023/11/30 18:14:37 fixImports(filename="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go"), abs="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go", srcDir="/Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc" ...

[Trace - 18:14:37.354 PM] Received response 'textDocument/codeAction - (199)' in 3ms.
Result: [{"title":"Inline call to getContainerdVersion","kind":"refactor.inline","command":{"title":"Inline call to getContainerdVersion","command":"gopls.apply_fix","arguments":[{"Fix":"inline_call","URI":"file:///Users/rrasouli/Documents/GitHub/openshift-tests-private/test/extended/winc/winc.go","Range":{"start":{"line":1533,"character":76},"end":{"line":1533,"character":76}}}]}}]
hyangah commented 9 months ago

@rrasouli Thanks for sharing the LSP log. Did you enable gofumpt by any chance? This is the behavior coming from gofumpt.

https://pkg.go.dev/mvdan.cc/gofumpt#section-readme Octal integer literals should use the 0o prefix on modules using Go 1.13 and later

rrasouli commented 9 months ago

Yes indeed, I have removed it from the configuration json, yet the same behavior

hyangah commented 9 months ago

Can you restart gopls ("Go: Restart Language Server") and check if you see the same behavior? If so, can you please share the part of the trace that includes 'initialize' and 'workspace/configuration' message exchanges?

rrasouli commented 9 months ago

Yes that worked!

On Thu, Nov 30, 2023 at 8:28 PM Hyang-Ah Hana Kim @.***> wrote:

Can you restart gopls ("Go: Restart Language Server") and check if you see the same behavior? If so, can you please share the part of the trace that includes 'initialize' and 'workspace/configuration' message exchanges?

— Reply to this email directly, view it on GitHub https://github.com/golang/vscode-go/issues/3073#issuecomment-1834324972, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6PAYY2ALYGJC24JJP5XGLYHDF27AVCNFSM6AAAAABABAAQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZUGMZDIOJXGI . You are receiving this because you were mentioned.Message ID: @.***>

hyangah commented 9 months ago

Thanks. Closing this issue as WAI.

The fact that the config change was not applied without restarting gopls worried me, but I verified that gopls built at head handles it correctly. (cc @findleyr )