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!: Send notifications for failing non-blocking audits from the builtin scheduler #2979

Merged
merged 4 commits into from
Aug 2, 2024

Conversation

crericha
Copy link
Contributor

@crericha crericha commented Aug 1, 2024

Currently, the builtin-scheduler only sends notifications when the SnapshotEvaluator raises an AuditError exception, which only happens for failing, blocking audits.

This PR addresses two things. First, it delays when the AuditError is raised, so that all of the snapshot's audits execute first and second, it sends notifications for all audits that failed, blocking or non-blocking.

@crericha crericha requested a review from a team August 1, 2024 23:00
sqlmesh/core/scheduler.py Outdated Show resolved Hide resolved
@crericha crericha merged commit 28be8ba into main Aug 2, 2024
21 checks passed
@crericha crericha deleted the notify-non-blocking-audits branch August 2, 2024 17:56
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