Page MenuHomePhabricator

Suggested Investigations: Take locked users into account for case auto-closure
Closed, ResolvedPublic

Description

Background

In T414979: Close the cases when all accounts are already blocked a mechanism for closing SI cases where all users are blocked was implemented. For now, it applies only to accounts blocked locally. However, another common scenario is that an account is locked (feature of CentralAuth), in which case we don't need to wait for a local block to apply auto-closure.

User story

As a checkuser:

  • I don't need to differentiate whether an account in case is blocked globally or locally
  • I don't need to investigate accounts that were blocked globally, because they were already handled at "higher level"

Acceptance criteria

  • Cases that consist only of users blocked locally and/or locked are automatically closed

Non-goals of this task (will be handled in separate tasks):

  • Locking an account doesn't need to trigger automatic closure
  • Whether an account is globally blocked (Extension:GlobalBlocking) doesn't need to be checked as part of this task

Event Timeline

Change #1239374 had a related patch set uploaded (by Mpostoronca; author: Mpostoronca):

[mediawiki/extensions/CheckUser@master] Take locked users into account for case auto-closure

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

Change #1239901 had a related patch set uploaded (by Dreamy Jazz; author: Mpostoronca):

[mediawiki/extensions/CheckUser@wmf/1.46.0-wmf.16] Take locked users into account for case auto-closure

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

Change #1239901 merged by Dreamy Jazz:

[mediawiki/extensions/CheckUser@wmf/1.46.0-wmf.16] Take locked users into account for case auto-closure

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

Mentioned in SAL (#wikimedia-operations) [2026-02-17T10:52:08Z] <dreamyjazz@deploy2002> Started scap sync-world: Backport for [[gerrit:1239901|Take locked users into account for case auto-closure (T417013)]]

Change #1239374 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Take locked users into account for case auto-closure

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

Mentioned in SAL (#wikimedia-operations) [2026-02-17T11:16:51Z] <dreamyjazz@deploy2002> dreamyjazz: Backport for [[gerrit:1239901|Take locked users into account for case auto-closure (T417013)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-02-17T11:29:33Z] <dreamyjazz@deploy2002> Finished scap sync-world: Backport for [[gerrit:1239901|Take locked users into account for case auto-closure (T417013)]] (duration: 37m 25s)

dom_walden subscribed.

I repeated the testing I did in T417012#11622164, this time also checking the locked status of users. I didn't find any discrepancies.

Dreamy_Jazz updated the task description. (Show Details)