[Code Embeddings] Create RepositoryExpirationWorker

Description

We need to create a new RepositoryExpirationWorker to remove unused indexed repositories automatically.

  • Check last_queried_at field under a threshold (To Be Defined: eg. 6 months)
  • Update state: readypending_deletion
  • Add delete_reason as part of the metadata field
Edited by 🤖 GitLab Bot 🤖