x/tools/gopls: "getting code actions" on file save

Gopls stats
gopls  stats
Initializing workspace...     done (382.880653ms)
Gathering bug reports...      done (192.855926ms)
Querying memstats...          done (14.389003ms)
Querying workspace stats...   done (416.512µs)
Collecting directory info...  done (249.464µs)
{
  "BugReports": [],
  "CacheDir": "/Users/hakim/Library/Caches/gopls/309eafdc",
  "DirStats": {
    "Files": 2,
    "TestdataFiles": 0,
    "GoFiles": 1,
    "ModFiles": 1,
    "Dirs": 1
  },
  "GOARCH": "amd64",
  "GOOS": "darwin",
  "GOPLSCACHE": "",
  "GoVersion": "go1.20.3",
  "GoplsVersion": "v0.12.1",
  "InitialWorkspaceLoadDuration": "382.880653ms",
  "MemStats": {
    "HeapAlloc": 19857592,
    "HeapInUse": 36077568,
    "TotalAlloc": 93010104
  },
  "WorkspaceStats": {
    "Files": {
      "Total": 443,
      "Largest": 201909,
      "Errs": 0
    },
    "Views": [
      {
        "GoCommandVersion": "go1.20.3",
        "AllPackages": {
          "Packages": 48,
          "LargestPackage": 132,
          "CompiledGoFiles": 441,
          "Modules": 1
        },
        "WorkspacePackages": {
          "Packages": 1,
          "LargestPackage": 1,
          "CompiledGoFiles": 1,
          "Modules": 1
        },
        "Diagnostics": 1
      }
    ]
  }
}

What did you do?
Fixed the following broken code by replacing bytes.NewReader with strings.NewReader and then and triggered file save (so code action)
package main

import (
	"bytes"
	"encoding/json"
	"time"
)

type IndexVersion struct {
	Path      string // the name of the module
	Version   string
	Timestamp time.Time
}

func main() {
	findInIndex := func(index string, name, ver string) bool {
		reader := bytes.NewReader(index) // <-- error
		dec := json.NewDecoder(reader)
		for dec.More() {
			var v IndexVersion
			if err := dec.Decode(&v); err != nil {
				break
			}
			if v.Path == name && v.Version == ver {
				return true
			}
		}
		return false
	}

	x := findInIndex(data, "git.apache.org/thrift.git", "v0.0.0-20180807212849-6e67faa92827")
	print(x)
}

const data = `{"Path":"golang.org/x/text","Version":"v0.3.0","Timestamp":"2019-04-10T19:08:52.997264Z"}
{"Path":"golang.org/x/crypto","Version":"v0.0.0-20190404164418-38d8ce5564a5","Timestamp":"2019-04-10T20:30:02.04035Z"}`

What did you expect to see?
Code action response with high latency. (VS Code shows the notorious "Saving "main.go": Getting Code Action From Go..." popup)
What did you see instead?
Editor and settings
VS Code Go Nightly
vscode settings:
    "go.diagnostic.vulncheck": "Imports",
    "go.languageServerFlags": ["-rpc.trace", "-debug=localhost:8080"],
    "gopls": {
        "ui.codelenses": {
            "run_govulncheck": true
        },
        "ui.diagnostic.analyses": {
            "nilness": true,
            "infertypeargs": false,
        },
    },

Logs
I manually triggered file save which corresponds to messageseq 46. Note that there were diagnostics and completion requests queued up due to my file edits (delete bytes and type strings) before file save.
[Trace - 10:27:10.158 AM] Sending request 'initialize - (0)'.
Params: {...}

[Trace - 10:27:10.166 AM] Sending notification 'initialized'.
Params: {}

[Trace - 10:27:10.166 AM] Received request 'window/workDoneProgress/create - (1)'.
Params: {"token":"3000518084189521886"}

[Trace - 10:27:10.198 AM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","languageId":"go","version":1,"text":"package main\n\nimport (\n\t\"encoding/json\"\n\t\"strings\"\n\t\"time\"\n)\n\ntype IndexVersion struct {\n\tPath      string // the name of the module\n\tVersion   string\n\tTimestamp time.Time\n}\n\nfunc main() {\n\tfindInIndex := func(index string, name, ver string) bool {\n\t\treader := bytes.NewReader(index)\n\t\tdec := json.NewDecoder(reader)\n\t\tfor dec.More() {\n\t\t\tvar v IndexVersion\n\t\t\tif err := dec.Decode(&v); err != nil {\n\t\t\t\tbreak\n\t\t\t}\n\t\t\tif v.Path == name && v.Version == ver {\n\t\t\t\treturn true\n\t\t\t}\n\t\t}\n\t\treturn false\n\t}\n\n\tx := findInIndex(data, \"git.apache.org/thrift.git\", \"v0.0.0-20180807212849-6e67faa92827\")\n\tprint(x)\n}\n\nconst data = `{\"Path\":\"golang.org/x/text\",\"Version\":\"v0.3.0\",\"Timestamp\":\"2019-04-10T19:08:52.997264Z\"}\n{\"Path\":\"golang.org/x/crypto\",\"Version\":\"v0.0.0-20190404164418-38d8ce5564a5\",\"Timestamp\":\"2019-04-10T20:30:02.04035Z\"}`\n"}}

[Trace - 10:27:10.199 AM] Sending response 'window/workDoneProgress/create - (1)' in 32ms.
Result:

