Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

insights: update empty repo error handling in commit indexer#44558

Merged
leonore merged 7 commits into
mainfrom
leo/empty-repo-compression
Nov 18, 2022
Merged

insights: update empty repo error handling in commit indexer#44558
leonore merged 7 commits into
mainfrom
leo/empty-repo-compression

Conversation

@leonore

@leonore leonore commented Nov 17, 2022

Copy link
Copy Markdown
Contributor

while running tests on scaletesting found that we were erroring on empty repos again even though it should have been fixed by #38091. turns out sub repo permissions are enabled on the env and the git command changes in those cases.

tldr; account for --name-only option

Test plan

Added and updated unit tests

@leonore leonore requested a review from a team November 17, 2022 16:02
@cla-bot cla-bot Bot added the cla-signed label Nov 17, 2022
@leonore leonore changed the title insights: update empty repo error handling in compression worker insights: update empty repo error handling in commit indexer Nov 17, 2022
@sourcegraph-bot

sourcegraph-bot commented Nov 17, 2022

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff fb922dd...fae19bf.

Notify File(s)
@indradhanush internal/gitserver/commands_test.go
@ryanslade internal/gitserver/commands_test.go
@sashaostrikov internal/gitserver/commands_test.go
@sourcegraph/code-insights-backend enterprise/internal/insights/compression/worker.go
enterprise/internal/insights/compression/worker_test.go

Comment thread enterprise/internal/insights/compression/worker.go Outdated
@leonore leonore force-pushed the leo/empty-repo-compression branch from 91b3a5c to 092a24e Compare November 17, 2022 16:37
@leonore leonore merged commit 134d651 into main Nov 18, 2022
@leonore leonore deleted the leo/empty-repo-compression branch November 18, 2022 09:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants