Pulling in my review comment for visibility:
> With this change if a comment is accidentally tagged as spam its contents will immediately be removed, without any feedback to the user that anything has happened - they won't notice the content is gone until the next time they reload the page.
>
> The content removal should happen after a delay of at least 5 minutes.
>
> Additionally, as the goal of this bug is to hide spam content from search engines, viewing a comment's history if the comment is tagged as spam should require authentication.
An alternative approach that will be less destructive and easier to implement would be to filter out comments tagged as spam from the comment list for all users without editbugs - including unauthenticated requests the commenter (where appropriate).
We wouldn't need to put it on a delay as it's trivial to revert and we wouldn't have to take any extra measures to hide the comment history from search engines.
Bug 1905292 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Pulling in my review comment for visibility:
> With this change if a comment is accidentally tagged as spam its contents will immediately be removed, without any feedback to the user that anything has happened - they won't notice the content is gone until the next time they reload the page.
>
> The content removal should happen after a delay of at least 5 minutes.
>
> Additionally, as the goal of this bug is to hide spam content from search engines, viewing a comment's history if the comment is tagged as spam should require authentication.
An alternative approach that will be less destructive and easier to implement would be to filter out comments tagged as spam from the comment list for all users without editbugs - including unauthenticated requests and the commenter (where appropriate).
We wouldn't need to put it on a delay as it's trivial to revert and we wouldn't have to take any extra measures to hide the comment history from search engines.