[Trace - 10:27:10.199 AM] Received notification '$/progress'.
Params: {"token":"3000518084189521886","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}

[Trace - 10:27:10.200 AM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///Users/hakim/projects/foo","section":"gopls"}]}

[Trace - 10:27:10.206 AM] Sending response 'workspace/configuration - (2)' in 6ms.
Result: [{"ui.codelenses":{"run_govulncheck":true},"ui.diagnostic.analyses":{"nilness":true,"infertypeargs":false},"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Imports","allExperiments":true}]

[Trace - 10:27:10.378 AM] Sending request 'textDocument/codeAction - (1)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":17}},"context":{"diagnostics":[],"triggerKind":2}}

[Trace - 10:27:10.427 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2023/06/06 10:27:10 go info for /Users/hakim/projects/foo\n(go dir /Users/hakim/projects/foo)\n(go version go version go1.20.3 darwin/amd64)\n(valid build configuration = true)\n(build flags: [])\n(selected go env: [GO111MODULE=, GOCACHE=/Users/hakim/Library/Caches/go-build, GOFLAGS=, GOMODCACHE=/Users/hakim/go/pkg/mod, GOPATH=/Users/hakim/go, GOPRIVATE=, GOROOT=/usr/local/go, GOWORK=])\n\n"}

[Info  - 10:27:10 AM] 2023/06/06 10:27:10 go info for /Users/hakim/projects/foo
(go dir /Users/hakim/projects/foo)
(go version go version go1.20.3 darwin/amd64)
(valid build configuration = true)
(build flags: [])
(selected go env: [GO111MODULE=, GOCACHE=/Users/hakim/Library/Caches/go-build, GOFLAGS=, GOMODCACHE=/Users/hakim/go/pkg/mod, GOPATH=/Users/hakim/go, GOPRIVATE=, GOROOT=/usr/local/go, GOWORK=])

[Trace - 10:27:10.500 AM] Sending request 'textDocument/inlayHint - (2)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":36,"character":0}}}

[Trace - 10:27:10.501 AM] Sending request 'textDocument/documentLink - (3)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:10.519 AM] Sending notification '$/cancelRequest'.
Params: {"id":3}

[Trace - 10:27:10.658 AM] Sending request 'textDocument/documentLink - (4)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:10.927 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2023/06/06 10:27:10 go/packages.Load #1\n\tsnapshot=0\n\tdirectory=file:///Users/hakim/projects/foo\n\tquery=[/Users/hakim/projects/foo/... builtin]\n\tpackages=2\n"}

[Trace - 10:27:10.931 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2023/06/06 10:27:10 go/packages.Load #1: updating metadata for 48 packages\n"}

[Trace - 10:27:10.956 AM] Received notification '$/progress'.
Params: {"token":"3000518084189521886","value":{"kind":"end","message":"Finished loading packages."}}

[Trace - 10:27:10.958 AM] Received request 'client/registerCapability - (3)'.
Params: {"registrations":[{"id":"workspace/didChangeWatchedFiles-0","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.{go,mod,sum,work}","kind":7}]}}]}

[Info  - 10:27:10 AM] 2023/06/06 10:27:10 go/packages.Load #1
	snapshot=0
	directory=file:///Users/hakim/projects/foo
	query=[/Users/hakim/projects/foo/... builtin]
	packages=2

[Info  - 10:27:10 AM] 2023/06/06 10:27:10 go/packages.Load #1: updating metadata for 48 packages

[Trace - 10:27:10.969 AM] Sending response 'client/registerCapability - (3)' in 10ms.
Result:

[Trace - 10:27:10.969 AM] Received request 'client/registerCapability - (4)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"}]}

[Trace - 10:27:10.973 AM] Sending response 'client/registerCapability - (4)' in 4ms.
Result:

[Trace - 10:27:11.016 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/hakim/projects/foo/main.go","version":1,"diagnostics":[{"range":{"start":{"line":4,"character":1},"end":{"line":4,"character":10}},"severity":1,"code":"UnusedImport","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UnusedImport"},"source":"compiler","message":"\"strings\" imported and not used","tags":[1]},{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: bytes"}]}

[Trace - 10:27:11.098 AM] Sending request 'textDocument/foldingRange - (5)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:11.099 AM] Sending request 'textDocument/codeLens - (6)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:11.388 AM] Sending request 'textDocument/codeAction - (7)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":17}},"context":{"diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"message":"undefined: bytes","code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"severity":1,"source":"compiler"}],"triggerKind":2}}

[Trace - 10:27:11.388 AM] Sending notification '$/cancelRequest'.
Params: {"id":1}

[Error - Received] 10:27:11.388 AM #1 context canceled

[Trace - 10:27:11.388 AM] Received response 'textDocument/inlayHint - (2)' in 888ms.
Result: null

[Error - Received] 10:27:11.389 AM #3 JSON RPC cancelled

[Error - 10:27:11 AM] Request textDocument/codeAction failed.
  Message: context canceled
  Code: 0
[Trace - 10:27:11.391 AM] Received response 'textDocument/documentLink - (4)' in 732ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":15}},"target":"https://pkg.go.dev/encoding/json"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":30,"character":25},"end":{"line":30,"character":50}},"target":"https://git.apache.org/thrift.git"},{"range":{"start":{"line":34,"character":23},"end":{"line":34,"character":40}},"target":"https://golang.org/x/text"},{"range":{"start":{"line":35,"character":9},"end":{"line":35,"character":28}},"target":"https://golang.org/x/crypto"}]

[Trace - 10:27:11.392 AM] Received response 'textDocument/foldingRange - (5)' in 293ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":5,"endCharacter":7,"kind":"imports"},{"startLine":8,"startCharacter":26,"endLine":11,"endCharacter":20},{"startLine":14,"startCharacter":13,"endLine":31,"endCharacter":9},{"startLine":15,"startCharacter":59,"endLine":27,"endCharacter":14},{"startLine":18,"startCharacter":18,"endLine":25,"endCharacter":4},{"startLine":20,"startCharacter":41,"endLine":21,"endCharacter":9},{"startLine":23,"startCharacter":42,"endLine":24,"endCharacter":15},{"startLine":34,"startCharacter":13,"endLine":35,"endCharacter":119}]

[Trace - 10:27:11.392 AM] Received response 'textDocument/codeLens - (6)' in 293ms.
Result: null

[Trace - 10:27:11.411 AM] Received response 'textDocument/codeAction - (7)' in 23ms.
Result: [{"title":"Add import:  \"bytes\"","kind":"quickfix","diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: bytes"}],"edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/hakim/projects/foo/main.go"},"edits":[{"range":{"start":{"line":2,"character":8},"end":{"line":2,"character":8}},"newText":"\n\t\"bytes\""}]}]}},{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/hakim/projects/foo/main.go"},"edits":[{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":2}},"newText":"byt"},{"range":{"start":{"line":3,"character":3},"end":{"line":3,"character":3}},"newText":"s\"\n\t\"e"},{"range":{"start":{"line":3,"character":14},"end":{"line":4,"character":6}},"newText":""},{"range":{"start":{"line":4,"character":7},"end":{"line":4,"character":9}},"newText":""}]}]}}]

[Trace - 10:27:11.478 AM] Sending notification '$/setTrace'.
Params: {"value":"messages"}

[Trace - 10:27:11.478 AM] Sending notification 'workspace/didChangeConfiguration'.
Params: {"settings":null}

[Trace - 10:27:11.479 AM] Received request 'workspace/configuration - (5)'.
Params: {"items":[{"section":"gopls"}]}

[Trace - 10:27:11.485 AM] Sending response 'workspace/configuration - (5)' in 6ms.
Result: [{"ui.codelenses":{"run_govulncheck":true},"ui.diagnostic.analyses":{"nilness":true,"infertypeargs":false},"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Imports","allExperiments":true}]

[Trace - 10:27:11.485 AM] Received request 'workspace/configuration - (6)'.
Params: {"items":[{"scopeUri":"file:///Users/hakim/projects/foo","section":"gopls"}]}

[Trace - 10:27:11.490 AM] Sending response 'workspace/configuration - (6)' in 4ms.
Result: [{"ui.codelenses":{"run_govulncheck":true},"ui.diagnostic.analyses":{"nilness":true,"infertypeargs":false},"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Imports","allExperiments":true}]

[Trace - 10:27:11.564 AM] Sending notification '$/setTrace'.
Params: {"value":"messages"}

[Trace - 10:27:11.564 AM] Sending notification 'workspace/didChangeConfiguration'.
Params: {"settings":null}

[Trace - 10:27:11.564 AM] Received request 'workspace/configuration - (7)'.
Params: {"items":[{"section":"gopls"}]}

[Trace - 10:27:11.569 AM] Sending response 'workspace/configuration - (7)' in 4ms.
Result: [{"ui.codelenses":{"run_govulncheck":true},"ui.diagnostic.analyses":{"nilness":true,"infertypeargs":false},"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Imports","allExperiments":true}]

[Trace - 10:27:11.569 AM] Received request 'workspace/configuration - (8)'.
Params: {"items":[{"scopeUri":"file:///Users/hakim/projects/foo","section":"gopls"}]}

[Trace - 10:27:11.571 AM] Sending response 'workspace/configuration - (8)' in 2ms.
Result: [{"ui.codelenses":{"run_govulncheck":true},"ui.diagnostic.analyses":{"nilness":true,"infertypeargs":false},"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Imports","allExperiments":true}]

[Trace - 10:27:12.050 AM] Sending request 'textDocument/documentLink - (8)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:12.050 AM] Sending request 'textDocument/codeAction - (9)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":17}},"context":{"diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"message":"undefined: bytes","code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"severity":1,"source":"compiler"}],"triggerKind":2}}

[Trace - 10:27:12.050 AM] Sending request 'textDocument/documentSymbol - (10)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:12.051 AM] Received response 'textDocument/documentLink - (8)' in 1ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":15}},"target":"https://pkg.go.dev/encoding/json"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":30,"character":25},"end":{"line":30,"character":50}},"target":"https://git.apache.org/thrift.git"},{"range":{"start":{"line":34,"character":23},"end":{"line":34,"character":40}},"target":"https://golang.org/x/text"},{"range":{"start":{"line":35,"character":9},"end":{"line":35,"character":28}},"target":"https://golang.org/x/crypto"}]

[Trace - 10:27:12.052 AM] Received response 'textDocument/codeAction - (9)' in 2ms.
Result: [{"title":"Add import:  \"bytes\"","kind":"quickfix","diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: bytes"}],"edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/hakim/projects/foo/main.go"},"edits":[{"range":{"start":{"line":2,"character":8},"end":{"line":2,"character":8}},"newText":"\n\t\"bytes\""}]}]}},{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/hakim/projects/foo/main.go"},"edits":[{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":2}},"newText":"byt"},{"range":{"start":{"line":3,"character":3},"end":{"line":3,"character":3}},"newText":"s\"\n\t\"e"},{"range":{"start":{"line":3,"character":14},"end":{"line":4,"character":6}},"newText":""},{"range":{"start":{"line":4,"character":7},"end":{"line":4,"character":9}},"newText":""}]}]}}]

