Page MenuHomePhabricator

Updating weighed tags via EventBus in beta does not work
Closed, ResolvedPublic

Description

In T395414: Link Recommendations are not available on the beta cluster, I discovered that updating weighed tags in beta does not work when wgCirrusSearchEnableEventBusWeightedTags is disabled. This breaks Add-Link-Structured-Task, and Beta is an important part of QA for the Growth Team.

Since turning wgCirrusSearchEnableEventBusWeightedTags off in beta made the weighed tags updates go ahead, I made that change on beta only as a stop-gap to unblock the Growth team (https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1151608).

I'm unsure if the EventBus approach is supposed to work on beta as well, or whether that is something we only intend to use in production. I'm creating this task for the #search-team, so that it can review my actions and determine whether any other follow-up is necessary.

Event Timeline

See my investigations in T395414#10862385 et seq. The patch I submitted is https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1151608 (feel free to revert if you deem so necessary). Let me know if there is any assistance needed from the Growth-Team.

dcausse assigned this task to Urbanecm_WMF.
dcausse moved this task from Incoming to Done on the Discovery-Search (2025.05.24 - 2025.06.13) board.

The EventBus approach is not supposed to work on beta since we don't have the infrastructure there to run the same system.

Change #1152406 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] [beta] docs: Document why weighed tags cannot be updated via EventBus

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

Thanks for the confirmation @dcausse. Boldly uploaded a docs patch.

Change #1152406 merged by jenkins-bot:

[operations/mediawiki-config@master] [beta] docs: Document why weighed tags cannot be updated via EventBus

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