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

Notify superadmins if a Task fails #875

Closed
BradHN1 opened this issue Dec 14, 2023 · 0 comments · Fixed by #920
Closed

Notify superadmins if a Task fails #875

BradHN1 opened this issue Dec 14, 2023 · 0 comments · Fixed by #920
Assignees
Labels
API API enhancement New feature or request

Comments

@BradHN1
Copy link
Contributor

BradHN1 commented Dec 14, 2023

User Story.
As a superadmion
I want to know when a Task fails
So that I can investigate it and get it fixed.

Additional details/context
Issue #874 is caused by a nudge which started failing when the weekly Cadmin Nudge task encountered an exception. As the screenshot shows, the task was marked properly as Failed, but there was no notification of superadmins.

Screenshot 2023-12-14 at 9 41 14 AM

Notification should happen both through a Slack message to super_admin_alerts channel, and an email to the superadmin who created the task (or if that is difficult, can go to all superadmins for the deployed branch).

Value added.
This will save us some embarrassment since we can fix the problem more quickly.

Acceptance criteria.
This can be tested with a task that purposely encounters an exception, which can be run whenever we do a deployment.

@BradHN1 BradHN1 added enhancement New feature or request API API labels Dec 14, 2023
@abdullai-t abdullai-t linked a pull request May 7, 2024 that will close this issue
7 tasks
@BradHN1 BradHN1 closed this as completed Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API enhancement New feature or request
Projects
Status: Done (In prod)
3 participants