[Trace - 10:27:12.053 AM] Received response 'textDocument/documentSymbol - (10)' in 2ms.
Result: [{"name":"IndexVersion","detail":"struct{...}","kind":23,"range":{"start":{"line":8,"character":5},"end":{"line":12,"character":1}},"selectionRange":{"start":{"line":8,"character":5},"end":{"line":8,"character":17}},"children":[{"name":"Path","detail":"string","kind":8,"range":{"start":{"line":9,"character":1},"end":{"line":9,"character":17}},"selectionRange":{"start":{"line":9,"character":1},"end":{"line":9,"character":5}}},{"name":"Version","detail":"string","kind":8,"range":{"start":{"line":10,"character":1},"end":{"line":10,"character":17}},"selectionRange":{"start":{"line":10,"character":1},"end":{"line":10,"character":8}}},{"name":"Timestamp","detail":"time.Time","kind":8,"range":{"start":{"line":11,"character":1},"end":{"line":11,"character":20}},"selectionRange":{"start":{"line":11,"character":1},"end":{"line":11,"character":10}}}]},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":14,"character":0},"end":{"line":32,"character":1}},"selectionRange":{"start":{"line":14,"character":5},"end":{"line":14,"character":9}}},{"name":"data","kind":14,"range":{"start":{"line":34,"character":6},"end":{"line":35,"character":119}},"selectionRange":{"start":{"line":34,"character":6},"end":{"line":34,"character":10}}}]

[Trace - 10:27:12.174 AM] Sending notification '$/setTrace'.
Params: {"value":"messages"}

[Trace - 10:27:12.174 AM] Sending notification 'workspace/didChangeConfiguration'.
Params: {"settings":null}

[Trace - 10:27:12.175 AM] Received request 'workspace/configuration - (9)'.
Params: {"items":[{"section":"gopls"}]}

[Trace - 10:27:12.185 AM] Sending response 'workspace/configuration - (9)' in 10ms.
Result: [{"ui.codelenses":{"run_govulncheck":true},"ui.diagnostic.analyses":{"nilness":true,"infertypeargs":false},"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Imports","allExperiments":true}]

[Trace - 10:27:12.185 AM] Received request 'workspace/configuration - (10)'.
Params: {"items":[{"scopeUri":"file:///Users/hakim/projects/foo","section":"gopls"}]}

[Trace - 10:27:12.208 AM] Sending response 'workspace/configuration - (10)' in 22ms.
Result: [{"ui.codelenses":{"run_govulncheck":true},"ui.diagnostic.analyses":{"nilness":true,"infertypeargs":false},"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Imports","allExperiments":true}]

[Trace - 10:27:12.464 AM] Sending request 'textDocument/documentLink - (11)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:12.466 AM] Received response 'textDocument/documentLink - (11)' in 1ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":15}},"target":"https://pkg.go.dev/encoding/json"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":30,"character":25},"end":{"line":30,"character":50}},"target":"https://git.apache.org/thrift.git"},{"range":{"start":{"line":34,"character":23},"end":{"line":34,"character":40}},"target":"https://golang.org/x/text"},{"range":{"start":{"line":35,"character":9},"end":{"line":35,"character":28}},"target":"https://golang.org/x/crypto"}]

[Trace - 10:27:12.537 AM] Sending request 'textDocument/codeLens - (12)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:12.538 AM] Received response 'textDocument/codeLens - (12)' in 0ms.
Result: null

[Trace - 10:27:13.811 AM] Sending request 'textDocument/codeLens - (13)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:13.811 AM] Received response 'textDocument/codeLens - (13)' in 0ms.
Result: null

[Trace - 10:27:19.710 AM] Sending request 'textDocument/documentHighlight - (14)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"position":{"line":16,"character":16}}

[Trace - 10:27:19.710 AM] Received response 'textDocument/documentHighlight - (14)' in 0ms.
Result: [{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"kind":1}]

[Trace - 10:27:20.816 AM] Sending request 'textDocument/codeAction - (15)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"context":{"diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"message":"undefined: bytes","code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"severity":1,"source":"compiler"}],"triggerKind":2}}

[Trace - 10:27:20.819 AM] Received response 'textDocument/codeAction - (15)' in 3ms.
Result: [{"title":"Add import:  \"bytes\"","kind":"quickfix","diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: bytes"}],"edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/hakim/projects/foo/main.go"},"edits":[{"range":{"start":{"line":2,"character":8},"end":{"line":2,"character":8}},"newText":"\n\t\"bytes\""}]}]}},{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/hakim/projects/foo/main.go"},"edits":[{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":2}},"newText":"byt"},{"range":{"start":{"line":3,"character":3},"end":{"line":3,"character":3}},"newText":"s\"\n\t\"e"},{"range":{"start":{"line":3,"character":14},"end":{"line":4,"character":6}},"newText":""},{"range":{"start":{"line":4,"character":7},"end":{"line":4,"character":9}},"newText":""}]}]}}]

[Trace - 10:27:22.465 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","version":2},"contentChanges":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":17}},"rangeLength":5,"text":""}]}

[Trace - 10:27:22.471 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/hakim/projects/foo/main.go","version":2,"diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":12}},"severity":1,"source":"syntax","message":"expected operand, found '.'"}]}

[Trace - 10:27:22.732 AM] Sending request 'textDocument/codeLens - (16)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:22.733 AM] Received response 'textDocument/codeLens - (16)' in 0ms.
Result: null

[Trace - 10:27:22.754 AM] Sending request 'textDocument/codeAction - (17)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":12}},"context":{"diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":12}},"message":"expected operand, found '.'","severity":1,"source":"syntax"}],"triggerKind":2}}

[Trace - 10:27:22.756 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2023/06/06 10:27:22 imports fixes: AllImportsFixes: /Users/hakim/projects/foo/main.go:17:13: expected operand, found '.' (and 1 more errors)\n\tfile=\"/Users/hakim/projects/foo/main.go\"\n"}

[Error - 10:27:22 AM] 2023/06/06 10:27:22 imports fixes: AllImportsFixes: /Users/hakim/projects/foo/main.go:17:13: expected operand, found '.' (and 1 more errors)
	file="/Users/hakim/projects/foo/main.go"

[Trace - 10:27:22.759 AM] Received response 'textDocument/codeAction - (17)' in 5ms.
Result: null

[Trace - 10:27:22.840 AM] Sending request 'textDocument/foldingRange - (18)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:22.840 AM] Received response 'textDocument/foldingRange - (18)' in 0ms.
Result: []

[Trace - 10:27:22.959 AM] Sending request 'textDocument/documentSymbol - (19)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:22.960 AM] Received response 'textDocument/documentSymbol - (19)' in 0ms.
Result: [{"name":"IndexVersion","detail":"struct{...}","kind":23,"range":{"start":{"line":8,"character":5},"end":{"line":12,"character":1}},"selectionRange":{"start":{"line":8,"character":5},"end":{"line":8,"character":17}},"children":[{"name":"Path","detail":"string","kind":8,"range":{"start":{"line":9,"character":1},"end":{"line":9,"character":17}},"selectionRange":{"start":{"line":9,"character":1},"end":{"line":9,"character":5}}},{"name":"Version","detail":"string","kind":8,"range":{"start":{"line":10,"character":1},"end":{"line":10,"character":17}},"selectionRange":{"start":{"line":10,"character":1},"end":{"line":10,"character":8}}},{"name":"Timestamp","detail":"time.Time","kind":8,"range":{"start":{"line":11,"character":1},"end":{"line":11,"character":20}},"selectionRange":{"start":{"line":11,"character":1},"end":{"line":11,"character":10}}}]},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":14,"character":0},"end":{"line":32,"character":1}},"selectionRange":{"start":{"line":14,"character":5},"end":{"line":14,"character":9}}},{"name":"data","kind":14,"range":{"start":{"line":34,"character":6},"end":{"line":35,"character":119}},"selectionRange":{"start":{"line":34,"character":6},"end":{"line":34,"character":10}}}]

[Trace - 10:27:23.474 AM] Sending request 'textDocument/documentLink - (20)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:23.477 AM] Received response 'textDocument/documentLink - (20)' in 3ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":15}},"target":"https://pkg.go.dev/encoding/json"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":30,"character":25},"end":{"line":30,"character":50}},"target":"https://git.apache.org/thrift.git"},{"range":{"start":{"line":34,"character":23},"end":{"line":34,"character":40}},"target":"https://golang.org/x/text"},{"range":{"start":{"line":35,"character":9},"end":{"line":35,"character":28}},"target":"https://golang.org/x/crypto"}]

[Trace - 10:27:23.721 AM] Sending request 'textDocument/inlayHint - (21)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":36,"character":0}}}

[Trace - 10:27:23.721 AM] Received response 'textDocument/inlayHint - (21)' in 0ms.
Result: null

[Trace - 10:27:25.480 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","version":3},"contentChanges":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":12}},"rangeLength":0,"text":"s"}]}

