discourse/plugins/discourse-ai/spec/serializers
Roman Rizzi 5a00b47523 SECURITY: Force regeneration for edit-outdated summaries and block stale fallback
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:45 +01:00
..
ai_chat_channel_serializer_spec.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
ai_features_agent_serializer_spec.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
ai_usage_serializer_spec.rb DEV: Adjustments in usage page for LLM's with credit allocations (#36566) 2025-12-09 09:55:29 -08:00
llm_model_serializer_spec.rb FIX: Include credits in serializer only if credit system enabled (#35903) 2025-11-07 15:58:40 +08:00
topic_view_serializer_spec.rb SECURITY: Force regeneration for edit-outdated summaries and block stale fallback 2026-03-31 15:12:45 +01:00