Skip to content

Failed Freshness Checks Clarification #25249

Answered by askvinni
dnielleyp asked this question in Q&A
Discussion options

You must be logged in to vote

I came across this a few days ago and had to build a bit of a workaround, though I did briefly consider opening a PR with the "fix". I'm using quotes because I could see an argument being made for this being the desired behavior.

Long story short, the reason the check isn't re-triggered by the sensor is because it is still considered to be "planned" (see this code block). The sensor only triggers for checks once the "planned" state is resolved to either a succeeded or failed state.

Now, the argument why this could be the desired behavior is to stop constantly triggering jobs that keep crashing in case there's a problem on the check itself. In our case, we just adapted the sensor slightly …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by garethbrickman
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: troubleshooting Related to debugging and error messages integration: dbt Related to dagster-dbt area: asset-checks Related to Asset Checks
4 participants