shitposter.club migration issues
Because of shitposter.club's migration, we became aware of a serious defect in the Transmogrifier.user_upgrade_task()
function: it doesn't handle the actor URI changing.
This has caused many instances to have orphaned activities if they were set up prior to shitposter.club's migration going live.
There's two components we need to fix:
-
Transmogrifier.user_upgrade_task()
needs to stitch up the activities when an actor URI changes. -
We need to delete the orphaned activities:
-
Scan users with
ap_id ~= "https://shitposter.club/user/%"
and force the Transmogrifier to upgrade them. -
If the upgrade fails because of the shitposter.club user purge, then delete the orphaned activities.
This should resolve all damage to instance object graphs caused by the migration.