-
Hi team, after upgrading to 1.8.10, we've implemented freshness checks and would like to gain some clarification regarding its behaviour in the following scenario:
Shouldn't |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
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 to still have it launch checks with an "execution failed" status. |
Beta Was this translation helpful? Give feedback.
-
We encountered the same issue. |
Beta Was this translation helpful? Give feedback.
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 …