sourcegraph/internal/codeintel/codenav
Varun Gandhi 2955bb6cfb
chore: Change errors.HasType to respect multi-errors (#63024)
With this patch, the `errors.HasType` API behaves similar to `Is` and `As`,
where it checks the full error tree instead of just checking a linearized version
of it, as cockroachdb/errors's `HasType` implementation does not respect
multi-errors.

As a consequence, a bunch of relationships between HasType and Is/As that
you'd intuitively expect to hold are now true; see changes to `invariants_test.go`.
2024-06-06 13:02:14 +00:00
..
internal/lsifstore chore(codeintel): Simplify map[int]struct{} logic to use Set (#63061) 2024-06-04 08:33:18 +02:00
shared bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
transport/graphql chore: Simplify RequestState/PositionalRequestArgs o11y code (#63040) 2024-06-04 18:08:48 +08:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
commit_cache.go chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
gittree_translator_test.go Consolidate DiffPath and Diff methods (#61600) 2024-04-16 13:23:07 +02:00
gittree_translator.go gitserver: Migrate Diff to gRPC call (#61938) 2024-04-18 15:14:14 +02:00
iface.go chore: Document post-condition for upload matching (#62529) 2024-05-08 16:14:30 +01:00
init.go codeintel: consolidate enterprise & oss codeintel packages (#54431) 2023-07-05 14:58:41 +01:00
mocks_test.go chore: Group upload matching options into struct (#62335) 2024-05-03 09:14:34 +01:00
observability.go cleanup: Remove 'Dump' terminology from backend (#61131) 2024-03-15 10:30:18 +08:00
request_state.go chore: Simplify RequestState/PositionalRequestArgs o11y code (#63040) 2024-06-04 18:08:48 +08:00
service_closest_uploads_test.go fix: Correctly filter uploads with commit and path existence checks (#62415) 2024-05-08 18:28:13 +08:00
service_definitions_test.go chore: Remove dead code (#57083) 2023-10-03 17:34:51 -05:00
service_diagnostics_test.go all: use observation.TestContextTB instead of TestContext (#61751) 2024-04-10 14:07:39 +02:00
service_hover_test.go all: use observation.TestContextTB instead of TestContext (#61751) 2024-04-10 14:07:39 +02:00
service_new_test.go chore: Make GetDefinitions API consistent with GetReferences etc. (#63056) 2024-06-04 17:31:02 +08:00
service_new.go chore: Simplify RequestState/PositionalRequestArgs o11y code (#63040) 2024-06-04 18:08:48 +08:00
service_ranges_test.go gitserver: Migrate Diff to gRPC call (#61938) 2024-04-18 15:14:14 +02:00
service_references_test.go chore: Remove dead code (#57083) 2023-10-03 17:34:51 -05:00
service_snapshot_test.go Consolidate DiffPath and Diff methods (#61600) 2024-04-16 13:23:07 +02:00
service_stencil_test.go all: use observation.TestContextTB instead of TestContext (#61751) 2024-04-10 14:07:39 +02:00
service_test.go Separate database package mocks to dbmocks package (#55778) 2023-08-14 10:48:45 +02:00
service.go chore: Simplify RequestState/PositionalRequestArgs o11y code (#63040) 2024-06-04 18:08:48 +08:00
types.go chore: Simplify RequestState/PositionalRequestArgs o11y code (#63040) 2024-06-04 18:08:48 +08:00
utils.go cleanup: Remove 'Dump' terminology from backend (#61131) 2024-03-15 10:30:18 +08:00