[Trace - 10:27:25.485 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/hakim/projects/foo/main.go","version":3,"diagnostics":[{"range":{"start":{"line":4,"character":1},"end":{"line":4,"character":10}},"severity":1,"code":"UnusedImport","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UnusedImport"},"source":"compiler","message":"\"strings\" imported and not used","tags":[1]},{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: s"}]}

[Trace - 10:27:25.499 AM] Sending request 'textDocument/completion - (22)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"position":{"line":16,"character":13},"context":{"triggerKind":1}}

[Trace - 10:27:25.504 AM] Received response 'textDocument/completion - (22)' in 4ms.
Result: {"isIncomplete":true,"items":[{"label":"strings","kind":9,"detail":"\"strings\"","documentation":{"kind":"markdown","value":""},"preselect":true,"sortText":"00000","filterText":"strings","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"strings"}},{"label":"sort","kind":9,"detail":"\"sort\"","documentation":{"kind":"markdown","value":""},"sortText":"00001","filterText":"sort","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"sort"},"additionalTextEdits":[{"range":{"start":{"line":3,"character":15},"end":{"line":3,"character":15}},"newText":"\"\n\t\"sort"}]},{"label":"strconv","kind":9,"detail":"\"strconv\"","documentation":{"kind":"markdown","value":""},"sortText":"00002","filterText":"strconv","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"strconv"},"additionalTextEdits":[{"range":{"start":{"line":3,"character":12},"end":{"line":3,"character":12}},"newText":"son\"\n\t\""},{"range":{"start":{"line":3,"character":13},"end":{"line":3,"character":13}},"newText":"trc"},{"range":{"start":{"line":3,"character":15},"end":{"line":3,"character":15}},"newText":"v"}]},{"label":"sync","kind":9,"detail":"\"sync\"","documentation":{"kind":"markdown","value":""},"sortText":"00003","filterText":"sync","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"sync"},"additionalTextEdits":[{"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":8}},"newText":"s\"\n\t\""},{"range":{"start":{"line":4,"character":9},"end":{"line":4,"character":9}},"newText":"ync"}]},{"label":"syscall","kind":9,"detail":"\"syscall\"","documentation":{"kind":"markdown","value":""},"sortText":"00004","filterText":"syscall","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"syscall"},"additionalTextEdits":[{"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":8}},"newText":"s\"\n\t\"sy"},{"range":{"start":{"line":4,"character":9},"end":{"line":4,"character":9}},"newText":"call"}]},{"label":"string","kind":7,"documentation":{"kind":"markdown","value":""},"sortText":"00005","filterText":"string","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"string"}},{"label":"safefilepath","kind":9,"detail":"\"internal/safefilepath\"","documentation":{"kind":"markdown","value":""},"sortText":"00006","filterText":"safefilepath","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"safefilepath"},"additionalTextEdits":[{"range":{"start":{"line":3,"character":15},"end":{"line":3,"character":15}},"newText":"\"\n\t\"internal/safefilepath"}]},{"label":"json.SyntaxError","kind":22,"detail":"struct{...}","documentation":{"kind":"markdown","value":"A SyntaxError is a description of a JSON syntax error. Unmarshal will return a SyntaxError if the JSON can't be parsed.\n"},"sortText":"00007","filterText":"json.SyntaxError","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"json.SyntaxError"}},{"label":"strings.Builder","kind":22,"detail":"struct{...}","documentation":{"kind":"markdown","value":"A Builder is used to efficiently build a string using Write methods. It minimizes memory copying. The zero value is ready to use. Do not copy a non-zero Builder.\n"},"sortText":"00008","filterText":"strings.Builder","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"strings.Builder"}},{"label":"strings.Clone","kind":3,"detail":"func(s string) string","documentation":{"kind":"markdown","value":"Clone returns a fresh copy of s. It guarantees to make a copy of s into a new allocation, which can be important when retaining only a small substring of a much larger string. Using Clone can help such programs use less memory. Of course, since using Clone makes a copy, overuse of Clone can make programs use more memory. Clone should typically be used only rarely, and only when profiling indicates that it is needed. For strings of length zero the string \"\" will be returned and no allocation is made.\n"},"sortText":"00009","filterText":"strings.Clone","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"newText":"strings.Clone"}}]}

[Trace - 10:27:25.683 AM] Sending request 'textDocument/foldingRange - (23)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:25.684 AM] Received response 'textDocument/foldingRange - (23)' in 0ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":5,"endCharacter":7,"kind":"imports"},{"startLine":8,"startCharacter":26,"endLine":11,"endCharacter":20},{"startLine":14,"startCharacter":13,"endLine":31,"endCharacter":9},{"startLine":15,"startCharacter":59,"endLine":27,"endCharacter":14},{"startLine":18,"startCharacter":18,"endLine":25,"endCharacter":4},{"startLine":20,"startCharacter":41,"endLine":21,"endCharacter":9},{"startLine":23,"startCharacter":42,"endLine":24,"endCharacter":15},{"startLine":34,"startCharacter":13,"endLine":35,"endCharacter":119}]

[Trace - 10:27:25.735 AM] Sending request 'textDocument/codeLens - (24)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:25.735 AM] Received response 'textDocument/codeLens - (24)' in 0ms.
Result: null

[Trace - 10:27:25.751 AM] Sending request 'textDocument/codeAction - (25)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":13},"end":{"line":16,"character":13}},"context":{"diagnostics":[{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"message":"undefined: s","code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"severity":1,"source":"compiler"}],"triggerKind":2}}

[Trace - 10:27:25.832 AM] Sending request 'textDocument/documentSymbol - (26)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:25.888 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","version":4},"contentChanges":[{"range":{"start":{"line":16,"character":13},"end":{"line":16,"character":13}},"rangeLength":0,"text":"t"}]}

[Trace - 10:27:25.892 AM] Sending notification '$/cancelRequest'.
Params: {"id":25}

[Trace - 10:27:25.894 AM] Sending request 'textDocument/completion - (27)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"position":{"line":16,"character":14},"context":{"triggerKind":3}}

[Trace - 10:27:26.090 AM] Sending request 'textDocument/foldingRange - (28)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:26.141 AM] Sending request 'textDocument/codeLens - (29)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:26.142 AM] Sending request 'textDocument/codeAction - (30)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":14},"end":{"line":16,"character":14}},"context":{"diagnostics":[],"triggerKind":2}}

[Trace - 10:27:26.243 AM] Sending notification '$/cancelRequest'.
Params: {"id":26}

[Trace - 10:27:26.243 AM] Sending request 'textDocument/documentSymbol - (31)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:26.266 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","version":5},"contentChanges":[{"range":{"start":{"line":16,"character":14},"end":{"line":16,"character":14}},"rangeLength":0,"text":"r"}]}

[Trace - 10:27:26.267 AM] Sending notification '$/cancelRequest'.
Params: {"id":30}

[Trace - 10:27:26.267 AM] Sending notification '$/cancelRequest'.
Params: {"id":28}

[Trace - 10:27:26.463 AM] Sending request 'textDocument/foldingRange - (32)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:26.517 AM] Sending notification '$/cancelRequest'.
Params: {"id":29}

[Trace - 10:27:26.517 AM] Sending request 'textDocument/codeLens - (33)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:26.517 AM] Sending request 'textDocument/codeAction - (34)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":15},"end":{"line":16,"character":15}},"context":{"diagnostics":[],"triggerKind":2}}

