Page MenuHomePhabricator

🐼 Track inline metrics for Lil Diff (πŸ’Œ)
Open, Needs TriagePublic

Description

To be able to measure the actual impact of the lil diff solution on the overall recent changes, we need to be able to determine the number of the "would have been" unnecessary Recent Changes by incrementally recording each occurence.

This ticket is related to https://phabricator.wikimedia.org/T422564 as small subtask

Acceptance Criteria:

  1. Original Recent Changes Count in Change Handler are tracked.
  2. Lil Diff suppressed recent changes are tracked
  3. Lil Diff injected recent changes with "yes" tracked
  4. Lil Diff injected with "unknown" tracked.

Note: We would hope the first metric would be equal to the sum of the last three metrics on the list above.

Event Timeline

Change #1289392 had a related patch set uploaded (by Nicholusmuwonge; author: Nicholusmuwonge):

[mediawiki/core@master] New Stats: Surpressed Recent Changes

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

Nicholusmuwonge_wmde renamed this task from Add Metric for irrelevant Recent Changes Surpressed by Lil Diff to Track metrics for Lil Diff.May 20 2026, 9:42 AM
Nicholusmuwonge_wmde updated the task description. (Show Details)

Change #1290020 had a related patch set uploaded (by Nicholusmuwonge; author: Nicholusmuwonge):

[mediawiki/extensions/Wikibase@master] New Stats: Surpressed Recent Changes

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

Nicholusmuwonge_wmde renamed this task from Track metrics for Lil Diff to Track inline metrics for Lil Diff.May 26 2026, 9:04 AM

Current available stat from mediawiki_refreshlinks_parsercache_operations_total, some dashboards can be seen here in Grafana.

Lucyfediachambers renamed this task from Track inline metrics for Lil Diff to 🐼 Track inline metrics for Lil Diff.Jun 4 2026, 8:16 AM
Lucyfediachambers renamed this task from 🐼 Track inline metrics for Lil Diff to 🐼 Track inline metrics for Lil Diff (πŸ’Œ).Jun 4 2026, 4:34 PM

Change #1298281 had a related patch set uploaded (by Nicholusmuwonge; author: Nicholusmuwonge):

[mediawiki/core@master] New Stats: Surpressed Recent Changes

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

Change #1298281 abandoned by Nicholusmuwonge:

[mediawiki/core@master] New Stats: Surpressed Recent Changes

Reason:

Rebase gone wrong

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

Blocked, as we decided this should be re-worked/re-factored after T419823 is done.