Page MenuHomePhabricator

Newcomer tasks: Tracking suggested tasks should stop after 7 days
Closed, ResolvedPublic

Description

We track task card clicks on the server side and assign the newcomer task edit tag when the user edits those articles. This tracking is supposed to last 7 days but we are relying on cache invalidation and are caching the list of tracked articles as a single entry, and merge new page IDs into it as needed. So the expiry happens for the whole list (when the user doesn't click any task cards for a week), not per-article (seven days after the user clicked that specific task card).

The result is that we add the change tag to any edit where the user has clicked on the relevant task card some time in the past, no matter how long ago it happened, as long as the user is regularly interacting with task cards in general.

Event Timeline

Users are not very likely to find their way again to an article they have been shown as a suggested task weeks ago, so I imagine this doesn't have a large impact. But we'll need to change our tracking logic anyway for link recommendations (we want to use a different edit tag so the tracking system needs to remember the task type) so we can fix this during the same change.

Change 645231 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Track task type alongside with target page ID, step 2

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

Change 651305 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Track task type alongside with target page ID, step 1

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

Change 651305 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Track task type alongside with target page ID, step 1

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

Change 645231 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Track task type alongside with target page ID, step 2

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

Checked only for possible regression issues - all seem to be ok. Resolving the task and ping @nettrom_WMF to let him know.