mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
Previously, AI triage only collapsed a duplicate reviewable when a spam flag followed an existing review flag; the reverse order still left a separate `ReviewablePost` alongside the `ReviewableFlaggedPost`. This change adds `review_reviewable_for` so a later review flag reuses an existing flagged reviewable, ensuring moderators see a single review item regardless of which triage rule runs first. Follow up to https://github.com/discourse/discourse/pull/41043 |
||
|---|---|---|
| .. | ||
| ai_tool_action.rb | ||
| llm_agent_triage.rb | ||
| llm_tagger.rb | ||
| llm_triage.rb | ||
| report_context_generator.rb | ||
| report_runner.rb | ||