Consolidation pass never merges duplicate aggregates covering the same story #86
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/yunjin#86
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The daily consolidation pass re-clusters the trailing 72h window, but two things stop it from repairing split stories:
Result: even when both fragments of a split story sit inside the window and both are candidates, consolidation re-creates the split. The Marilyn Wallman inquest fragments (Oct 15 + Oct 16) both fell inside the Oct 17 consolidation window and were still left as two separate aggregates.
The write path already supports merging: input articles are unlinked, re-linked per topic, and emptied aggregates are deleted. Emitting one topic that lists all of a story's article_ids under one surviving aggregate_id would merge them today.
Findings from the prod DB probe (2026-10-17):
Plan of attack: