Page MenuHomePhabricator

No autoblock is performed when the target account has no CU data for edits but has CU data for log events
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Because of T366505, the CheckUser extension no longer writes data about log events to cu_changes. The code that handles autoblocks does not currently have support to read from cu_log_event and cu_private_event.

Steps to replicate the issue
  1. Create a new account
  2. Block that new account with autoblocks enabled

What happens?:
No autoblock is performed

What should have happened instead?:
An autoblock should have been performed, which autoblocks the IP that was used to create the account

Related Objects

StatusSubtypeAssignedTask
ResolvedFeatureDreamy_Jazz
ResolvedFeatureDreamy_Jazz
OpenNone
ResolvedSecurityDreamy_Jazz
ResolvedSecurityZabe
ResolvedSecurityDreamy_Jazz
ResolvedSecurityDreamy_Jazz
ResolvedSecurityDreamy_Jazz
ResolvedBUG REPORTDreamy_Jazz
ResolvedBUG REPORTDreamy_Jazz
ResolvedBUG REPORTDreamy_Jazz
ResolvedDreamy_Jazz
OpenNone
OpenNone
OpenNone
OpenFeatureDreamy_Jazz
DuplicateNone
OpenFeatureNone
ResolvedFeatureDreamy_Jazz
ResolvedFeatureDreamy_Jazz
ResolvedFeatureDreamy_Jazz
ResolvedFeatureDreamy_Jazz
ResolvedFeatureDreamy_Jazz
ResolvedBUG REPORTDreamy_Jazz
DeclinedFeatureNone
OpenFeatureNone
ResolvedGlaisher
ResolvedFeatureDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedFeatureDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
DeclinedNone
ResolvedFeatureDreamy_Jazz
ResolvedGlaisher
ResolvedNiharika
ResolvedNone
ResolvedFeatureDreamy_Jazz
DeclinedNone
ResolvedFeatureDreamy_Jazz
ResolvedFeatureDreamy_Jazz
DuplicateNone
OpenNone
DuplicateNone
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
OpenFeatureNone
ResolvedDreamy_Jazz
ResolvedBUG REPORTDreamy_Jazz
ResolvedBUG REPORTDreamy_Jazz
OpenNone
OpenFeatureNone
DeclinedFeatureNone
OpenFeatureNone
ResolvedDreamy_Jazz
Resolved kostajh
OpenNone
ResolvedNone
Resolvedtstarling
DeclinedNone
OpenNone
ResolvedTchanders
OpenBUG REPORTNone
OpenNone
OpenNone
OpenFeatureDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
OpenDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
DuplicateDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedBUG REPORTDreamy_Jazz

Event Timeline

Dreamy_Jazz renamed this task from No autoblock is performed when the CheckUser data for an account is only related to a log event to No autoblock is performed when the target account has no edits in the last 90 days but has performed log actions.Mon, Jun 17, 2:35 PM
Dreamy_Jazz renamed this task from No autoblock is performed when the target account has no edits in the last 90 days but has performed log actions to No autoblock is performed when the target account has no CU data for edits but has CU data for log events.

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

[mediawiki/extensions/CheckUser@master] Add read new support to CheckUser autoblocking handling code

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

Change #1048437 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/extensions/CheckUser@master] PerformRetroactiveAutoblockHandlerTest: Add case for log entry only

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

Change #1046774 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Add read new support to CheckUser autoblocking handling code

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

Change #1048437 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] PerformRetroactiveAutoblockHandlerTest: Add case for log entry only

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

Djackson-ctr subscribed.

Per the ticket Description, I have verified the new code has been implemented and is functioning and displaying as expected... Good Work @Dreamy_Jazz!!!

New Account Created:

image.png (82×919 px, 10 KB)

New Account Autoblocked:

image.png (699×1 px, 69 KB)

image.png (469×1 px, 44 KB)

Dreamy_Jazz claimed this task.
Dreamy_Jazz set the point value for this task to 2.