0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/plugins/discourse-ai/spec/lib/modules
Roman Rizzi 0be4c8f73a SECURITY: Force regeneration for edit-outdated summaries and block stale fallback [backport 2026.1]
Backport of #568 to release/2026.1.

---

Cached topic summaries that became outdated after post edits could remain visible longer than intended, and the 1-hour throttle could delay corrective regeneration. This update makes edit-driven staleness a special case: users who can regenerate summaries now bypass the throttle and refresh immediately, while users who cannot regenerate are not served edit-outdated cached content at all. In practice, stale summaries from edited content are no longer a fallback path, but normal throttle behavior is preserved for non-edit staleness such as newly added posts.

---

**Security Advisory:** https://github.com/discourse/discourse/security/advisories/GHSA-pr9m-5hpq-wc57
2026-03-31 15:12:50 +01:00
..
ai_bot FIX: retrying with thinking could cause strange errors (#36841) 2025-12-23 16:05:46 +11:00
ai_helper UX: Use English as language label where appropriate (#36762) 2025-12-18 13:10:23 -05:00
ai_moderation FIX: Skip AI spam scanning for posts approved from review queue (#37263) 2026-01-23 10:15:02 +08:00
automation SECURITY: escape LLM triage output in review flag reasons 2026-03-19 15:46:24 +00:00
embeddings FIX: correct semantic related age penalty (#36327) 2025-11-29 17:13:42 +11:00
sentiment DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
summarization SECURITY: Force regeneration for edit-outdated summaries and block stale fallback [backport 2026.1] 2026-03-31 15:12:50 +01:00