[go: up one dir, main page]

Skip to content

[Code Embeddings] Create AdHocIndexingWorker

Description

We need to create a new AdHocIndexingWorker to create Ai::ActiveContext::Code::Repository records and process newly added repositories for indexing. The records created should have the state pending, and we can call immediately RepositoryIndexWorker.perform_async for the repository, so no need to wait for the scheduler to pick it up.