Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Change deletes to preserve statuses in unresolved reports #11805
Currently deletes first perform a soft-delete for immediate API feedback, and then perform a real delete in the background. This change makes it so that the background task keeps statuses that are attached to unresolved reports, as well as making account deletion preserve such statuses as well.
When any account action is performed (warning, disable, silence, suspend), resolve all unresolved reports about that account, except when the action is "none" and connected to a specific report ("mark as resolved"). Resolving a report will fully remove associated soft-deleted statuses.
There is also a refactor of