Something went wrong on our end. Please try again.
Created by: asdine
This adds a new background job to the worker service. This job reads rows from the gitserver_localclone_jobs
table and clones repos from one gitserver instance to another.
Optionally, it deletes the source repository after successful copy.
This job will be used to migrate repos asynchronously between gitserver instances without contacting the code host.
cmd/gitserver/background
which will contain all the background jobs we want to run in the worker service. This is to mimic most of the existing job implementations.gitserver_localclone_jobs
table. Tested with and without deletion.Fixes #32827