Page MenuHomePhabricator

cleanup - depopuplate global oathauth-tester group
Closed, ResolvedPublic

Description

Once we are at 100%, the global group oathauth-tester should be able to be depopulated.

Currently has >1500 members

Blocked on T399664

This should have a hold delay (2 weeks maybe) to ensure there are no regression issues requiring the 100% rollback

Event Timeline

Catrope added subscribers: Urbanecm, Urbanecm_WMF, Catrope.

Earlier this week I asked @Urbanecm to handle this, since deleting this group will require updating community process documentation and communication with the stewards and other users who often assign global group membership.

It looks like this will be more annoying to do than I thought, because the global group management UI doesn't allow a group to be deleted until all of its members have been removed from it, and this group has 1662 members. @Urbanecm assuming you and/or the stewards don't want to manually remove everyone from the group, we should talk about automating this. There is a script that allows you to batch-remove users from a global group, with the log entry attributed to the Maintenance script system user. I think it might be best to use that to depopulate the group, then have a steward actually delete the group.

Note, we do want a delay on this to ensure there isn't a regression found in the 100% rollout

Hi all, thanks @Catrope for the ping. I'll take care of it (with a small delay)

@Urbanecm following up on this task in the new year

Mentioned in SAL (#wikimedia-operations) [2026-01-12T10:57:33Z] <urbanecm@deploy2002> mwscript-k8s job started: CentralAuth:emptyGlobalUserGroup.php --wiki=metawiki oathauth-tester # T411360

I emptied the global group and put the backup for it here:

[urbanecm@stat1008 ~/Documents/onetime]$ echo "select * from global_user_groups where gug_group='oathauth-tester'" | analytics-mysql centralauth > oathauth_tester_membership_20260112.txt
[urbanecm@stat1008 ~/Documents/onetime]$ wc -l oathauth_tester_membership_20260112.txt 
1661 oathauth_tester_membership_20260112.txt
[urbanecm@stat1008 ~/Documents/onetime]$

Now I can delete the group on wiki:

11:58, 12 January 2026 Martin Urbanec changed global group permissions for Special:GlobalUsers/oathauth-tester: added (none); removed oathauth-enable (group no longer needed, let's unassign the permission)

Let's call this resolved.

Change #1225517 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/WikimediaMessages@master] Drop oathauth-tester messages

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

Change #1225517 abandoned by Zabe:

[mediawiki/extensions/WikimediaMessages@master] Drop oathauth-tester messages

Reason:

actually they might be used somewhere

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

Change #1225517 restored by Mstyles:

[mediawiki/extensions/WikimediaMessages@master] Drop oathauth-tester messages

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

Change #1225517 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMessages@master] Drop oathauth-tester messages

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