You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current logic for determining whether a backfill has completed is flawed for assets with optional output, because only materialized and failed runs are considered complete:
I've been seeing something similar for a observable source using that is configured with an automation condition and a MultiPartitionKey where the output is of type DataVersionsByPartition. Each observation creates a backfill which never completes, even though the underlying runs have finished. This causes the Runs page to be filled with these backfills, since we want to observe every hour. Could this be related somehow? We're on Dagster 1.9.6, and didn't experience this issue before upgrading.
What's the issue?
The current logic for determining whether a backfill has completed is flawed for assets with optional output, because only materialized and failed runs are considered complete:
dagster/python_modules/dagster/dagster/_core/execution/asset_backfill.py
Lines 177 to 182 in 701562d
This issue has two consequences:
in progress
from the UIbackfill_in_progress()
evaluates to true and blocks downstream automationWhat did you expect to happen?
Change the logic from getting all that is materialized to all that has
RUN_SUCCESS
events for this function:dagster/python_modules/dagster/dagster/_core/execution/asset_backfill.py
Line 1301 in 701562d
How to reproduce?
No response
Dagster version
1.9.6
Deployment type
None
Deployment details
No response
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: