Repository navigation
A document waits for one queued extraction - #71
Merged
Merged
Conversation
…ueued are removed Signed-off-by: Bogdan Szabo <bogdan@re-cinq.com>
gedaiu
added a commit
to re-cinq/lore
that referenced
this pull request
Nov 17, 2026
… extraction (#4826) Pins the install chart to Utopia `0.1.0-re.34` (index digest `sha256:964c2d24…13da`). re.34 is re-cinq/utopia#71: `extract_document` is queued only when no job waits for the same document, and migration 9011 removes the repeats already queued, keeping each document's oldest job (RC-009; upstream deeplethe/utopia#1514). The internal cluster already runs re.34: Utopia's release job pinned it in re-cinq/utopia `deploy/clusters/internal-cluster.values.yaml`. Closes #4745 Related: #4728, #4757, #4822 (closed when its branch was deleted early) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
extract_document carries only the document id and reads the current chunks when it runs, yet nothing checked for one already waiting, so a document that changed three times while the queue was behind got three jobs. On our instance 29,493 were queued for 12,986 documents. jobs::enqueue_extraction now queues one only when none is queued for the same document_id (a running one does not count, since it may have read the old version), both enqueue sites use it, and migration 9011 adds a partial index for the check and removes the repeats already queued, keeping each document's oldest job. RC-009 records the decision. Upstream: deeplethe#1514.