[Trace - 10:27:26.609 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","version":6},"contentChanges":[{"range":{"start":{"line":16,"character":15},"end":{"line":16,"character":15}},"rangeLength":0,"text":"i"}]}

[Trace - 10:27:26.611 AM] Sending notification '$/cancelRequest'.
Params: {"id":34}

[Trace - 10:27:26.615 AM] Sending notification '$/cancelRequest'.
Params: {"id":32}

[Trace - 10:27:26.817 AM] Sending request 'textDocument/foldingRange - (35)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:26.904 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","version":7},"contentChanges":[{"range":{"start":{"line":16,"character":16},"end":{"line":16,"character":16}},"rangeLength":0,"text":"n"}]}

[Trace - 10:27:26.908 AM] Sending notification '$/cancelRequest'.
Params: {"id":35}

[Trace - 10:27:27.136 AM] Sending request 'textDocument/foldingRange - (36)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:27.154 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","version":8},"contentChanges":[{"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":17}},"rangeLength":0,"text":"g"}]}

[Trace - 10:27:27.161 AM] Sending notification '$/cancelRequest'.
Params: {"id":36}

[Trace - 10:27:27.413 AM] Sending request 'textDocument/foldingRange - (37)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:27.415 AM] Sending notification '$/cancelRequest'.
Params: {"id":33}

[Trace - 10:27:27.416 AM] Sending request 'textDocument/codeLens - (38)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:27.418 AM] Sending request 'textDocument/codeAction - (39)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":18},"end":{"line":16,"character":18}},"context":{"diagnostics":[],"triggerKind":2}}

[Trace - 10:27:27.568 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go","version":9},"contentChanges":[{"range":{"start":{"line":16,"character":18},"end":{"line":16,"character":18}},"rangeLength":0,"text":"s"}]}

[Trace - 10:27:27.570 AM] Sending notification '$/cancelRequest'.
Params: {"id":39}

[Trace - 10:27:27.573 AM] Sending notification '$/cancelRequest'.
Params: {"id":37}

[Trace - 10:27:27.772 AM] Sending request 'textDocument/foldingRange - (40)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:27.830 AM] Sending notification '$/cancelRequest'.
Params: {"id":38}

[Trace - 10:27:27.833 AM] Sending request 'textDocument/codeLens - (41)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:27.843 AM] Sending request 'textDocument/codeAction - (42)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":16,"character":19},"end":{"line":16,"character":19}},"context":{"diagnostics":[],"triggerKind":2}}

[Trace - 10:27:27.983 AM] Sending notification '$/cancelRequest'.
Params: {"id":31}

[Trace - 10:27:27.988 AM] Sending request 'textDocument/documentSymbol - (43)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:28.577 AM] Sending request 'textDocument/documentLink - (44)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

[Trace - 10:27:28.828 AM] Sending request 'textDocument/inlayHint - (45)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":36,"character":0}}}

[Trace - 10:27:30.682 AM] Sending request 'textDocument/codeAction - (46)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":36,"character":0}},"context":{"diagnostics":[{"range":{"start":{"line":4,"character":1},"end":{"line":4,"character":10}},"message":"\"strings\" imported and not used","code":"UnusedImport","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UnusedImport"},"severity":1,"tags":[1],"source":"compiler"},{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":13}},"message":"undefined: s","code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"severity":1,"source":"compiler"}],"only":["source.organizeImports"],"triggerKind":2}}

[Error - Received] 10:27:42.430 AM #25 context canceled

[Error - Received] 10:27:42.430 AM #26 JSON RPC cancelled

[Trace - 10:27:42.430 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2023/06/06 10:27:42 background imports cache refresh starting\n"}

[Error - 10:27:42 AM] Request textDocument/codeAction failed.
  Message: context canceled
  Code: 0
[Trace - 10:27:42.438 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/hakim/projects/foo/main.go","version":4,"diagnostics":[{"range":{"start":{"line":4,"character":1},"end":{"line":4,"character":10}},"severity":1,"code":"UnusedImport","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UnusedImport"},"source":"compiler","message":"\"strings\" imported and not used","tags":[1]},{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: st"}]}

[Info  - 10:27:42 AM] 2023/06/06 10:27:42 background imports cache refresh starting

[Trace - 10:27:42.533 AM] Received response 'textDocument/completion - (27)' in 16639ms.
Result: {"isIncomplete":true,"items":[{"label":"strings","kind":9,"detail":"\"strings\"","documentation":{"kind":"markdown","value":""},"preselect":true,"sortText":"00000","filterText":"strings","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"strings"}},{"label":"strconv","kind":9,"detail":"\"strconv\"","documentation":{"kind":"markdown","value":""},"sortText":"00001","filterText":"strconv","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"strconv"},"additionalTextEdits":[{"range":{"start":{"line":3,"character":12},"end":{"line":3,"character":12}},"newText":"son\"\n\t\""},{"range":{"start":{"line":3,"character":13},"end":{"line":3,"character":13}},"newText":"trc"},{"range":{"start":{"line":3,"character":15},"end":{"line":3,"character":15}},"newText":"v"}]},{"label":"string","kind":7,"documentation":{"kind":"markdown","value":""},"sortText":"00002","filterText":"string","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"string"}},{"label":"strings.Title","kind":3,"detail":"func(s string) string","documentation":{"kind":"markdown","value":"Title returns a copy of the string s with all Unicode letters that begin words mapped to their Unicode title case.\n\nDeprecated: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead.\n"},"sortText":"00003","filterText":"strings.Title","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"strings.Title"}},{"label":"strings.ToLower","kind":3,"detail":"func(s string) string","documentation":{"kind":"markdown","value":"ToLower returns s with all Unicode letters mapped to their lower case.\n"},"sortText":"00004","filterText":"strings.ToLower","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"strings.ToLower"}},{"label":"strings.ToLowerSpecial","kind":3,"detail":"func(c unicode.SpecialCase, s string) string","documentation":{"kind":"markdown","value":"ToLowerSpecial returns a copy of the string s with all Unicode letters mapped to their lower case using the case mapping specified by c.\n"},"sortText":"00005","filterText":"strings.ToLowerSpecial","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"strings.ToLowerSpecial"}},{"label":"storageapi","kind":9,"detail":"\"github.com/Azure/azure-sdk-for-go/profiles/2019-03-01/storage/mgmt/storage/storageapi\"","documentation":{"kind":"markdown","value":""},"sortText":"00006","filterText":"storageapi","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"storageapi"},"additionalTextEdits":[{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":0}},"newText":"\n\t\"github.com/Azure/azure-sdk-for-go/profiles/2019-03-01/storage/mgmt/storage/storageapi\"\n"}]},{"label":"storagecacheapi","kind":9,"detail":"\"github.com/Azure/azure-sdk-for-go/services/preview/storagecache/mgmt/2019-08-01-preview/storagecache/storagecacheapi\"","documentation":{"kind":"markdown","value":""},"sortText":"00007","filterText":"storagecacheapi","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"storagecacheapi"},"additionalTextEdits":[{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":0}},"newText":"\n\t\"github.com/Azure/azure-sdk-for-go/services/preview/storagecache/mgmt/2019-08-01-preview/storagecache/storagecacheapi\"\n"}]},{"label":"storagesync","kind":9,"detail":"\"github.com/Azure/azure-sdk-for-go/profiles/latest/storagesync/mgmt/storagesync\"","documentation":{"kind":"markdown","value":""},"sortText":"00008","filterText":"storagesync","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"storagesync"},"additionalTextEdits":[{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":0}},"newText":"\n\t\"github.com/Azure/azure-sdk-for-go/profiles/latest/storagesync/mgmt/storagesync\"\n"}]},{"label":"storsimpleapi","kind":9,"detail":"\"github.com/Azure/azure-sdk-for-go/services/storsimple8000series/mgmt/2017-06-01/storsimple/storsimpleapi\"","documentation":{"kind":"markdown","value":""},"sortText":"00009","filterText":"storsimpleapi","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":14}},"newText":"storsimpleapi"},"additionalTextEdits":[{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":0}},"newText":"\n\t\"github.com/Azure/azure-sdk-for-go/services/storsimple8000series/mgmt/2017-06-01/storsimple/storsimpleapi\"\n"}]}]}

[Error - Received] 10:27:42.533 AM #28 JSON RPC cancelled

[Error - Received] 10:27:42.533 AM #30 JSON RPC cancelled

[Error - Received] 10:27:42.533 AM #31 JSON RPC cancelled

[Error - Received] 10:27:42.533 AM #29 JSON RPC cancelled

[Error - Received] 10:27:42.534 AM #32 JSON RPC cancelled

[Error - Received] 10:27:42.534 AM #34 JSON RPC cancelled

[Error - Received] 10:27:42.534 AM #33 JSON RPC cancelled

[Error - Received] 10:27:42.535 AM #35 JSON RPC cancelled

