# AI Summarization Backfill is stuck, keeps regenerating the same topic

**URL:** https://meta.discourse.org/t/ai-summarization-backfill-is-stuck-keeps-regenerating-the-same-topic/347088
**Category:** Bug
**Tags:** ai, ai-summarize
**Created:** [January 14, 2025, 3:51pm UTC](https://meta.discourse.org/t/ai-summarization-backfill-is-stuck-keeps-regenerating-the-same-topic/347088 "2025-01-14T15:51:39Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![Roman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roman/32/157504_2.png) [@Roman](https://meta.discourse.org/u/Roman)
#### Post date: [February 4, 2025, 2:51pm UTC](https://meta.discourse.org/t/ai-summarization-backfill-is-stuck-keeps-regenerating-the-same-topic/347088/18 "2025-02-04T14:51:10Z")

</div>

This got merged this morning:

[https://github.com/discourse/discourse-ai/pull/1108](https://github.com/discourse/discourse-ai/pull/1108)

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.

---

_[View the full topic](https://meta.discourse.org/t/ai-summarization-backfill-is-stuck-keeps-regenerating-the-same-topic/347088)._
