Page MenuHomePhabricator

Migrate Notifications (Echo) periodic jobs
Closed, ResolvedPublic

Description

Migrate Notifications (Echo) periodic mediawiki jobs from mwmaint to mw-cron on kubernetes.

Job nameCriticalityDone?
mediawiki_job_echo_mail_batch.timerM

Doc on the new platform

ServiceOps new will handle migrating the jobs, but would appreciate input from Notifications (Echo) on:

  • jobs that should be watched more
  • jobs that are low criticality and could be migrated first
  • outdated jobs that can be removed
  • any potential gotchas in the way these jobs use MediaWiki

Event Timeline

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

Change #1146874 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] alertmanager: Add notifications-echo task creation route

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

Change #1146875 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] mw::maintenance: migrate echo_mail_batch to k8s

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

Hmm I see that Herald added Growth-Team to subscribers, @Michael should we merge this one into T385782: Migrate GrowthExperiments maintenance jobs to mw-cron ?

Nah, let's keep Echo and GrowthExperiments separated.

As for that job itself, it sends the emails for batched notifications if the user has chosen that in their preferences. I'd say it is high-to-medium criticality as some minor delays should be ok, but I would expect some users to care about that their notifications email arrives at around a certain time every day.

Change #1146874 merged by Clément Goubert:

[operations/puppet@production] alertmanager: Add notifications-echo task creation route

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

Change #1146875 merged by Clément Goubert:

[operations/puppet@production] mw::maintenance: migrate echo_mail_batch to k8s

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

echo-mail-batch-29128320                                   1/1           7m16s      9h

echo-mail-batch ran correctly on k8s last night, logs look good, resolving