Page MenuHomePhabricator

Ensure that Echo does not send notifications to expired temporary accounts
Open, Needs TriagePublic

Description

On a technical side note how does expiration work? Is the account actually marked as "expired" and does Echo prevent generating useless notifications attached to an expired user?

This task should probably be done after T375441: Store expiry date and status of temporary account in database.

Acceptance criteria

  • Echo does not send notifications to expired users
  • Trying to mention an expired temporary account should trigger a "mention failure" notification saying that the notification wasn't sent because the temporary account had expired
  • Purge all notifications for a temporary account (probably also include ones already read) once the temporary account is expired

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

By the way, we should also purge all notifications (probably also include ones already read) once the temporary account is expired.

Urbanecm_WMF subscribed.

This task should probably be done after T375441: Store expiry date and status of temporary account in database

Agreed. Moving to Blocked on our end, please feel free to move back to Inbox once this is actionable.

And also trying to mention an expired temporary account should trigger a "mention failure" notification saying that the notification wasn't sent because the temporary account had expired.

Tchanders subscribed.

Removing this as a major pilots blocker, since the dependent task was declined: T375441.

Should it be a global rollout blocker?

Removing this as a major pilots blocker, since the dependent task was declined: T375441.

Should it be a global rollout blocker?

Yes, that would make sense to me.

This task should probably be done after T375441: Store expiry date and status of temporary account in database

Agreed. Moving to Blocked on our end, please feel free to move back to Inbox once this is actionable.

In T375441: Store expiry date and status of temporary account in database we decided to not store expiry date / status in the DB. So I think this is no longer blocked for Growth. Expiry would be based on temp account creation time plus the number of days defined in config for the longevity of a temporary account.

matej_suchanek changed the task status from Stalled to Open.Jun 28 2026, 7:39 PM

Change #1306760 had a related patch set uploaded (by Matěj Suchánek; author: Matěj Suchánek):

[mediawiki/extensions/Echo@master] Ensure no notifications are sent to expired temporary accounts

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

Change #1306760 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] Ensure no notifications are sent to expired temporary accounts

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

Change #1309868 had a related patch set uploaded (by Matěj Suchánek; author: Matěj Suchánek):

[mediawiki/extensions/Echo@master] Notify user when they mention an expired user

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