[Trace - 10:27:42.535 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/hakim/projects/foo/main.go","version":5,"diagnostics":[]}

[Error - Received] 10:27:42.536 AM #37 JSON RPC cancelled

[Error - Received] 10:27:42.537 AM #36 JSON RPC cancelled

[Error - Received] 10:27:42.537 AM #38 JSON RPC cancelled

[Trace - 10:27:42.537 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/hakim/projects/foo/main.go","version":7,"diagnostics":[]}

[Error - Received] 10:27:42.537 AM #39 JSON RPC cancelled

[Trace - 10:27:42.538 AM] Received response 'textDocument/foldingRange - (40)' in 14765ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":5,"endCharacter":7,"kind":"imports"},{"startLine":8,"startCharacter":26,"endLine":11,"endCharacter":20},{"startLine":14,"startCharacter":13,"endLine":31,"endCharacter":9},{"startLine":15,"startCharacter":59,"endLine":27,"endCharacter":14},{"startLine":18,"startCharacter":18,"endLine":25,"endCharacter":4},{"startLine":20,"startCharacter":41,"endLine":21,"endCharacter":9},{"startLine":23,"startCharacter":42,"endLine":24,"endCharacter":15},{"startLine":34,"startCharacter":13,"endLine":35,"endCharacter":119}]

[Trace - 10:27:42.538 AM] Received response 'textDocument/codeLens - (41)' in 14705ms.
Result: null

[Trace - 10:27:42.543 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/hakim/projects/foo/main.go","version":9,"diagnostics":[]}

[Trace - 10:27:42.546 AM] Received response 'textDocument/codeAction - (42)' in 14702ms.
Result: null

[Trace - 10:27:42.546 AM] Received response 'textDocument/documentSymbol - (43)' in 14558ms.
Result: [{"name":"IndexVersion","detail":"struct{...}","kind":23,"range":{"start":{"line":8,"character":5},"end":{"line":12,"character":1}},"selectionRange":{"start":{"line":8,"character":5},"end":{"line":8,"character":17}},"children":[{"name":"Path","detail":"string","kind":8,"range":{"start":{"line":9,"character":1},"end":{"line":9,"character":17}},"selectionRange":{"start":{"line":9,"character":1},"end":{"line":9,"character":5}}},{"name":"Version","detail":"string","kind":8,"range":{"start":{"line":10,"character":1},"end":{"line":10,"character":17}},"selectionRange":{"start":{"line":10,"character":1},"end":{"line":10,"character":8}}},{"name":"Timestamp","detail":"time.Time","kind":8,"range":{"start":{"line":11,"character":1},"end":{"line":11,"character":20}},"selectionRange":{"start":{"line":11,"character":1},"end":{"line":11,"character":10}}}]},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":14,"character":0},"end":{"line":32,"character":1}},"selectionRange":{"start":{"line":14,"character":5},"end":{"line":14,"character":9}}},{"name":"data","kind":14,"range":{"start":{"line":34,"character":6},"end":{"line":35,"character":119}},"selectionRange":{"start":{"line":34,"character":6},"end":{"line":34,"character":10}}}]

[Trace - 10:27:42.548 AM] Received response 'textDocument/documentLink - (44)' in 13971ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":15}},"target":"https://pkg.go.dev/encoding/json"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":30,"character":25},"end":{"line":30,"character":50}},"target":"https://git.apache.org/thrift.git"},{"range":{"start":{"line":34,"character":23},"end":{"line":34,"character":40}},"target":"https://golang.org/x/text"},{"range":{"start":{"line":35,"character":9},"end":{"line":35,"character":28}},"target":"https://golang.org/x/crypto"}]

[Trace - 10:27:42.548 AM] Received response 'textDocument/inlayHint - (45)' in 13720ms.
Result: null

[Trace - 10:27:42.549 AM] Received response 'textDocument/codeAction - (46)' in 11867ms.
Result: null

[Trace - 10:27:42.572 AM] Sending request 'textDocument/completion - (47)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"position":{"line":16,"character":19},"context":{"triggerKind":3}}

[Trace - 10:27:42.611 AM] Sending request 'textDocument/formatting - (48)'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"},"options":{"tabSize":4,"insertSpaces":false}}

[Trace - 10:27:42.674 AM] Received response 'textDocument/completion - (47)' in 101ms.
Result: {"isIncomplete":true,"items":[{"label":"strings","kind":9,"detail":"\"strings\"","documentation":{"kind":"markdown","value":""},"preselect":true,"sortText":"00000","filterText":"strings","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":19}},"newText":"strings"}},{"label":"strings.Split","kind":3,"detail":"func(s string, sep string) []string","documentation":{"kind":"markdown","value":"Split slices s into all substrings separated by sep and returns a slice of the substrings between those separators.\n\nIf s does not contain sep and sep is not empty, Split returns a slice of length 1 whose only element is s.\n\nIf sep is empty, Split splits after each UTF-8 sequence. If both s and sep are empty, Split returns an empty slice.\n\nIt is equivalent to SplitN with a count of -1.\n\nTo split around the first instance of a separator, see Cut.\n"},"sortText":"00001","filterText":"strings.Split","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":19}},"newText":"strings.Split"}},{"label":"strings.SplitAfter","kind":3,"detail":"func(s string, sep string) []string","documentation":{"kind":"markdown","value":"SplitAfter slices s into all substrings after each instance of sep and returns a slice of those substrings.\n\nIf s does not contain sep and sep is not empty, SplitAfter returns a slice of length 1 whose only element is s.\n\nIf sep is empty, SplitAfter splits after each UTF-8 sequence. If both s and sep are empty, SplitAfter returns an empty slice.\n\nIt is equivalent to SplitAfterN with a count of -1.\n"},"sortText":"00002","filterText":"strings.SplitAfter","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":19}},"newText":"strings.SplitAfter"}},{"label":"strings.SplitAfterN","kind":3,"detail":"func(s string, sep string, n int) []string","documentation":{"kind":"markdown","value":"SplitAfterN slices s into substrings after each instance of sep and returns a slice of those substrings.\n\nThe count determines the number of substrings to return:\n\n\tn \u003e 0: at most n substrings; the last substring will be the unsplit remainder.\n\tn == 0: the result is nil (zero substrings)\n\tn \u003c 0: all substrings\n\nEdge cases for s and sep (for example, empty strings) are handled as described in the documentation for SplitAfter.\n"},"sortText":"00003","filterText":"strings.SplitAfterN","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":19}},"newText":"strings.SplitAfterN"}},{"label":"stringslice","kind":9,"detail":"\"github.com/hashicorp/consul/lib/stringslice\"","documentation":{"kind":"markdown","value":""},"sortText":"00004","filterText":"stringslice","insertTextFormat":2,"textEdit":{"range":{"start":{"line":16,"character":12},"end":{"line":16,"character":19}},"newText":"stringslice"},"additionalTextEdits":[{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":0}},"newText":"\n\t\"github.com/hashicorp/consul/lib/stringslice\"\n"}]}]}

[Trace - 10:27:42.675 AM] Received response 'textDocument/formatting - (48)' in 64ms.
Result: []

[Trace - 10:27:42.808 AM] Sending notification 'textDocument/didSave'.
Params: {"textDocument":{"uri":"file:///Users/hakim/projects/foo/main.go"}}

Thanks for the report, and logs.
I am suspicious of goimports fix time.
Is this reproducible?

@hyangah are you still encountering this?

I can't reproduce this either. The line/col in the log seems to indicate a completion of the package name "strings", and this operation got stuck for 16.6s, which I guess is why Rob suspects goimports.

I cannot reproduce this (both with v0.12.1 and v0.12.4). Closing.


Windows Server 2012 R2- .NET 4.5 error

I have created a new VM in Azure and followed these steps.
However, when installing OWA 2013 with SP1, I receive this error:
Setup is unable to proceed due to the following error(s):
This product requires Microsoft .NET Framework 4.5.
Correct the issue(s) listed above and re-run setup.
The only way appears to be to remove .NET 4.5, but that removes the GUI of Windows. Then you do some hokey install stuff and re-enable the GUI. Is this the only way?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8d9b2a5b-0d14-1684-ece7-0e50b23316ad
Version Independent ID: d8b1599c-6164-b7a9-983a-f281f3df86a7
Content: Deploy Office Web Apps Server
Content Source: OfficeWebAppsServer/deploy-office-web-apps-server.md
Product: office-web-app-server
GitHub Login: @mikeplum
Microsoft Alias: mikeplum

I skipped OWA and with OOS for my Azure Win2kR2 VM. Got the ISO from https://my.visualstudio.com/downloads?wt.mc_id=o~msft~devcom~resources

