Cross-repo LSIF: multiple repositories export symbols for the same `packageInformation` node
Created by: olafurpg
- Sourcegraph version: v3.27.5
- Platform information: sourcegraph.com
Steps to reproduce:
- Upload LSIF index for repository jdk/8 that exports monikers
java/lang/Stringandjavax/activation/DataHandleragainstpackageInformation: jdk/8 - Upload LSIF index for repository maven/javax.activation that exports monikers
javax/activation/DataHandleragainstpackageInformation: jdk/8 - Upload LSIF index for repository netflix/hystrix that references the moniker
java/lang/StringinpackageInformation: jdk/8 - Goto definition against
java/lang/Stringin the netflix/hystrix repository
Expected behavior:
Definition goes to the jdk/8 repository.
Actual behavior:
No definition is found. The behavior works as expected if we delete the index from step 2.
If the maven/javax.activation repository exported java/lang/String against jdk/8 then I would expect Sourcegraph to display two definition results.