Page MenuHomePhabricator

Invalidate "waitdate" status whenever the impression diet maximum impressions limit is increased
Closed, ResolvedPublic4 Estimated Story Points

Description

We're losing a lot of potential banner impressions by an unintended interaction between the "waitdate" rule and maximum number of impressions. The outcome is that a reader could have seen 3 impressions when that was the maximum, been put into the waitdate status for a number of days, but if we increase the maximum meanwhile, they still will not see additional impressions.

We should:

  • When "waitdate" is triggered, do not clear the total number of impressions seen by this reader.
  • Never trust waitdate alone, always compare the maximum impression limit with the total seen by this individual.

Event Timeline

awight raised the priority of this task from to Unbreak Now!.
awight updated the task description. (Show Details)

Change 258414 had a related patch set uploaded (by Awight):
WIP Increasing impression maximums will affect readers in the "waitdate" state

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

awight moved this task from Backlog to Review on the Fundraising Sprint Zapp board.
awight set Security to None.

Change 258414 merged by jenkins-bot:
Improve impression diet state machine

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

Change 258641 had a related patch set uploaded (by AndyRussG):
Improve impression diet state machine

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

Change 258641 merged by jenkins-bot:
Improve impression diet state machine

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

AFAIK this is resolved now.

Change 319003 had a related patch set uploaded (by Ejegg):
Rename some impressionDiet variables

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

Change 319003 merged by jenkins-bot:
[mediawiki/extensions/CentralNotice@master] Rename some impressionDiet variables

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