Repository navigation
A deletion releases its source before reattesting - #72
Merged
gedaiu merged 1 commit intoNov 17, 2026
Merged
Conversation
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
…e before reattesting (#4852) Pins the install chart to Utopia `0.1.0-re.35` (index digest `sha256:737e04c7…fa6c`). re.35 is re-cinq/utopia#72 (RC-010; upstream deeplethe/utopia#1515): `documents::delete` and `restore` no longer recompute attestation inside the transaction that holds the source row. The recompute runs as `reattest_facts` right after the commit, so pushes to the same source stop timing out behind a long delete. The internal cluster already runs re.35 (pinned by Utopia's release job). Closes #4832 🤖 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.
documents::delete and restore_tx lock the document's sources row first and then recomputed attestation and tidied timelines in the same transaction; for a document that cites many facts that took tens of seconds, and every push to the same source waited on the row (a 34 s delete from a mirror's missing/cleanup held ten pushes on our instance, and the mirror timed out). The recompute now runs as reattest_facts in a transaction of its own that never touches the source row: delete and restore enqueue it with the invalidation, run it right after their commit and remove the unclaimed job, so they still return with attestation current; restore_tx inside a caller's transaction leaves the job to the worker. RC-010 records the decision. Lore: re-cinq/lore#4832.