Page MenuHomePhabricator

Flow: Add a hook to CheckUser that would allow us to preload all data at once, instead of piecemeal
Open, MediumPublicFeature

Description

https://gerrit.wikimedia.org/r/#/c/125710 adds a CheckUserQuery::loadMetadataBatch method that will batch-load all Flow data.

It'll still be called on a per-entry basis (see https://gerrit.wikimedia.org/r/#/c/125710/1/Hooks.php), instead of all at once, because (I think) there is no existing hook in CheckUser that can be called to retrieve all Flow-related CU entries.

Similar to how we've added a hook to RC for this, we should do the same for CU. It's slightly less urgent because CheckUser is probably much less commonly used, but we still need to make sure it's efficient ;)


Version: unspecified
Severity: enhancement

Details

Reference
bz63900