Created by: bobheadxi
This will run as an automated cron every ~15mins, and it will do the following:
I've tried to include some extensive testing because this is definitely not something we want misbehaving
Close https://github.com/sourcegraph/sourcegraph/issues/25482 and https://github.com/sourcegraph/sourcegraph/issues/28834 and https://github.com/sourcegraph/sourcegraph/issues/29005
Notes: