I noticed that when retracting a close-vote for a duplicate, the auto-comment stays. Which then requires that extra step of having to delete it manually.
This works counter to how the comment disappears automatically when the dupe close-vote is actually closed as such.
This can lead to that extra noise you don't need to have in the comments, especially when the dupe is wrong. You do not want any reference to the incorrect dupe when retracting due to a bad close reason.
The caveat here would be that this should only happen (as brought up by Jon Clements in the comments) when there are no up-votes on the auto-comment.
By automatically removing the auto-comment when retracting a close-vote, it will:
- Remove the human error of forgetting to manually delete the comment
- Stay aligned with the current functionality of how the comment disappears when a dupe is actually closed
- Allow that extra certainty of removing any traces of the incorrect dupe-link.