Skip to content

feat: auto deletion of spam via AI#15

Merged
jcapphelix merged 4 commits intorelease-ulmofrom
jcapphelix/feat-ai-auto-spam-deletion
Feb 9, 2026
Merged

feat: auto deletion of spam via AI#15
jcapphelix merged 4 commits intorelease-ulmofrom
jcapphelix/feat-ai-auto-spam-deletion

Conversation

@jcapphelix
Copy link
Collaborator

Description

This PR adds auto deletion of spam forum content.
The feature is gated behind a waffle flag discussions.enable_ai_auto_delete_spam

Jira Ticket

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds automated deletion of spam forum content detected by AI moderation. The feature is controlled by a new waffle flag discussions.enable_ai_auto_delete_spam and works in conjunction with the existing AI moderation system.

Changes:

  • Added a new waffle flag to enable/disable AI-powered auto-deletion of spam content
  • Enhanced AI moderation flow to soft-delete spam content in addition to flagging it
  • Version bump to reflect the new feature

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
forum/toggles.py Adds new waffle flag ENABLE_AI_AUTO_DELETE_SPAM with helper function to check if auto-delete is enabled for a course
forum/ai_moderation.py Implements auto-deletion logic by calling API layer deletion functions when spam is detected and the flag is enabled; renames method to reflect broader moderation scope
forum/init.py Version bump from 0.4.1 to 0.4.2

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jcapphelix jcapphelix marked this pull request as ready for review February 6, 2026 10:49
@jcapphelix jcapphelix merged commit 20e90bf into release-ulmo Feb 9, 2026
19 checks passed
@jcapphelix jcapphelix deleted the jcapphelix/feat-ai-auto-spam-deletion branch February 9, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants