Page MenuHomePhabricator

Globaluserinfo API module should allow getting data for more than one user at once
Open, MediumPublic

Description

Sometimes, it's handy to API request data about more than one user at once.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 548966 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[mediawiki/extensions/CentralAuth@master] [api] Allow users to specify more than one user to globaluserinfo

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

Urbanecm triaged this task as High priority.Nov 6 2019, 9:16 AM

This is a dependency of one GCI tasks, triaging as high.

Krinkle added subscribers: Anomie, Krinkle.

[…] I'm not familiar with the CA code itself to know whether this safe and will perform well at standard batch sizes. If this is a cheap lookup, then repeating it 500 times may be fine.

If not, then this has to be declined and/or blocked on adding batching to the internal logic because repeating it synchronously in a single thread on the server would be undesirable for prod stability (repeated and/or concurrent queries would be preferred in that case).

I've CC-ed @Anomie and CPT on the task whom I believe know this code better. Their input should be waited for before merging this.

daniel lowered the priority of this task from High to Medium.Apr 21 2020, 9:22 AM
Urbanecm lowered the priority of this task from High to Medium.Jul 11 2020, 2:53 PM

This is a dependency of one GCI tasks, triaging as high.

(not true anymore)