Skip to content

pkg/store: corrupted tars from git are ignored

Administrator requested to merge search/error-invalid-header into master

Created by: keegancsmith

In some cases gitserver would return a corrupted archive. It seems this would be an ephemeral issue. This would cause searches to fail. However, it should be treated as a temporary error. This change ensures the failure is marked as temporary, leading to the graphql layer to not fail the full search.

Test plan: unit tests, forcing corrupted error (like the test) and running a search in dev mode.

Fixes https://github.com/sourcegraph/sourcegraph/issues/3799

Merge request reports

Loading