When a user reviews an image recommendation in GrowthExperiments, the search pipeline might need to be updated to not recommend that image anymore. This data flow will be handled via EventGate (see T302925: [SPIKE] Investigate and Decide on Solution for Image Suggestions Feedback); GrowthExperiments needs to send the appropriate event (see T302925: [SPIKE] Investigate and Decide on Solution for Image Suggestions Feedback) when a review is submitted in the Add Image workflow.
Description
Details
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Feature | kostajh | T306034 Write GrowthExperiments image recommendation user feedback to EventGate | ||
| Resolved | kostajh | T327065 Remove CommentFormatter from EventFactory constructor, or otherwise make its usage optional |
Event Timeline
I think this is ready for us to work on, but we should update the task description with some details first.
Change 809014 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/EventBus@master] EventFactory: Add helper for image suggestion feedback
Change 809016 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] AddImage: Send event when image suggestion is accepted/rejected
Change 809150 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[schemas/event/secondary@master] image-suggestions-feedback: Make dt field non-required, adjust docs
Change 809014 abandoned by Kosta Harlan:
[mediawiki/extensions/EventBus@master] EventFactory: Add helper for image suggestion feedback
Reason:
I still haven't completed the patches for this task, which makes me wonder if it is really needed.
@Cparle is it correct that you would make use of these events to exclude articles from the search pipeline?
Change 853239 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] AddImage: Rework suggestion feedback to use Serializer pattern from EventBus
Sorry, could you please clarify which events, and how you are using or intend to use them?
The patch above will generate image-suggestion-feedback events. AFAIK, there is not yet any production code generating those events at the moment.
Change 853239 abandoned by Kosta Harlan:
[mediawiki/extensions/GrowthExperiments@master] AddImage: Rework suggestion feedback to use Serializer pattern from EventBus
Reason:
I've implemented the deferred update for sending in the parent patch, and am abandoning this one.
Change 888019 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/Wikibase@master] GlobalStateFactoryMethodsResourceTest: Allow mocked factory to return mock MultiHttpClient
Change 888019 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] GlobalStateFactoryMethodsResourceTest: Allow mocked factory to return mock MultiHttpClient
Change 809150 merged by jenkins-bot:
[schemas/event/secondary@master] image-suggestions-feedback: Bump to version 2.0.0
Change 888642 had a related patch set uploaded (by Aqu; author: Aqu):
[schemas/event/secondary@master] Fix typo in image suggestion schema
Change 888642 merged by Milimetric:
[schemas/event/secondary@master] Fix typo in image suggestion schema
Change 809016 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] AddImage: Send event when user accepts/rejects/invalidates suggestion