Skip to content

gitserver: Store clone error in database

Administrator requested to merge rs/delete-repo-investigation into main

Created by: ryanslade

When we fail to clone a repo we should store the error in the database. Specifically on sourcegraph.com this will trigger our cleanup job to try and sync the repo with the code host again and will remove repos that no longer exist on the code host.

Test plan

Tested locally and modified unit tests

Merge request reports

Loading