Page MenuHomePhabricator

Create the CheckUserDataPruner service
Open, Needs TriagePublic2 Estimated Story Points

Description

A service is needed to be able to prune data from the CheckUser tables. This service will be created my moving code from other files into one service.

This is needed because the current pruning mechanisms have two different code paths (purgeOldData.php and the job) which presents code duplication. This means that in T353953: Don't use actor IDs for private CheckUser events when these actions are performed by IP addresses, where a new result table is added, we will only need to modify one service instead of having to modify two different files for the same changes.

Acceptance criteria
  • Create the CheckUserDataPruner service and use it in the job and maintenance script purging code paths

Related Objects

StatusSubtypeAssignedTask
OpenFeatureNone
OpenFeatureNone
Resolved TBolliger
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenDreamy_Jazz

Event Timeline

Change 929030 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Move Hooks::maybePruneIPData and ::pruneIPData to a new service

https://gerrit.wikimedia.org/r/929030