Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix task schedule alert email address #10

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

taldcroft
Copy link
Member

Description

This fixes a mistake in the email address in the task schedule specification by escaping the @cfa. This follows the example here: sot/fss_check@c674bf3.

Testing

None for this change, but the mailing process is the same code as in fss_check and this has successfully sent an alert email in production.

@taldcroft taldcroft requested a review from jeanconn November 19, 2023 10:17
Copy link
Contributor

@jeanconn jeanconn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also note that with this change somewhat untested, the worst thing that can happen is that it doesn't work -- and it already wasn't working (I've forgotten the failure mode here but I assume it was trying to send an email to aca_alert@head.cfa.harvard.edu and one to head@cfa.harvard.edu or the like).

@taldcroft
Copy link
Member Author

The initial failure mode is sending to aca_alert.harvard.edu@head.cfa.harvard.edu because the @cfa is helpfully replaced by "" by perl. The next failure is me not noticing the sendmail email for a long time...

@taldcroft taldcroft merged commit a041ed1 into master Nov 20, 2023
@taldcroft taldcroft deleted the fix-task-sched-email-address branch November 20, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants