Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Make CRON tasks more resilent #351

Open
alysivji opened this issue May 18, 2021 · 0 comments
Open

Make CRON tasks more resilent #351

alysivji opened this issue May 18, 2021 · 0 comments

Comments

@alysivji
Copy link
Member

As a developer, I want CRON jobs to be resilient.

Background

GitHub Summary CRON task is a CRON job that runs once per day... depending on how the Slack workspace has configured the application.

When this task fails with an error, a message is not posted for that workspace. Fortunately this does not happen unless there is an error from the Slack API.

Acceptance Criteria

  • improve logging
    • what status code did we fail with?
    • add failure message to error log
  • retry task until it succeeds
    • maybe post a message to the channel saying that we are experience problems with the Slack API
    • fortunately the task has been designed to take a datetime and calculate the summary using that reference point
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant