Skip to content

[Code Embeddings] Handle force pushes

Context

From gitlab-elasticsearch-indexer!698 (comment 2678313150):

If we can detect force-push scenarios there, we could pass a flag to force re-indexing (like setting fromSHA = "") instead of the current tree-diff approach.

References

Further context in related issue: gitlab-elasticsearch-indexer#172 (closed)

Proposal

We can make use of a reindexing field in the documents such that:

Edited by Pam Artiaga