sourcegraph/cmd/executor/internal/worker
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
..
cmdlogger bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
command bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
files bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
runner bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
runtime bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
workspace chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
handler_test.go all: use observation.TestContextTB instead of TestContext (#61751) 2024-04-10 14:07:39 +02:00
handler.go executor: Add audit log mode (#59780) 2024-02-07 15:59:27 -08:00
mocks_test.go Move executor to cmd/executor (#55700) 2023-08-10 02:06:12 +02:00
worker.go executor: Add audit log mode (#59780) 2024-02-07 15:59:27 -08:00