Roman
(Roman Rizzi)
February 4, 2025, 2:51pm
18
This got merged this morning:
main
← summarization_outdated_logic
opened 08:20PM - 03 Feb 25 UTC
Before this change, a summary was only outdated when new content appeared, for t… opics with "best replies", when the query returned different results. The intent behind this change is to detect when a summary is outdated as a result of an edit.
Additionally, we are changing the backfill candidates query to compare "ai_summary_backfill_topic_max_age_days" against "last_posted_at" instead of "created_at", to catch long-lived, active topics. This was discussed here: https://meta.discourse.org/t/ai-summarization-backfill-is-stuck-keeps-regenerating-the-same-topic/347088/14?u=roman_rizzi
The backfill job now uses last_posted_at
instead of created_at
. I also made changes to the logic to determine if a summary is outdated by checking if any of the posts’ last_revised_at
is newer than the summary, to take edits into account.
4 Likes