Page MenuHomePhabricator

Spike - check if participants are receiving email from organizer and event registration confirmation on beta and prod
Closed, ResolvedPublicSpike

Description

Spike to look at the current state of functionality of the following:

Participant can receive email from organizer on betacluster (recheck of T346403)
Participant can receive registration confirmation email on betacluster
Participant can receive email from organizer on prod
Participant can receive registration confirmation email on prod
Participant can receive email from organizer on patchdemo (known issue T392268)
Participant can receive registration confirmation email on patchdemo (known issue T392268)

Event Timeline

Restricted Application changed the subtype of this task from "Task" to "Spike". · View Herald TranscriptJul 31 2025, 5:13 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

❌ Participant can receive email from organizer on betacluster (recheck of T346403)
QA note: No email received, gmail

✅ Participant can receive registration confirmation email on betacluster

Screenshot 2025-07-31 at 4.24.49 PM.png (1×1 px, 250 KB)


✅ Participant can receive email from organizer on prod

Screenshot 2025-07-31 at 4.22.03 PM.png (688×1 px, 198 KB)

✅ Participant can receive registration confirmation email on prod

Screenshot 2025-07-31 at 4.19.10 PM.png (1×1 px, 233 KB)


❌ Participant can receive email from organizer on patchdemo (known issue T392268)
❌ Participant can receive registration confirmation email on patchdemo (known issue T392268)

Unable to test this until I can confirm an email address for a new user

Screenshot 2025-07-31 at 4.06.58 PM.png (962×2 px, 184 KB)

I wonder if we should also reopen T346403 based on this finding?

I wonder if we should also reopen T346403 based on this finding?

That task was due to a specific type error that has since been resolved. My bad for linking it earlier, I got confused. The one task I had in mind wasn't even about emails: it was T387631, about invitation lists.

Can you confirm that you tried it with event 549 about 75 minutes ago? I'm looking for relevant logs but there don't seem to be any. So it might just be easier to attempt the same debugging steps from T387631#10647478 etc

I wonder if we should also reopen T346403 based on this finding?

That task was due to a specific type error that has since been resolved. My bad for linking it earlier, I got confused. The one task I had in mind wasn't even about emails: it was T387631, about invitation lists.

Can you confirm that you tried it with event 549 about 75 minutes ago? I'm looking for relevant logs but there don't seem to be any. So it might just be easier to attempt the same debugging steps from T387631#10647478 etc

Yes, it was event 549 and it was 70 minutes before you wrote this comment

Thanks for confirming. I don't see anything interesting in beta logstash for that time (beyond the existence of the API request), so I went to reproduce this from scratch. I used https://en.wikipedia.beta.wmcloud.org/wiki/Special:EventDetails/1098. I tried sending an email, but despite the send being reported as successful, I did not receive anything. At the same time I had a kafkacat -b localhost:9092 -C -t eqiad.mediawiki.job.sendCampaignEmail -o end running (from T387631#10647478) and nothing happened, so the job wasn't even enqueued. So, I used WikimediaDebug to enable verbose logging and tried again.

For starters, I can confirm that the API request responds with {"sent":1}, meaning it should have enqueued the one email to be sent. Then I checked the verbose logs in beta logstash for the /w/rest.php/campaignevents/v0/event_registration/1098/email request, and found the following:

  • Selecting stream configs for target streams: mediawiki.job.sendCampaignEmail
  • Using event intake service eventgate-main for stream mediawiki.job.sendCampaignEmail.
  • HTTP start: POST http://deployment-eventgate-4.deployment-prep.eqiad1.wikimedia.cloud:8292/v1/events
  • HTTP complete: POST http://deployment-eventgate-4.deployment-prep.eqiad1.wikimedia.cloud:8292/v1/events code=201 size=0 total=0.047295 connect=0.004599

So the event is being posted, but not enqueued?

I also tried with shell.php but to no avail. Let me file a follow-up task.

I tried sending an email, but despite the send being reported as successful, I did not receive anything.

Possibly related to T212327: Beta Cluster mailer not sending emails to @wikimedia.org addresses?

I tried sending an email, but despite the send being reported as successful, I did not receive anything.

Possibly related to T212327: Beta Cluster mailer not sending emails to @wikimedia.org addresses?

I don't think so, because I have my personal (gmail) account in the beta account I used for testing. Also worth noting that I do receive other emails from beta (e.g. Echo notifications).

ifried subscribed.

Closing this task, since investigation is complete and follow-up tickets have been written. Future work can be followed in those tickets.