sourcegraph/internal/codeintel/codenav/shared
Varun Gandhi c92dc0f31a
fix: Check (uploadID, path) pairs in bulk (#63485)
Fixes https://linear.app/sourcegraph/issue/GRAPH-700

Previously, there were two code paths which were checking if certain
upload IDs containing a specific repo-relative path. One was using the
better GetPathExists API, the another one that I recently added was
much more stupid, it was deserializing the full SCIP Document.

However, using `GetPathExists` in a loop is also not great; we should
push the loop into the database. This patch replaces both of those usage
sites with a single function that handles bulk filtering, and replaces
the `GetPathExists` lsifstore method with `FindDocumentIDs`.
2024-06-28 16:31:54 +08:00
..
BUILD.bazel chore(codeintel): Differentiate between paths relative to upload root vs repo root (#63437) 2024-06-24 20:27:26 +08:00
types.go fix: Check (uploadID, path) pairs in bulk (#63485) 2024-06-28 16:31:54 +08:00