[Code Embeddings] Create RepositoryExpirationWorker
Description
We need to create a new RepositoryExpirationWorker to remove unused indexed repositories automatically.
- Check
last_queried_atfield under a threshold (To Be Defined: eg. 6 months) - Update state:
ready→pending_deletion - Add
delete_reasonas part of themetadatafield
Edited by 🤖 GitLab Bot 🤖