Unfortunately OOS/OWA isn't supported in Azure VMs, for more details:
https://support.office.com/en-us/article/office-web-apps-and-office-online-server-supportability-in-azure-and-other-iaas-providers-61eb97b6-f83e-4852-bfe8-727b52d884dd
So for testing, Azure VMs would be ok but technically not supported.
Otherwise possibilities are .NET Framework 4.6 updates can trip up the install, for example:
For .NET Framework 4.6.1 KB: KB3102467
For .NET Framework 4.6  KB: KB3045563


Feature request: integrate gokart in golangci-lint

We use golangci-lint to unify the linters that we run against our Go codebase. Some of the benefits is that it is faster than running the tools independently, and the output format is consistent, allowing us to pass the results to further tools such as Sonar. An other advantage for the gokart project is that it would increase exposure to it as golangci-lint has decent following.
This is the project page for golangci-lint:

https://golangci-lint.run

Hi @sodul thanks for taking GoKart out for a spin and for the suggestion!
Out of curiosity, which of the linters here  do you find to be the most useful?  Do you think we risk losing the impact of real security findings by lumping them together with the other linters?  Do you use this linter in your ide or just in a CI/CD pipeline?  Would you block the build / deployment in some way on failures?  We're quite curious how people would want to consume this tool so you're feedback is super helpful.
We're starting to focus on some core analysis enhancements this week and then looking at some potential integrations so we'll keep this in mind.

Hi @isp1r0,
We use goloang-ci-lint as part of our CI pipeline on every commit. We do use go vet strictly but in a bit of a more relaxed manner for golang-ci-lint. We have it generate a report file that we then have SonarCloud import. All the issues flagged are then marked as Bugs (sonar is not flexible on the categories), which are forced to be reviewed. Sonar then lest us mark the entries as false positive or we create an entry in our bug tracking system to address it later, or our developers fix the code issue right away.
The linters we use today are: deadcode, errcheck, staticcheck, ineffassign, typecheck. That said we have not revisited that list recently and will probably add more as more linters are added, or improved, in golang-ci-lint.

Also wanted to add that I find linter aggregators to just make life way easier in general. Having one way to run all linters (in parallel, with caching!) removes a huge weight off my shoulders.
Adding gokart to a lint runner will probably also get more people to notice it, if that's something you'd be interested in.
Maybe golangci-lint isn't the right fit, but integrating with existing tools is really helpful for people who don't want to install tons of tools and add a bunch of makefile-entries/config files to their repos.

Any updates?


Spotter: add a stencil that creates a dropdown button with a spotter

Opening Spotter in a dropdown requiere many lines of code. We want to make it cheap.

it is much better now:
Object>>#gtActionSearchFor: anAction
	<gtAction>
	| fakeStep |
	fakeStep := GtSpotter new newStep origin: self.
	self gtSpotterProcessorsFor: fakeStep.
	fakeStep processors isEmpty
		ifTrue: [ ^ anAction noAction ].
	^ anAction explicit
		stencil: [ GtSpotterDropdownButtonStencil new
			object: self;
			actOn: [ :anActOnEvent :anItem :aButton |
				aButton phlow spawnObject: anItem.
				anActOnEvent beActed ] ]


[NFC] Update readme & copyrights

Pull Request Description

