Page MenuHomePhabricator

Specify skin field in MobileWebUIActions
Closed, ResolvedPublic2 Estimated Story Points

Description

We need to specify the skin field even though Minerva Skin is default in the MobileWebUIActions schema for data collection purposes.

Additional Notes:
There are no validation errors and the skin value will always be Minerva. It's just for consistency, convenience and for cleaner tables.
This patch was created before this ticket.

TODO

  • Update the schema
  • Update Minerva to use the new schema version and send the skin field

QA

  • Verify that all events carry the skin field using the request SELECT event.skin, count(*) FROM event.mobilewebuiactionstracking WHERE year = 2023 AND event.action = 'init' AND ( month = 11 ) AND day = 17 AND wiki != 'testwiki' group by event.skin

Event Timeline

Change 968674 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[schemas/event/secondary@master] Adds skin field in mobilewebuiactions

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

Jdlrobson updated the task description. (Show Details)

Change 968675 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[mediawiki/extensions/WikimediaEvents@master] Updates schema version for mobilewebuiactions

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

Jdlrobson set the point value for this task to 2.Nov 6 2023, 6:38 PM

Change 968674 merged by jenkins-bot:

[schemas/event/secondary@master] Adds skin field in mobilewebuiactions

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

Change 968675 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@master] Updates schema version for mobilewebuiactions

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

QA Steps
In Hue, ensure that MobileWebUIActions has a skin column and is validating the skin value.
I can QA next week after this rides the train.

This will be testable tomorrow.

Jdlrobson claimed this task.
Jdlrobson added a subscriber: Jdrewniak.

It looks like the majority of events have the skin field now. Presumably the others relate to open windows.

Screenshot 2023-11-17 at 3.19.51 PM.png (1,212×524 px, 52 KB)

I took a look at one of the null events using SELECT * FROM event.mobilewebuiactionstracking WHERE year = 2023 AND event.action = 'init' AND ( month = 11 ) AND day = 17 AND wiki != 'testwiki' AND event.skin is NULL limit 1 and all the new fields were also missing so was likely hitting an older schema.

Screenshot 2023-11-17 at 3.22.06 PM.png (1,080×79 px, 13 KB)