Page MenuHomePhabricator

Delete redundant mobile- and desktopwebuiactions event in WikimediaEvents
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

We have been transitioning from using desktopwebuiactions and mobilewebuiactions in the Event Platform to web_ui_actions in the Metrics Platform to align with our strategy of using MP as the future platform. Stopping the use of mobile- and desktopwebuiactions will reduce technical debt and streamline our instrumentation.

This task focuses solely on deleting the redundant events in WikimediaEvents.

User story

As an engineer, I want to delete the mobile- and desktopwebuiactions event in WikimediaEvents and ensure that only web_ui_actions is used so that we can reduce technical debt and simplify our instrumentation.

Requirement

Delete the mobile- and desktopwebuiactions event from WikimediaEvents, ensuring the only event used is web_ui_actions to reduce technical debt and streamline instrumentation. Update relevant documentation and communicate changes to the Web team and Data-Engineering Slack.

BDD

Feature: Delete redundant mobile- and desktopwebuiactions events

Scenario: Remove mobile- and desktopwebuiactions from WikimediaEvents
  Given the engineer has access to WikimediaEvents
  When they delete mobile- and desktopwebuiactions events
  Then only web_ui_actions should be active

Test Steps

Test Case 1: Ensure deletion of mobile- and desktopwebuiactions events

  1. Delete mobile- and desktopwebuiactions events from WikimediaEvents.
  2. AC1: Verify that only web_ui_actions events are logged.

Design

  • No mockups required for this change as it is backend-related.

Acceptance criteria

  • Ensure that mobile- and desktopwebuiactions no longer fires.
  • Update documentation to reflect the deletion of desktopwebuiactions and mobile-

Communication criteria

  • Announce to the Web team and relevant stakeholders about the deletion of desktopwebuiactions and mobilewebuiactions.

Rollback plan

  • If any issues arise, revert the change and re-enable desktopwebuiactions.

This task was created by Version 1.0.0 of the Web team task template using phabulous.

QA Results - Prod

ACStatusDetails
1T376065#10243154

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Revert "Merge branch 'T368678-delete-schema' into 'master'"repos/data-engineering/schemas-event-secondary!14xcollazorevert-ef015046master
Customize query in GitLab

Event Timeline

KSarabia-WMF set the point value for this task to 2.

FYI - We broke this out of the parent ticket

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

[mediawiki/extensions/WikimediaEvents@master] Delete old event logging

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

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

[operations/mediawiki-config@master] DONOTMERGE: Remove legacy UI actions tracking

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

I requested a final review from data platform. I'm happy to +2 it with at least a +1 from them (but they should also feel free to +2!)

Change #1077103 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@master] Delete old event logging

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

Edtadros subscribed.

@Jdlrobson, this looks like it is more of an dev validation per the given requirements, from a front end testing perspective it will be covered in https://phabricator.wikimedia.org/T368678#10220416 (once that passes).

Change #1077504 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove legacy UI actions tracking

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

Mentioned in SAL (#wikimedia-operations) [2024-10-15T20:03:48Z] <cjming@deploy2002> Started scap sync-world: Backport for [[gerrit:1077504|Remove legacy UI actions tracking (T376065)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-15T20:06:51Z] <cjming@deploy2002> ksarabia, cjming: Backport for [[gerrit:1077504|Remove legacy UI actions tracking (T376065)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-15T20:16:20Z] <cjming@deploy2002> Finished scap sync-world: Backport for [[gerrit:1077504|Remove legacy UI actions tracking (T376065)]] (duration: 12m 28s)

Jdlrobson raised the priority of this task from Medium to High.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki, testwiki
OS: macOS
Browser: Chrome
Device: MS
Emulated Device: NA

Test Artifact(s):

Test Case 1: Ensure deletion of mobile- and desktopwebuiactions events

  1. Delete mobile- and desktopwebuiactions events from WikimediaEvents.
  2. ✅ AC1: Verify that only web_ui_actions events are logged after deletion.

The screenshots in T349862#10240396 show only web_ui_actions for both Minerva and Vector2022