Skip to content

Question about AutomationCondition.eager() conditions #24622

Answered by OwenKephart
ssillaots-boku asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ssillaots-boku ! Good question, and the reason is indeed a bit of an edge case.

For simplicity, imagine you just have a single unpartitioned asset that has never been materialized, and has some error in its definition that will cause it to fail whenever the system attempts to materialize it.

In this case, the eager() condition would become true, and a run would be launched. While that run is going, no further work would be launched (as the asset would still be in progress). However, that run will eventually terminate with an error, at which point, the asset will still be missing, and no longer be in progress. This would cause another run to be kicked off, resulting in an "infinite loo…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ssillaots-boku
Comment options

@ssillaots-boku
Comment options

@OwenKephart
Comment options

Answer selected by OwenKephart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: declarative-automation Related to Declarative Automation, AutomationConditions and Auto Materialization
2 participants