3 months ago
d48ccc5Add completeIndexing and failIndexing methods to RegistryRepository that check index_build_owner in the WHERE clause, mirroring the existing graph build fencing. Update index-workspace.ts to use these fenced methods instead of the unfenced updateWorkspace for final status writes. A stale lease holder can no longer overwrite the status set by a newer lease owner. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Parentb6adba7