-
Notifications
You must be signed in to change notification settings - Fork 99
Archive service alert: fix success email schedule #493
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
base: main
Are you sure you want to change the base?
Conversation
| send=true | ||
| elif [[ "$EVENT_NAME" == "schedule" ]]; then | ||
| hour_utc="$(date -u +%H)" | ||
| if [[ "$hour_utc" == "00" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m still not clear on what caused the email sending failure—could you clarify the root cause?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The email was scheduled at 0 UTC and used the timestamp to match the hour. However, due to busy workflow schedue, it already 1+ UTC when the workflow actually started, so the condition did not match.
The daily success email was not sent due to GitHub's delayed schedule. Replace it with a more reliable matcher, and also avoid peak hours for the schedule.