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(alerts): remove subtraction of 1 day in anomaly end date #680

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

Samyak2
Copy link
Contributor

@Samyak2 Samyak2 commented Feb 9, 2022

Fixes #677

This was needed because the last date of data in DB was different from
the anomaly end date, since the data loader using < end_date for
query.

This behaviour was changed in #661 to use <= end_date. Now, the
subtraction is unnecessary and causes alerts to be sent for one day
older anomalies too.

This was needed because the last date of data in DB was different from
the anomaly end date, since the data loader using `< end_date` for
query.

This behaviour was changed in #661 to use `<= end_date`. Now, the
subtraction is unnecessary and causes alerts to be sent for one day
older anomalies too.
@Samyak2 Samyak2 added this to the v0.4.0 milestone Feb 9, 2022
Copy link
Contributor

@kartikay-bagla kartikay-bagla left a comment

Choose a reason for hiding this comment

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

LGTM

@netlify
Copy link

netlify bot commented Feb 9, 2022

✔️ Deploy Preview for frontend-sb ready!

🔨 Explore the source changes: 4d450b5

🔍 Inspect the deploy log: https://app.netlify.com/sites/frontend-sb/deploys/6203662727aacc00083cfb2e

😎 Browse the preview: https://deploy-preview-680--frontend-sb.netlify.app

@Samyak2
Copy link
Contributor Author

Samyak2 commented Feb 9, 2022

Tested this locally - the issues we noticed before does not occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants