Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1905296 - Clear needinfo if comment is marked as spam #2289

Merged
merged 3 commits into from
Aug 8, 2024

Conversation

dklawren
Copy link
Collaborator

@dklawren dklawren commented Jul 31, 2024

  • Create a antispam_comment_cleanup table for recording comment ids
  • Hook into comment tag hooks to add comment ids to the table when spam is added and remove if tag removed
  • Create a cron script to run every 30 mins to process the comment ids in the cleanup queue.
  • Currently the script will just remove a needinfo that was added at the same time as a spam comment
  • We can add other cleanup changes to the script in future pull requests.

@dklawren dklawren requested a review from cgsheeh August 6, 2024 18:45
extensions/AntiSpam/bin/spam_cleanup.pl Show resolved Hide resolved
extensions/AntiSpam/bin/spam_cleanup.pl Outdated Show resolved Hide resolved
@dklawren dklawren merged commit 8872461 into mozilla-bteam:master Aug 8, 2024
9 of 16 checks passed
@dklawren dklawren deleted the 1905296 branch August 8, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants