Skip to content

database: Properly populate repo_id in IterateRepoGitserverStatus

Administrator requested to merge rs/gitserver-fix-iterate into main

Created by: ryanslade

We were not properly setting the ID of the embedded GitserverRepo in cases where a row already exists in the gitservr_repos table. This was leading to failed batches when updating clone status in gitserver because multiple rows were being inserted with an ID of 0.

Merge request reports

Loading