Open sqs opened 3 years ago
Heads up @macraig - the "team/code-intelligence" label was applied to this issue.
Looked into it: currently behaving as expected. That said, the expected behavior should be changed to match intuition. Addressing both points of your issue:
You're getting Partial semantic
results instead of Semantic
results as either the hover text or the definition location is not precise. Usually you'll get Search-based
(completely imprecise) or Precise
(completely precise) results except for indexers that emit hover text for remote symbols (yes for Go, no for Java) and we don't have a full commit graph.
Should this issue be closed? When I open the link now, I can only see the single "semantic" result from the sourcegraph/sourcegraph repository.
Clicking on the "Mix precise and search-based results" button brings back the search-based results. It's a bit confusing that the label says "semantic" while the button says "precise". I believe we're settling on "precise" as the official term so we may want to consider updating the "semantic" label (cc/ @macraig )
@tjdevries Is this fixed by https://github.com/sourcegraph/lsif-go/issues/187?
At https://sourcegraph.com/github.com/cortexproject/cortex@b4af68a8994a863875edf594a0a4c26b263772fa/-/blob/pkg/chunk/cache/background.go?L29:16#tab=references (which is in a repo that is auto-indexed), there are several Go code intel issues:
WaitGroup
.sync.WaitGroup
even though there should be many.I am not blocked on this specifically, so don't make this urgent because of me. I am curious to know why it is broken, though, and if this is a widespread issue.