Page MenuHomePhabricator

Use page_weighted_tags_changed stream
Closed, ResolvedPublic

Description

Make sure, growth maintenance scripts use page_weighted_tags_changed (since T366253) for adding/clearing weighted tags.

AC:

  • replace per-use-case streams with page_weighted_tags_changed
  • adapt SearchIndexUpdater / EventGateSearchIndexUpdater so it can clear tags

Event Timeline

pfischer changed the task status from Open to In Progress.Aug 28 2024, 5:03 AM
pfischer moved this task from needs triage to Current work on the Discovery-Search board.
pfischer moved this task from Incoming to In Progress on the Discovery-Search (Current work) board.

Change #1067928 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/CirrusSearch@master] Extract WeightedTagsBuilder.php

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

Change #1070675 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/EventBus@wmf/1.43.0-wmf.21] Let PageEntitySerializer.canonicalPageURL accept PageReference

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

Change #1070676 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/CirrusSearch@master] Extract WeightedTagsUpdater and add EventBusWeightedTagsUpdater implementation

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

Change #1071162 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/CirrusSearch@master] WeightedTagsUpdater: add support for trigger hint (rev_based flag)

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

Change #1071233 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/GrowthExperiments@master] Use WeightedTagsUpdater

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

Change #1067928 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] Extract MultiListBuilder.php

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

Change #1070676 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] Extract WeightedTagsUpdater and add EventBusWeightedTagsUpdater implementation

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

Change #1071162 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] WeightedTagsUpdater: add support for trigger hint (rev_based flag)

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

pfischer added a subscriber: Urbanecm_WMF.

@Urbanecm_WMF, @Michael - CirrusSearch API changes are merged, so we can continue with migrating GrowthExperiments. There was one comment regarding resetting tags via hooks. Shall that be done as part of this CR?

Change #1071233 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Use WeightedTagsUpdater

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

Change #1084737 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/GrowthExperiments@master] Use WeightedTagsUpdater

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

Change #1084738 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/GrowthExperiments@master] Use WeightedTagsUpdater

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

Change #1084737 abandoned by Peter Fischer:

[mediawiki/extensions/GrowthExperiments@master] Use WeightedTagsUpdater

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

Change #1084738 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Use WeightedTagsUpdater

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