Page MenuHomePhabricator

Suggested investigations: Events instrumented client-side are not emitted to event streams
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Ensure your account has sufficient permissions to be able to see Suggested Investigations
  • Navigate to a contributions page for a user who's present in an SI case
  • Click on "SI cases" link in the subheader line

What happens?:
Instrumentation event is sent to the intake server and "202 Accepted" is returned, but the event is not present in the event streams.

What should have happened instead?:
The event should be emitted to the event stream.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
This issue started in the week of June 8th, when the instrumentation was ported to mw.testKitchen, instead of mw.eventLog (T414572).

Event Timeline

Change #1310017 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@master] SI: Fix client side instrumentation

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

mszwarc added a parent task: Restricted Task.Mon, Jul 13, 9:19 AM

Change #1310027 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@wmf/1.47.0-wmf.10] SI: Fix client side instrumentation

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

Change #1310017 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SI: Fix client side instrumentation

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

Change #1310027 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.47.0-wmf.10] SI: Fix client side instrumentation

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

Mentioned in SAL (#wikimedia-operations) [2026-07-13T11:09:38Z] <mszwarc@deploy2003> Started scap sync-world: Backport for [[gerrit:1310027|SI: Fix client side instrumentation (T431977)]]

Change #1310055 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@wmf/1.47.0-wmf.10] Revert "SI: Fix client side instrumentation"

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

Change #1310055 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.47.0-wmf.10] Revert "SI: Fix client side instrumentation"

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

Change #1310058 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@wmf/1.47.0-wmf.10] Revert^2 "SI: Fix client side instrumentation"

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

Mentioned in SAL (#wikimedia-operations) [2026-07-13T12:03:53Z] <mszwarc@deploy2003> Started scap sync-world: Backport for [[gerrit:1310027|SI: Fix client side instrumentation (T431977)]]

Mentioned in SAL (#wikimedia-operations) [2026-07-13T12:04:22Z] <mszwarc@deploy2003> sync-world aborted: Backport for [[gerrit:1310027|SI: Fix client side instrumentation (T431977)]] (duration: 00m 29s)

Change #1310058 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.47.0-wmf.10] Revert^2 "SI: Fix client side instrumentation"

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

Mentioned in SAL (#wikimedia-operations) [2026-07-13T12:07:50Z] <mszwarc@deploy2003> Started scap sync-world: Backport for [[gerrit:1310058|Revert^2 "SI: Fix client side instrumentation" (T431977)]]

Mentioned in SAL (#wikimedia-operations) [2026-07-13T12:09:26Z] <mszwarc@deploy2003> mszwarc: Backport for [[gerrit:1310058|Revert^2 "SI: Fix client side instrumentation" (T431977)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-07-13T12:15:04Z] <mszwarc@deploy2003> Finished scap sync-world: Backport for [[gerrit:1310058|Revert^2 "SI: Fix client side instrumentation" (T431977)]] (duration: 07m 14s)

OKryva-WMF subscribed.

Testing the event, looks like the events are being sent in eventstream, but in the superset some of the fields are not filled in (filtering events by domain does not return results) and filtering by this event specifically also returns no results.

Filters used: meta."domain" = 'en.wikipedia.org' and action = 'link_click'

meta."domain" = 'en.wikipedia.org' and action = 'link_click'

Most of the events did not occur on enwiki. I don't see any current evidence of events being unexpectedly dropped.


I think this is working as expected. Events triggered this morning were observed in the stream, confirming the backport correctly set the schema version, and propagated into the data lake approximately 3 hours after they occurred with metadata as expected.

Closing this for now. It's difficult to debug without being present for the initial stream ingest and subsequent data lake propagation but if you see a series of events that suggest something odd is happening in either ingest or propagation, please re-open, preferably with screenshots and timestamps as this is an actively moving data pipeline.