Drop a note in the readme about Python 3.8 support as a result from #681
Update recently touched files to bump the copyright to 2022 (A result from #681 and #687)

This is a non-functional change and does not affect any logic in the codebase

@swift-ci test


remove unused code

Current coverage is 45.63% (diff: 100%)

Merging #175 into master will increase coverage by 1.04%

@@             master       #175   diff @@
==========================================
  Files            16         16
  Lines          8950       8925    -25
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3991       4073    +82
+ Misses         3929       3818   -111
- Partials       1030       1034     +4

Powered by Codecov. Last update 0408ecc...86b5b7a

LGTM


Requires Python>=3.7

Stack from ghstack:

-> #199

@nivekt has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

test failure looks relevant?


Fix Parallel BVH construction on GPUs due to incoherent L1 cache

Summary
Adds a call to __threadfence_system() in the propagate_aabbs() method which does a bottom-up  parallel construction of the BVH. The memory fence ensures that when a thread computes and stores a parent to global memory, the write  is observed by all threads in the system.
This fix currently only applies to NVIDIA GPUs where the bug was observed due to the incoherent L1 cache on NVIDIA GPUs.
Resolves #307

Thanks @gzagaris!
Have you verified that this fixes the issue in #249 ?

@bmhan12 is going to confirm. Based on the observations in #249, I believe this will fix the issue.

They only thing I might change is adding SPIN in front of BVH_THREAD_FENCE_SYSTEM. Otherwise, lgtm.

Thanks @mclarsen -- Note, I am undefing the macro at after the end of the propagate_aabbs function, but, I like your suggestion.

LGTM! I've verified this fixes the issue I was seeing in #249. Thanks @gzagaris !

Good to hear!

Thanks for verifying @bmhan12


Running python -m robot.run gives No module named robot error

I'm trying to install Robot Framework on a new Mac. I installed Python2.7 --framework and wxmac3.0 with Homebrew, and used pip to install robotframework. I get this error when trying to run robot:
$ python -m robot.run
/usr/bin/python: No module named robot
Tried adding a specific path and --version, not sure what is going on. I'm not sure if it's an issue with wxmac3.0? Not sure if it's a good idea to go back to 2.9 or if that will even fix it.

I am getting same issue when i running command

robot test.robot
\miniconda3\python.exe: No module named robot.run

only thing I changed is i deleted some extra conda env.

I updated the script miniconda3\Scripts\robot.bat to forcely find the run.py changing script.  As i got frustrated with this issue. It worked for me to run the robot tests.
*@echo off
cd c:\users\ume\application\miniconda3\Lib\site-packages
python -m robot.run % **

@Umesh2Patel You may have encountered a variation of #2529. That problem shouldn't occur anymore with RF 3.1 when we use robot.exe instad of robot.bat (#2415 ).


Cleanup the base OE config items

This pull request is based on request #234
It was noticed that a number of overc distribution settings conflicted with the current values from OE-core.  This conflicting could cause other problems with system components not working in a reliable way.  It's recommended by the community that only the OE version of these settings be used.
One note, when this is applied, the surrounding overc configuration components (another layer) may need their local.conf/bblayer.conf files updated to match the current version and syntax.

merged


A11y_SQLAzureDataStudio_ConnectToASQLServer_AdvancedProperties_ScreenReader: Focus order while navigating the scrollable content is improper due to which all content present is not read by screen reader.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11yMAS;#A11yTCS;#SQL Azure Data Studio;#DesktopApp;#MacOs;#Benchmark;#A11y_SQLAzureDataStudiobenchmark;#A11ySev2;#MAS1.3.1;#MAS2.4.3
Environment Details:
Application Name: Azure Data Studio
Version: 1.15.0-insider
Commit: 3a8b74a
Date: 2020-02-11T05:49:41.181Z
VS Code: 1.42.0
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.3.0
Mac OS:10.15.3
Additional Details:
Screen reader: Voice Over
MAS reference: MAS1.3.1,MAS2.4.3
Mac OS:10.15.3
Repro Steps:
1.Launch Azure Data Studio.
2.Select the Connections icon (if not already selected) from left bar.
3.Hover over the 'Servers' header and select the 'New Connection' icon.
4.Navigate till Advanced button under Connection details & hit enter.
5.Launch Voice Over screen reader.
6.Check if all the data present on the screen is been read by screen reader.
Actual:
When we navigate through the information that is present on advanced properties screen, the content which is visible when we scroll the content is not been read by JAWS screen reader.
Expected:
All the content that is present on the screen should be read by the screen reader.
User Impact:
Users might receive less information as all the content present on the screen is not accessible for keyboard as well as screen reader users.
Attachment link reference:
9470_A11y_SQLAzureDataStudio_ConnectToASQLServer_AdvancedProperties_ScreenReader Focus order while navigating the scrollable content is improper due to which all content present is not read by screen reader..zip

Dupe of #9407

Verified the bug in below environment:
Version: 1.41.1 (Universal)
Commit: 33dce95b152227c4f10f6251ab30690fe9895c0c
Date: 2023-01-28T00:49:19.454Z
VS Code: 1.67.0
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.3.0
issue is fixed hence adding #Closed; tag.

GitHubTags:#BM-TCS-SQLADS-MAC-Feb2020;


feat(data/list): join_eq_nil, join_repeat_nil

TO CONTRIBUTORS:
Make sure you have:

[x] reviewed and applied the coding style: coding, naming
[x] make sure definitions and lemmas are put in the right files
[x] make sure definitions and lemmas are not redundant

Looks good to me!


Refactor Fetching Images

get rid of chrome webrequest
https://medium.com/front-end-hacking/fetching-images-with-the-fetch-api-fb8761ed27b2

done


feat(Android): add support for detecting grayscale mode enabled on android

Summary:
On android the isGrayScaleEnabled method of AccessibilityInfo always returns false due to missing implementation. This PR fills the gap by providing the native module logic for checking grayscale mode.
Changelog:

Added native module code to check for grayscale mode on android
Updated js accessibility info module  to return the correct promise instead of default false for isGrayScaleEnabled()
Moved the test for isGrayScaleEnabled() out of ios scope to common Android and iOS scope

[ANDROID] [ADDED] - logic to check for grayscale mode on android
Test Plan:
Tested on :

Google Pixel 7 Pro (Android 14)
OnePlus 12 (Android 14)
Pixel 6 (Android 15)

@cortinico
PR to improve platform parity between Android and iOS. Would be great if you can review the changes 🙏🏾

Anything that needs to be done here from my end ? 🤔


ApplicationInsights telemetry doesn't seem to be fully integrated in Visual Studio

:wave: Hello, when configuring an azure function as described in https://github.com/Azure/azure-functions-dotnet-worker/issues/1182#issuecomment-1317230604, raw telemetry data is indeed displayed in the VisualStudio output window.
However, it doesn't show up in the integrated ApplicationInsights viewer integrated in Visual Studio (cf. https://learn.microsoft.com/en-us/azure/azure-monitor/app/visual-studio#application-insights-search).
Am I missing something obvious or is this integration still missing?

Thanks for raising this, @nulltoken
We'll take a closer look to better understand what is happening here and provide an update when we have information.

@nulltoken can you share a repro and/or the steps you're following to test this?

@fabiocav Thanks for the answer.
I'll prepare a quick repro repository in the following days and will ping back.

@fabiocav Here you are.

Clone https://github.com/nulltoken/azure-functions-dotnet-worker-issue-1282
Open the solution
Run F5
Navigate to http://localhost:7159/api/StartHelloCitiesUntyped
Open up "Application Insights Search" window from within VS

This is what I see

Note: this repro also includes an external http call

I have this same issue. Functions .NET 7, isolated mode. Application Insights data is sent from local machine to the ingester and is visible in the Azure portal. But the "local debug session" in the Application Insights Search panel in Visual Studio does not pick up anything and is always empty.

Duplicate of #439


fix: post-hook install failed

Fix #137
Signed-off-by: Abirdcfly<EMAIL_ADDRESS>

@Abirdcfly how this pr fix the post-hook issue?

how this pr fix the post-hook issue?

build right genericclioptions.RESTClientGetter by using raw config which can see that CRD is installed in the cluster.


console: add initial draft of Values struct

This commit adds the initial go version of the console helm chart's values.yaml. The typing is primarily based off values.yaml, what can be cleaned from the chart, and the json schema. A test has been added to ensure that values.yaml and the struct are YAML/JSON compatible.
A few minor changes have been made to the values.yaml file to ease the typing consistency.

topologySpreadConstraints is treated as a slice in the chart but defaults to an empty dict. It is now an empty slice.
livenessProbe.initialDelaySeconds defaults to 0 but the underlying Kubernetes type specifies omitempty. It's defaulting has been moved to runtime to match the marshaling behavior.

Note to me: Need to update the partial values and there's a tiny bug in genpartial that mucks up tags if omitempty is specified in the target struct 🤔


Added OnReadyFind

Probably not the cleanest implementation and it still needs some nullability checking. I'm only using FindNode because my project is an Application and it mostly consists of Controls and using GetNode is a headache because I have to move nodes around all the time. I'v pushed this as a Draft just until the cleanup and the nullability checking, otherwise it working perfectly 💪. You can either point out the changes you want me to make or take it yourself from there 🙌

Thanks! Sorry for taking a while to get back to this. After reading through, I had a few things in mind that I ended up doing in an impl I ended up writing: https://github.com/31/GodotOnReady/pull/39

Make OnReadyFindAttribute based on OnReadyGetAttribute to inherit all its features.
Delete OnReadyGetNodePropertyAddition to flatten the hierarchy a little.
Delete .Where(a => Equal(a.AttributeClass, onReadyGetSymbol)) to avoid double-checking the attribute type in the body of the loop.
Keep the OnReadyFindAttribute values with defaults of false to make docs clearer and code a little simpler.

If you have some time to give https://github.com/31/GodotOnReady/pull/39 a try to poke some holes in it and/or make some suggestions on it, I'd appreciate it! If not, I'll make a new release in a few days, and can try it out there. 🙂

Works great @31 ! Thank you 🙌


Apply multiple resources at once

This patch allows the editor to apply multiple resources at once and also shows docs for all the available resources
fixes #737
fixes #712

I have noticed that with these changes, if you switch to the docs tab, the dialog shrinks vertically. This is more evident when not having any resource defined, in which case it also doesn't show an error message:


Marketplace category "Languages" changed to "Programming Languages"

The Marketplace has changed the "Languages" category to "Programming Languages" (to differentiate the category from "Language Packs")
The vscode extension package.json schema needs to be updated,  (src\vs\workbench\services\extensions\common\extensionsRegistry.ts) as well as the vscode-generator-code ext-language template.
There may be other changes required.

Should it be fixed for 1.22 @gregvanl?

I pushed some changes to master (1.23).
Now there's a validation error if you still use 'Languages' in categories.
So for a better user experience, we should push the change to 1.22 as well.
I will update the vscode-generator-code as soon as the change is in a stable build.

I pushed a improvement that 'Languages' get a deprecated warning (not an error). So no need to rush this in 1.22.

Also pushed changes to our yeoman generator.
Marking as fixed. @gregvanl Do you coordinate the other changes?
That's what I imagine:
In the marketplace: Covert all published extensions that use 'Languages' to use 'Programming Languages'
Give good error feedback when trying to publish an extension still using 'Languages'

@aeschli I having been coordinating this, I just heard from @seanmcbreen about the change with respect to the docs and figured we'd need to change the product to match.

Verifiers:
Create an extension that uses the old keyword ('Languages') and verify that you get a warning.


feat (format): Introduce buf

Reason for this PR
Introduce using of buf-tool
What changes are included in this PR?
Actual changes are related to the following files:

all the files in format
buf.yaml
buf.gen.yaml

Are these changes tested?
.
Are there any user-facing changes?
.

@acezen May you make a look please?
To generate files do the following:

Install protoc if you don't have it: https://grpc.io/docs/protoc-installation/
Install buf (>=1.32) if you don't have it: https://buf.build/docs/installation
From the root of the project run buf generate

It creates:

Java classes in maven-projects/info/src/main/java/org/apache/grarphar/info/proto
Cpp classes in cpp/src/proto (I have no understanding where to place them, I'm not a cpp person and I need ur help here)
Python files in pyspark/graphar_pyspark/proto

Using of buf v2 is questionable because it was introduced only in the latest version. Anyway, I see no benefits of v1 because we will need to migrate sooner or later

@acezen May you make a look please?
To generate files do the following:

Install protoc if you don't have it: https://grpc.io/docs/protoc-installation/
Install buf (>=1.32) if you don't have it: https://buf.build/docs/installation
From the root of the project run buf generate

It creates:

Java classes in maven-projects/info/src/main/java/org/apache/grarphar/info/proto
Cpp classes in cpp/src/proto (I have no understanding where to place them, I'm not a cpp person and I need ur help here)
Python files in pyspark/graphar_pyspark/proto

I think the cpp classes may puts to cpp/proto is better.

@acezen May you make a look please?
To generate files do the following:

Install protoc if you don't have it: https://grpc.io/docs/protoc-installation/
Install buf (>=1.32) if you don't have it: https://buf.build/docs/installation
From the root of the project run buf generate

It creates:

Java classes in maven-projects/info/src/main/java/org/apache/grarphar/info/proto
Cpp classes in cpp/src/proto (I have no understanding where to place them, I'm not a cpp person and I need ur help here)
Python files in pyspark/graphar_pyspark/proto

I think the cpp classes may puts to cpp/proto.

Hi, Sem, I think we can merge this change and I would update the cpp related configuratio.