0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/plugins/discourse-ai/lib/automation
Krzysztof Kotlarek 6cd905e96a
FIX: Avoid duplicate AI triage reviewables when review precedes spam (#41079)
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
2026-06-22 15:48:56 +08:00
..
ai_tool_action.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
llm_agent_triage.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
llm_tagger.rb FIX: Enforce secure-upload ACL in AI bot prompt path (#39903) 2026-05-13 09:55:32 +08:00
llm_triage.rb FIX: Avoid duplicate AI triage reviewables when review precedes spam (#41079) 2026-06-22 15:48:56 +08:00
report_context_generator.rb DEV: Extract reusable PostsFilter into core (#40436) 2026-06-02 14:52:47 +02:00
report_runner.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00