Count canceled run status as failed in declarative automation #26192
Labels
area: declarative-automation
Related to Declarative Automation, AutomationConditions and Auto Materialization
type: bug
Something isn't working
What's the issue?
I'm migrating to
AutomationCondition
and I noticed thatCanceled
run status doesn't included toAutomationCondition.execution_failed()
. For this reason I have to 'argue' with theAssetDaemon
; whenever I cancel a backfill, the canceled runs are queued again immediately. Failed runs are correctly not rescheduled.I think it would be much more intuitive to include the
Canceled
status toexecution_failed()
(likeQueued
status correctly included torun_in_progress()
If that's not an option, please consider to create
AutomationCondition.execution_canceled()
.For completeness, let me share my condition:
What did you expect to happen?
I expect that
Canceled
runs are considered as a failure. This is a permanent status which is not success, so it makes sense for me.How to reproduce?
Dagster version
dagster, version 1.9.3
Deployment type
Local
Deployment details
No response
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
By submitting this issue, you agree to follow Dagster's Code of Conduct.
The text was updated successfully, but these errors were encountered: